diff --git a/client/group_file.go b/client/group_file.go index 3e60b440..fbf54a9b 100644 --- a/client/group_file.go +++ b/client/group_file.go @@ -4,6 +4,8 @@ import ( "crypto/sha1" "encoding/hex" "fmt" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0x6d6" + "github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0x6d7" "github.com/Mrs4s/MiraiGo/internal/protobuf/data/oidb/oidb0x6d8" "go.dedis.ch/protobuf" "io" @@ -184,9 +186,9 @@ func (fs *GroupFileSystem) UploadFile(p, name, folderId string) error { if err != nil { return errors.Wrap(err, "query upload failed") } - rsp := i.(*oidb.UploadFileRspBody) - if rsp.BoolFileExist { - _, pkt := fs.client.buildGroupFileFeedsRequest(fs.GroupCode, rsp.FileId, rsp.BusId, rand.Int31()) + rsp := i.(*oidb0x6d6.UploadFileRspBody) + if rsp.GetFileExist() { + _, pkt := fs.client.buildGroupFileFeedsRequest(fs.GroupCode, rsp.GetFileId(), int32(rsp.GetBusId()), rand.Int31()) return fs.client.sendPacket(pkt) } if len(rsp.UploadIpLanV4) == 0 { @@ -197,7 +199,7 @@ func (fs *GroupFileSystem) UploadFile(p, name, folderId string) error { Unknown2: proto.Int32(1), Entry: &exciting.GroupFileUploadEntry{ BusiBuff: &exciting.ExcitingBusiInfo{ - BusId: &rsp.BusId, + BusId: proto.Int32(int32(rsp.GetBusId())), SenderUin: &fs.client.Uin, ReceiverUin: &fs.GroupCode, GroupCode: &fs.GroupCode, @@ -206,7 +208,7 @@ func (fs *GroupFileSystem) UploadFile(p, name, folderId string) error { FileSize: &size, Md5: md5Hash, Sha1: sha1Hash, - FileId: []byte(rsp.FileId), + FileId: []byte(rsp.GetFileId()), UploadKey: rsp.CheckKey, }, ClientInfo: &exciting.ExcitingClientInfo{ @@ -223,7 +225,7 @@ func (fs *GroupFileSystem) UploadFile(p, name, folderId string) error { Unknown: proto.Int32(1), Host: &rsp.UploadIpLanV4[0], }, - Port: &rsp.UploadPort, + Port: proto.Int32(int32(rsp.GetUploadPort())), }, }}, }, @@ -232,7 +234,7 @@ func (fs *GroupFileSystem) UploadFile(p, name, folderId string) error { if _, err = fs.client.excitingUploadStream(file, 71, fs.client.bigDataSession.SigSession, ext); err != nil { return errors.Wrap(err, "upload failed") } - _, pkt := fs.client.buildGroupFileFeedsRequest(fs.GroupCode, rsp.FileId, rsp.BusId, rand.Int31()) + _, pkt := fs.client.buildGroupFileFeedsRequest(fs.GroupCode, rsp.GetFileId(), int32(rsp.GetBusId()), rand.Int31()) return fs.client.sendPacket(pkt) } @@ -273,19 +275,20 @@ func (fs *GroupFileSystem) DeleteFile(parentFolderID, fileId string, busId int32 func (c *QQClient) buildGroupFileUploadReqPacket(parentFolderID, fileName string, groupCode, fileSize int64, md5, sha1 []byte) (uint16, []byte) { seq := c.nextSeq() - b, _ := proto.Marshal(&oidb.D6D6ReqBody{UploadFileReq: &oidb.UploadFileReqBody{ - GroupCode: groupCode, - AppId: 3, - BusId: 102, - Entrance: 5, - ParentFolderId: parentFolderID, - FileName: fileName, - LocalPath: "/storage/emulated/0/Pictures/files/s/" + fileName, - Int64FileSize: fileSize, + body := &oidb0x6d6.ReqBody{UploadFileReq: &oidb0x6d6.UploadFileReqBody{ + GroupCode: proto.Uint64(uint64(groupCode)), + AppId: proto.Uint32(3), + BusId: proto.Uint32(102), + Entrance: proto.Uint32(5), + ParentFolderId: &parentFolderID, + FileName: &fileName, + LocalPath: proto.String("/storage/emulated/0/Pictures/files/s/" + fileName), + FileSize: proto.Uint64(uint64(fileSize)), Sha: sha1, Md5: md5, - SupportMultiUpload: true, - }}) + SupportMultiUpload: proto.Bool(true), + }} + b, _ := body.Marshal() req := &oidb.OIDBSSOPkg{ Command: 1750, ServiceType: 0, @@ -380,7 +383,7 @@ func (c *QQClient) buildGroupFileSpaceRequestPacket(groupCode int64) (uint16, [] func (c *QQClient) buildGroupFileCreateFolderPacket(groupCode int64, parentFolder, name string) (uint16, []byte) { seq := c.nextSeq() - payload := c.packOIDBPackageProto(1751, 0, &oidb.D6D7ReqBody{CreateFolderReq: &oidb.CreateFolderReqBody{ + payload := c.packOIDBPackageProto2(1751, 0, &oidb0x6d7.ReqBody{CreateFolderReq: &oidb0x6d7.CreateFolderReqBody{ GroupCode: proto.Uint64(uint64(groupCode)), AppId: proto.Uint32(3), ParentFolderId: &parentFolder, @@ -392,7 +395,7 @@ func (c *QQClient) buildGroupFileCreateFolderPacket(groupCode int64, parentFolde func (c *QQClient) buildGroupFileRenameFolderPacket(groupCode int64, folderId, newName string) (uint16, []byte) { seq := c.nextSeq() - payload := c.packOIDBPackageProto(1751, 2, &oidb.D6D7ReqBody{RenameFolderReq: &oidb.RenameFolderReqBody{ + payload := c.packOIDBPackageProto2(1751, 2, &oidb0x6d7.ReqBody{RenameFolderReq: &oidb0x6d7.RenameFolderReqBody{ GroupCode: proto.Uint64(uint64(groupCode)), AppId: proto.Uint32(3), FolderId: proto.String(folderId), @@ -404,7 +407,7 @@ func (c *QQClient) buildGroupFileRenameFolderPacket(groupCode int64, folderId, n func (c *QQClient) buildGroupFileDeleteFolderPacket(groupCode int64, folderId string) (uint16, []byte) { seq := c.nextSeq() - payload := c.packOIDBPackageProto(1751, 1, &oidb.D6D7ReqBody{DeleteFolderReq: &oidb.DeleteFolderReqBody{ + payload := c.packOIDBPackageProto2(1751, 1, &oidb0x6d7.ReqBody{DeleteFolderReq: &oidb0x6d7.DeleteFolderReqBody{ GroupCode: proto.Uint64(uint64(groupCode)), AppId: proto.Uint32(3), FolderId: proto.String(folderId), @@ -416,15 +419,15 @@ func (c *QQClient) buildGroupFileDeleteFolderPacket(groupCode int64, folderId st // OidbSvc.0x6d6_2 func (c *QQClient) buildGroupFileDownloadReqPacket(groupCode int64, fileId string, busId int32) (uint16, []byte) { seq := c.nextSeq() - body := &oidb.D6D6ReqBody{ - DownloadFileReq: &oidb.DownloadFileReqBody{ - GroupCode: groupCode, - AppId: 3, - BusId: busId, - FileId: fileId, + body := &oidb0x6d6.ReqBody{ + DownloadFileReq: &oidb0x6d6.DownloadFileReqBody{ + GroupCode: proto.Uint64(uint64(groupCode)), + AppId: proto.Uint32(3), + BusId: proto.Uint32(uint32(busId)), + FileId: &fileId, }, } - b, _ := proto.Marshal(body) + b, _ := body.Marshal() req := &oidb.OIDBSSOPkg{ Command: 1750, ServiceType: 2, @@ -437,14 +440,14 @@ func (c *QQClient) buildGroupFileDownloadReqPacket(groupCode int64, fileId strin func (c *QQClient) buildGroupFileDeleteReqPacket(groupCode int64, parentFolderId, fileId string, busId int32) (uint16, []byte) { seq := c.nextSeq() - body := &oidb.D6D6ReqBody{DeleteFileReq: &oidb.DeleteFileReqBody{ - GroupCode: groupCode, - AppId: 3, - BusId: busId, - ParentFolderId: parentFolderId, - FileId: fileId, + body := &oidb0x6d6.ReqBody{DeleteFileReq: &oidb0x6d6.DeleteFileReqBody{ + GroupCode: proto.Uint64(uint64(groupCode)), + AppId: proto.Uint32(3), + BusId: proto.Uint32(uint32(busId)), + ParentFolderId: &parentFolderId, + FileId: &fileId, }} - b, _ := proto.Marshal(body) + b, _ := body.Marshal() req := &oidb.OIDBSSOPkg{ Command: 1750, ServiceType: 3, @@ -471,43 +474,43 @@ func decodeOIDB6d81Response(_ *QQClient, _ *incomingPacketInfo, payload []byte) // OidbSvc.0x6d6_2 func decodeOIDB6d62Response(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) { pkg := oidb.OIDBSSOPkg{} - rsp := oidb.D6D6RspBody{} + rsp := oidb0x6d6.RspBody{} if err := proto.Unmarshal(payload, &pkg); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } - if err := proto.Unmarshal(pkg.Bodybuffer, &rsp); err != nil { + if err := protobuf.Decode(pkg.Bodybuffer, &rsp); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } if rsp.DownloadFileRsp.DownloadUrl == nil { - return nil, errors.New(rsp.DownloadFileRsp.ClientWording) + return nil, errors.New(rsp.DownloadFileRsp.GetClientWording()) } - ip := rsp.DownloadFileRsp.DownloadIp + ip := rsp.DownloadFileRsp.GetDownloadIp() url := hex.EncodeToString(rsp.DownloadFileRsp.DownloadUrl) return fmt.Sprintf("http://%s/ftn_handler/%s/", ip, url), nil } func decodeOIDB6d63Response(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) { pkg := oidb.OIDBSSOPkg{} - rsp := oidb.D6D6RspBody{} + rsp := oidb0x6d6.RspBody{} if err := proto.Unmarshal(payload, &pkg); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } - if err := proto.Unmarshal(pkg.Bodybuffer, &rsp); err != nil { + if err := protobuf.Decode(pkg.Bodybuffer, &rsp); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } if rsp.DeleteFileRsp == nil { return "", nil } - return rsp.DeleteFileRsp.ClientWording, nil + return rsp.DeleteFileRsp.GetClientWording(), nil } func decodeOIDB6d60Response(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) { pkg := oidb.OIDBSSOPkg{} - rsp := oidb.D6D6RspBody{} + rsp := oidb0x6d6.RspBody{} if err := proto.Unmarshal(payload, &pkg); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } - if err := proto.Unmarshal(pkg.Bodybuffer, &rsp); err != nil { + if err := protobuf.Decode(pkg.Bodybuffer, &rsp); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } return rsp.UploadFileRsp, nil @@ -515,11 +518,11 @@ func decodeOIDB6d60Response(_ *QQClient, _ *incomingPacketInfo, payload []byte) func decodeOIDB6d7Response(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) { pkg := oidb.OIDBSSOPkg{} - rsp := oidb.D6D7RspBody{} + rsp := oidb0x6d7.RspBody{} if err := proto.Unmarshal(payload, &pkg); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } - if err := proto.Unmarshal(pkg.Bodybuffer, &rsp); err != nil { + if err := protobuf.Decode(pkg.Bodybuffer, &rsp); err != nil { return nil, errors.Wrap(err, "failed to unmarshal protobuf message") } if rsp.CreateFolderRsp != nil && rsp.CreateFolderRsp.GetRetCode() != 0 { diff --git a/client/pb/oidb/oidb0x6d6.pb.go b/client/pb/oidb/oidb0x6d6.pb.go deleted file mode 100644 index e84d841f..00000000 --- a/client/pb/oidb/oidb0x6d6.pb.go +++ /dev/null @@ -1,1780 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.1 -// source: oidb0x6d6.proto - -package oidb - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -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 DeleteFileReqBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupCode int64 `protobuf:"varint,1,opt,name=groupCode,proto3" json:"groupCode,omitempty"` - AppId int32 `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty"` - BusId int32 `protobuf:"varint,3,opt,name=busId,proto3" json:"busId,omitempty"` - ParentFolderId string `protobuf:"bytes,4,opt,name=parentFolderId,proto3" json:"parentFolderId,omitempty"` - FileId string `protobuf:"bytes,5,opt,name=fileId,proto3" json:"fileId,omitempty"` -} - -func (x *DeleteFileReqBody) Reset() { - *x = DeleteFileReqBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d6_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteFileReqBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteFileReqBody) ProtoMessage() {} - -func (x *DeleteFileReqBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d6_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) -} - -// Deprecated: Use DeleteFileReqBody.ProtoReflect.Descriptor instead. -func (*DeleteFileReqBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d6_proto_rawDescGZIP(), []int{0} -} - -func (x *DeleteFileReqBody) GetGroupCode() int64 { - if x != nil { - return x.GroupCode - } - return 0 -} - -func (x *DeleteFileReqBody) GetAppId() int32 { - if x != nil { - return x.AppId - } - return 0 -} - -func (x *DeleteFileReqBody) GetBusId() int32 { - if x != nil { - return x.BusId - } - return 0 -} - -func (x *DeleteFileReqBody) GetParentFolderId() string { - if x != nil { - return x.ParentFolderId - } - return "" -} - -func (x *DeleteFileReqBody) GetFileId() string { - if x != nil { - return x.FileId - } - return "" -} - -type DeleteFileRspBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RetCode int32 `protobuf:"varint,1,opt,name=retCode,proto3" json:"retCode,omitempty"` - RetMsg string `protobuf:"bytes,2,opt,name=retMsg,proto3" json:"retMsg,omitempty"` - ClientWording string `protobuf:"bytes,3,opt,name=clientWording,proto3" json:"clientWording,omitempty"` -} - -func (x *DeleteFileRspBody) Reset() { - *x = DeleteFileRspBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d6_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteFileRspBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteFileRspBody) ProtoMessage() {} - -func (x *DeleteFileRspBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d6_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) -} - -// Deprecated: Use DeleteFileRspBody.ProtoReflect.Descriptor instead. -func (*DeleteFileRspBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d6_proto_rawDescGZIP(), []int{1} -} - -func (x *DeleteFileRspBody) GetRetCode() int32 { - if x != nil { - return x.RetCode - } - return 0 -} - -func (x *DeleteFileRspBody) GetRetMsg() string { - if x != nil { - return x.RetMsg - } - return "" -} - -func (x *DeleteFileRspBody) GetClientWording() string { - if x != nil { - return x.ClientWording - } - return "" -} - -type DownloadFileReqBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupCode int64 `protobuf:"varint,1,opt,name=groupCode,proto3" json:"groupCode,omitempty"` - AppId int32 `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty"` - BusId int32 `protobuf:"varint,3,opt,name=busId,proto3" json:"busId,omitempty"` - FileId string `protobuf:"bytes,4,opt,name=fileId,proto3" json:"fileId,omitempty"` - BoolThumbnailReq bool `protobuf:"varint,5,opt,name=boolThumbnailReq,proto3" json:"boolThumbnailReq,omitempty"` - UrlType int32 `protobuf:"varint,6,opt,name=urlType,proto3" json:"urlType,omitempty"` - BoolPreviewReq bool `protobuf:"varint,7,opt,name=boolPreviewReq,proto3" json:"boolPreviewReq,omitempty"` -} - -func (x *DownloadFileReqBody) Reset() { - *x = DownloadFileReqBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d6_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DownloadFileReqBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DownloadFileReqBody) ProtoMessage() {} - -func (x *DownloadFileReqBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d6_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) -} - -// Deprecated: Use DownloadFileReqBody.ProtoReflect.Descriptor instead. -func (*DownloadFileReqBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d6_proto_rawDescGZIP(), []int{2} -} - -func (x *DownloadFileReqBody) GetGroupCode() int64 { - if x != nil { - return x.GroupCode - } - return 0 -} - -func (x *DownloadFileReqBody) GetAppId() int32 { - if x != nil { - return x.AppId - } - return 0 -} - -func (x *DownloadFileReqBody) GetBusId() int32 { - if x != nil { - return x.BusId - } - return 0 -} - -func (x *DownloadFileReqBody) GetFileId() string { - if x != nil { - return x.FileId - } - return "" -} - -func (x *DownloadFileReqBody) GetBoolThumbnailReq() bool { - if x != nil { - return x.BoolThumbnailReq - } - return false -} - -func (x *DownloadFileReqBody) GetUrlType() int32 { - if x != nil { - return x.UrlType - } - return 0 -} - -func (x *DownloadFileReqBody) GetBoolPreviewReq() bool { - if x != nil { - return x.BoolPreviewReq - } - return false -} - -type DownloadFileRspBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RetCode int32 `protobuf:"varint,1,opt,name=retCode,proto3" json:"retCode,omitempty"` - RetMsg string `protobuf:"bytes,2,opt,name=retMsg,proto3" json:"retMsg,omitempty"` - ClientWording string `protobuf:"bytes,3,opt,name=clientWording,proto3" json:"clientWording,omitempty"` - DownloadIp string `protobuf:"bytes,4,opt,name=downloadIp,proto3" json:"downloadIp,omitempty"` - DownloadDns []byte `protobuf:"bytes,5,opt,name=downloadDns,proto3" json:"downloadDns,omitempty"` - DownloadUrl []byte `protobuf:"bytes,6,opt,name=downloadUrl,proto3" json:"downloadUrl,omitempty"` - Sha []byte `protobuf:"bytes,7,opt,name=sha,proto3" json:"sha,omitempty"` - Sha3 []byte `protobuf:"bytes,8,opt,name=sha3,proto3" json:"sha3,omitempty"` - Md5 []byte `protobuf:"bytes,9,opt,name=md5,proto3" json:"md5,omitempty"` - CookieVal []byte `protobuf:"bytes,10,opt,name=cookieVal,proto3" json:"cookieVal,omitempty"` - SaveFileName string `protobuf:"bytes,11,opt,name=saveFileName,proto3" json:"saveFileName,omitempty"` - PreviewPort int32 `protobuf:"varint,12,opt,name=previewPort,proto3" json:"previewPort,omitempty"` -} - -func (x *DownloadFileRspBody) Reset() { - *x = DownloadFileRspBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d6_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DownloadFileRspBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DownloadFileRspBody) ProtoMessage() {} - -func (x *DownloadFileRspBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d6_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) -} - -// Deprecated: Use DownloadFileRspBody.ProtoReflect.Descriptor instead. -func (*DownloadFileRspBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d6_proto_rawDescGZIP(), []int{3} -} - -func (x *DownloadFileRspBody) GetRetCode() int32 { - if x != nil { - return x.RetCode - } - return 0 -} - -func (x *DownloadFileRspBody) GetRetMsg() string { - if x != nil { - return x.RetMsg - } - return "" -} - -func (x *DownloadFileRspBody) GetClientWording() string { - if x != nil { - return x.ClientWording - } - return "" -} - -func (x *DownloadFileRspBody) GetDownloadIp() string { - if x != nil { - return x.DownloadIp - } - return "" -} - -func (x *DownloadFileRspBody) GetDownloadDns() []byte { - if x != nil { - return x.DownloadDns - } - return nil -} - -func (x *DownloadFileRspBody) GetDownloadUrl() []byte { - if x != nil { - return x.DownloadUrl - } - return nil -} - -func (x *DownloadFileRspBody) GetSha() []byte { - if x != nil { - return x.Sha - } - return nil -} - -func (x *DownloadFileRspBody) GetSha3() []byte { - if x != nil { - return x.Sha3 - } - return nil -} - -func (x *DownloadFileRspBody) GetMd5() []byte { - if x != nil { - return x.Md5 - } - return nil -} - -func (x *DownloadFileRspBody) GetCookieVal() []byte { - if x != nil { - return x.CookieVal - } - return nil -} - -func (x *DownloadFileRspBody) GetSaveFileName() string { - if x != nil { - return x.SaveFileName - } - return "" -} - -func (x *DownloadFileRspBody) GetPreviewPort() int32 { - if x != nil { - return x.PreviewPort - } - return 0 -} - -type MoveFileReqBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupCode int64 `protobuf:"varint,1,opt,name=groupCode,proto3" json:"groupCode,omitempty"` - AppId int32 `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty"` - BusId int32 `protobuf:"varint,3,opt,name=busId,proto3" json:"busId,omitempty"` - FileId string `protobuf:"bytes,4,opt,name=fileId,proto3" json:"fileId,omitempty"` - ParentFolderId string `protobuf:"bytes,5,opt,name=parentFolderId,proto3" json:"parentFolderId,omitempty"` - DestFolderId string `protobuf:"bytes,6,opt,name=destFolderId,proto3" json:"destFolderId,omitempty"` -} - -func (x *MoveFileReqBody) Reset() { - *x = MoveFileReqBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d6_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MoveFileReqBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MoveFileReqBody) ProtoMessage() {} - -func (x *MoveFileReqBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d6_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) -} - -// Deprecated: Use MoveFileReqBody.ProtoReflect.Descriptor instead. -func (*MoveFileReqBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d6_proto_rawDescGZIP(), []int{4} -} - -func (x *MoveFileReqBody) GetGroupCode() int64 { - if x != nil { - return x.GroupCode - } - return 0 -} - -func (x *MoveFileReqBody) GetAppId() int32 { - if x != nil { - return x.AppId - } - return 0 -} - -func (x *MoveFileReqBody) GetBusId() int32 { - if x != nil { - return x.BusId - } - return 0 -} - -func (x *MoveFileReqBody) GetFileId() string { - if x != nil { - return x.FileId - } - return "" -} - -func (x *MoveFileReqBody) GetParentFolderId() string { - if x != nil { - return x.ParentFolderId - } - return "" -} - -func (x *MoveFileReqBody) GetDestFolderId() string { - if x != nil { - return x.DestFolderId - } - return "" -} - -type MoveFileRspBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RetCode int32 `protobuf:"varint,1,opt,name=retCode,proto3" json:"retCode,omitempty"` - RetMsg string `protobuf:"bytes,2,opt,name=retMsg,proto3" json:"retMsg,omitempty"` - ClientWording string `protobuf:"bytes,3,opt,name=clientWording,proto3" json:"clientWording,omitempty"` - ParentFolderId string `protobuf:"bytes,4,opt,name=parentFolderId,proto3" json:"parentFolderId,omitempty"` -} - -func (x *MoveFileRspBody) Reset() { - *x = MoveFileRspBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d6_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MoveFileRspBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MoveFileRspBody) ProtoMessage() {} - -func (x *MoveFileRspBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d6_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) -} - -// Deprecated: Use MoveFileRspBody.ProtoReflect.Descriptor instead. -func (*MoveFileRspBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d6_proto_rawDescGZIP(), []int{5} -} - -func (x *MoveFileRspBody) GetRetCode() int32 { - if x != nil { - return x.RetCode - } - return 0 -} - -func (x *MoveFileRspBody) GetRetMsg() string { - if x != nil { - return x.RetMsg - } - return "" -} - -func (x *MoveFileRspBody) GetClientWording() string { - if x != nil { - return x.ClientWording - } - return "" -} - -func (x *MoveFileRspBody) GetParentFolderId() string { - if x != nil { - return x.ParentFolderId - } - return "" -} - -type RenameFileReqBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupCode int64 `protobuf:"varint,1,opt,name=groupCode,proto3" json:"groupCode,omitempty"` - AppId int32 `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty"` - BusId int32 `protobuf:"varint,3,opt,name=busId,proto3" json:"busId,omitempty"` - FileId string `protobuf:"bytes,4,opt,name=fileId,proto3" json:"fileId,omitempty"` - ParentFolderId string `protobuf:"bytes,5,opt,name=parentFolderId,proto3" json:"parentFolderId,omitempty"` - NewFileName string `protobuf:"bytes,6,opt,name=newFileName,proto3" json:"newFileName,omitempty"` -} - -func (x *RenameFileReqBody) Reset() { - *x = RenameFileReqBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d6_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RenameFileReqBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RenameFileReqBody) ProtoMessage() {} - -func (x *RenameFileReqBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d6_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) -} - -// Deprecated: Use RenameFileReqBody.ProtoReflect.Descriptor instead. -func (*RenameFileReqBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d6_proto_rawDescGZIP(), []int{6} -} - -func (x *RenameFileReqBody) GetGroupCode() int64 { - if x != nil { - return x.GroupCode - } - return 0 -} - -func (x *RenameFileReqBody) GetAppId() int32 { - if x != nil { - return x.AppId - } - return 0 -} - -func (x *RenameFileReqBody) GetBusId() int32 { - if x != nil { - return x.BusId - } - return 0 -} - -func (x *RenameFileReqBody) GetFileId() string { - if x != nil { - return x.FileId - } - return "" -} - -func (x *RenameFileReqBody) GetParentFolderId() string { - if x != nil { - return x.ParentFolderId - } - return "" -} - -func (x *RenameFileReqBody) GetNewFileName() string { - if x != nil { - return x.NewFileName - } - return "" -} - -type RenameFileRspBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RetCode int32 `protobuf:"varint,1,opt,name=retCode,proto3" json:"retCode,omitempty"` - RetMsg string `protobuf:"bytes,2,opt,name=retMsg,proto3" json:"retMsg,omitempty"` - ClientWording string `protobuf:"bytes,3,opt,name=clientWording,proto3" json:"clientWording,omitempty"` -} - -func (x *RenameFileRspBody) Reset() { - *x = RenameFileRspBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d6_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RenameFileRspBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RenameFileRspBody) ProtoMessage() {} - -func (x *RenameFileRspBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d6_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 RenameFileRspBody.ProtoReflect.Descriptor instead. -func (*RenameFileRspBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d6_proto_rawDescGZIP(), []int{7} -} - -func (x *RenameFileRspBody) GetRetCode() int32 { - if x != nil { - return x.RetCode - } - return 0 -} - -func (x *RenameFileRspBody) GetRetMsg() string { - if x != nil { - return x.RetMsg - } - return "" -} - -func (x *RenameFileRspBody) GetClientWording() string { - if x != nil { - return x.ClientWording - } - return "" -} - -type D6D6ReqBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UploadFileReq *UploadFileReqBody `protobuf:"bytes,1,opt,name=uploadFileReq,proto3" json:"uploadFileReq,omitempty"` - ResendFileReq *ResendReqBody `protobuf:"bytes,2,opt,name=resendFileReq,proto3" json:"resendFileReq,omitempty"` - DownloadFileReq *DownloadFileReqBody `protobuf:"bytes,3,opt,name=downloadFileReq,proto3" json:"downloadFileReq,omitempty"` - DeleteFileReq *DeleteFileReqBody `protobuf:"bytes,4,opt,name=deleteFileReq,proto3" json:"deleteFileReq,omitempty"` - RenameFileReq *RenameFileReqBody `protobuf:"bytes,5,opt,name=renameFileReq,proto3" json:"renameFileReq,omitempty"` - MoveFileReq *MoveFileReqBody `protobuf:"bytes,6,opt,name=moveFileReq,proto3" json:"moveFileReq,omitempty"` -} - -func (x *D6D6ReqBody) Reset() { - *x = D6D6ReqBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d6_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *D6D6ReqBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*D6D6ReqBody) ProtoMessage() {} - -func (x *D6D6ReqBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d6_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) -} - -// Deprecated: Use D6D6ReqBody.ProtoReflect.Descriptor instead. -func (*D6D6ReqBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d6_proto_rawDescGZIP(), []int{8} -} - -func (x *D6D6ReqBody) GetUploadFileReq() *UploadFileReqBody { - if x != nil { - return x.UploadFileReq - } - return nil -} - -func (x *D6D6ReqBody) GetResendFileReq() *ResendReqBody { - if x != nil { - return x.ResendFileReq - } - return nil -} - -func (x *D6D6ReqBody) GetDownloadFileReq() *DownloadFileReqBody { - if x != nil { - return x.DownloadFileReq - } - return nil -} - -func (x *D6D6ReqBody) GetDeleteFileReq() *DeleteFileReqBody { - if x != nil { - return x.DeleteFileReq - } - return nil -} - -func (x *D6D6ReqBody) GetRenameFileReq() *RenameFileReqBody { - if x != nil { - return x.RenameFileReq - } - return nil -} - -func (x *D6D6ReqBody) GetMoveFileReq() *MoveFileReqBody { - if x != nil { - return x.MoveFileReq - } - return nil -} - -type ResendReqBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupCode int64 `protobuf:"varint,1,opt,name=groupCode,proto3" json:"groupCode,omitempty"` - AppId int32 `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty"` - BusId int32 `protobuf:"varint,3,opt,name=busId,proto3" json:"busId,omitempty"` - FileId string `protobuf:"bytes,4,opt,name=fileId,proto3" json:"fileId,omitempty"` - Sha []byte `protobuf:"bytes,5,opt,name=sha,proto3" json:"sha,omitempty"` -} - -func (x *ResendReqBody) Reset() { - *x = ResendReqBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d6_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ResendReqBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResendReqBody) ProtoMessage() {} - -func (x *ResendReqBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d6_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) -} - -// Deprecated: Use ResendReqBody.ProtoReflect.Descriptor instead. -func (*ResendReqBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d6_proto_rawDescGZIP(), []int{9} -} - -func (x *ResendReqBody) GetGroupCode() int64 { - if x != nil { - return x.GroupCode - } - return 0 -} - -func (x *ResendReqBody) GetAppId() int32 { - if x != nil { - return x.AppId - } - return 0 -} - -func (x *ResendReqBody) GetBusId() int32 { - if x != nil { - return x.BusId - } - return 0 -} - -func (x *ResendReqBody) GetFileId() string { - if x != nil { - return x.FileId - } - return "" -} - -func (x *ResendReqBody) GetSha() []byte { - if x != nil { - return x.Sha - } - return nil -} - -type ResendRspBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RetCode int32 `protobuf:"varint,1,opt,name=retCode,proto3" json:"retCode,omitempty"` - RetMsg string `protobuf:"bytes,2,opt,name=retMsg,proto3" json:"retMsg,omitempty"` - ClientWording string `protobuf:"bytes,3,opt,name=clientWording,proto3" json:"clientWording,omitempty"` - UploadIp string `protobuf:"bytes,4,opt,name=uploadIp,proto3" json:"uploadIp,omitempty"` - FileKey []byte `protobuf:"bytes,5,opt,name=fileKey,proto3" json:"fileKey,omitempty"` - CheckKey []byte `protobuf:"bytes,6,opt,name=checkKey,proto3" json:"checkKey,omitempty"` -} - -func (x *ResendRspBody) Reset() { - *x = ResendRspBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d6_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ResendRspBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResendRspBody) ProtoMessage() {} - -func (x *ResendRspBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d6_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) -} - -// Deprecated: Use ResendRspBody.ProtoReflect.Descriptor instead. -func (*ResendRspBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d6_proto_rawDescGZIP(), []int{10} -} - -func (x *ResendRspBody) GetRetCode() int32 { - if x != nil { - return x.RetCode - } - return 0 -} - -func (x *ResendRspBody) GetRetMsg() string { - if x != nil { - return x.RetMsg - } - return "" -} - -func (x *ResendRspBody) GetClientWording() string { - if x != nil { - return x.ClientWording - } - return "" -} - -func (x *ResendRspBody) GetUploadIp() string { - if x != nil { - return x.UploadIp - } - return "" -} - -func (x *ResendRspBody) GetFileKey() []byte { - if x != nil { - return x.FileKey - } - return nil -} - -func (x *ResendRspBody) GetCheckKey() []byte { - if x != nil { - return x.CheckKey - } - return nil -} - -type D6D6RspBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UploadFileRsp *UploadFileRspBody `protobuf:"bytes,1,opt,name=uploadFileRsp,proto3" json:"uploadFileRsp,omitempty"` - ResendFileRsp *ResendRspBody `protobuf:"bytes,2,opt,name=resendFileRsp,proto3" json:"resendFileRsp,omitempty"` - DownloadFileRsp *DownloadFileRspBody `protobuf:"bytes,3,opt,name=downloadFileRsp,proto3" json:"downloadFileRsp,omitempty"` - DeleteFileRsp *DeleteFileRspBody `protobuf:"bytes,4,opt,name=deleteFileRsp,proto3" json:"deleteFileRsp,omitempty"` - RenameFileRsp *RenameFileRspBody `protobuf:"bytes,5,opt,name=renameFileRsp,proto3" json:"renameFileRsp,omitempty"` - MoveFileRsp *MoveFileRspBody `protobuf:"bytes,6,opt,name=moveFileRsp,proto3" json:"moveFileRsp,omitempty"` -} - -func (x *D6D6RspBody) Reset() { - *x = D6D6RspBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d6_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *D6D6RspBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*D6D6RspBody) ProtoMessage() {} - -func (x *D6D6RspBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d6_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) -} - -// Deprecated: Use D6D6RspBody.ProtoReflect.Descriptor instead. -func (*D6D6RspBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d6_proto_rawDescGZIP(), []int{11} -} - -func (x *D6D6RspBody) GetUploadFileRsp() *UploadFileRspBody { - if x != nil { - return x.UploadFileRsp - } - return nil -} - -func (x *D6D6RspBody) GetResendFileRsp() *ResendRspBody { - if x != nil { - return x.ResendFileRsp - } - return nil -} - -func (x *D6D6RspBody) GetDownloadFileRsp() *DownloadFileRspBody { - if x != nil { - return x.DownloadFileRsp - } - return nil -} - -func (x *D6D6RspBody) GetDeleteFileRsp() *DeleteFileRspBody { - if x != nil { - return x.DeleteFileRsp - } - return nil -} - -func (x *D6D6RspBody) GetRenameFileRsp() *RenameFileRspBody { - if x != nil { - return x.RenameFileRsp - } - return nil -} - -func (x *D6D6RspBody) GetMoveFileRsp() *MoveFileRspBody { - if x != nil { - return x.MoveFileRsp - } - return nil -} - -type UploadFileReqBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupCode int64 `protobuf:"varint,1,opt,name=groupCode,proto3" json:"groupCode,omitempty"` - AppId int32 `protobuf:"varint,2,opt,name=appId,proto3" json:"appId,omitempty"` - BusId int32 `protobuf:"varint,3,opt,name=busId,proto3" json:"busId,omitempty"` - Entrance int32 `protobuf:"varint,4,opt,name=entrance,proto3" json:"entrance,omitempty"` - ParentFolderId string `protobuf:"bytes,5,opt,name=parentFolderId,proto3" json:"parentFolderId,omitempty"` - FileName string `protobuf:"bytes,6,opt,name=fileName,proto3" json:"fileName,omitempty"` - LocalPath string `protobuf:"bytes,7,opt,name=localPath,proto3" json:"localPath,omitempty"` - Int64FileSize int64 `protobuf:"varint,8,opt,name=int64FileSize,proto3" json:"int64FileSize,omitempty"` - Sha []byte `protobuf:"bytes,9,opt,name=sha,proto3" json:"sha,omitempty"` - Sha3 []byte `protobuf:"bytes,10,opt,name=sha3,proto3" json:"sha3,omitempty"` - Md5 []byte `protobuf:"bytes,11,opt,name=md5,proto3" json:"md5,omitempty"` - SupportMultiUpload bool `protobuf:"varint,15,opt,name=supportMultiUpload,proto3" json:"supportMultiUpload,omitempty"` -} - -func (x *UploadFileReqBody) Reset() { - *x = UploadFileReqBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d6_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UploadFileReqBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UploadFileReqBody) ProtoMessage() {} - -func (x *UploadFileReqBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d6_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) -} - -// Deprecated: Use UploadFileReqBody.ProtoReflect.Descriptor instead. -func (*UploadFileReqBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d6_proto_rawDescGZIP(), []int{12} -} - -func (x *UploadFileReqBody) GetGroupCode() int64 { - if x != nil { - return x.GroupCode - } - return 0 -} - -func (x *UploadFileReqBody) GetAppId() int32 { - if x != nil { - return x.AppId - } - return 0 -} - -func (x *UploadFileReqBody) GetBusId() int32 { - if x != nil { - return x.BusId - } - return 0 -} - -func (x *UploadFileReqBody) GetEntrance() int32 { - if x != nil { - return x.Entrance - } - return 0 -} - -func (x *UploadFileReqBody) GetParentFolderId() string { - if x != nil { - return x.ParentFolderId - } - return "" -} - -func (x *UploadFileReqBody) GetFileName() string { - if x != nil { - return x.FileName - } - return "" -} - -func (x *UploadFileReqBody) GetLocalPath() string { - if x != nil { - return x.LocalPath - } - return "" -} - -func (x *UploadFileReqBody) GetInt64FileSize() int64 { - if x != nil { - return x.Int64FileSize - } - return 0 -} - -func (x *UploadFileReqBody) GetSha() []byte { - if x != nil { - return x.Sha - } - return nil -} - -func (x *UploadFileReqBody) GetSha3() []byte { - if x != nil { - return x.Sha3 - } - return nil -} - -func (x *UploadFileReqBody) GetMd5() []byte { - if x != nil { - return x.Md5 - } - return nil -} - -func (x *UploadFileReqBody) GetSupportMultiUpload() bool { - if x != nil { - return x.SupportMultiUpload - } - return false -} - -type UploadFileRspBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RetCode int32 `protobuf:"varint,1,opt,name=retCode,proto3" json:"retCode,omitempty"` - RetMsg string `protobuf:"bytes,2,opt,name=retMsg,proto3" json:"retMsg,omitempty"` - ClientWording string `protobuf:"bytes,3,opt,name=clientWording,proto3" json:"clientWording,omitempty"` - UploadIp string `protobuf:"bytes,4,opt,name=uploadIp,proto3" json:"uploadIp,omitempty"` - ServerDns string `protobuf:"bytes,5,opt,name=serverDns,proto3" json:"serverDns,omitempty"` - BusId int32 `protobuf:"varint,6,opt,name=busId,proto3" json:"busId,omitempty"` - FileId string `protobuf:"bytes,7,opt,name=fileId,proto3" json:"fileId,omitempty"` - FileKey []byte `protobuf:"bytes,8,opt,name=fileKey,proto3" json:"fileKey,omitempty"` - CheckKey []byte `protobuf:"bytes,9,opt,name=checkKey,proto3" json:"checkKey,omitempty"` - BoolFileExist bool `protobuf:"varint,10,opt,name=boolFileExist,proto3" json:"boolFileExist,omitempty"` - UploadIpLanV4 []string `protobuf:"bytes,12,rep,name=uploadIpLanV4,proto3" json:"uploadIpLanV4,omitempty"` - UploadIpLanV6 []string `protobuf:"bytes,13,rep,name=uploadIpLanV6,proto3" json:"uploadIpLanV6,omitempty"` - UploadPort int32 `protobuf:"varint,14,opt,name=uploadPort,proto3" json:"uploadPort,omitempty"` -} - -func (x *UploadFileRspBody) Reset() { - *x = UploadFileRspBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d6_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *UploadFileRspBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*UploadFileRspBody) ProtoMessage() {} - -func (x *UploadFileRspBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d6_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 UploadFileRspBody.ProtoReflect.Descriptor instead. -func (*UploadFileRspBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d6_proto_rawDescGZIP(), []int{13} -} - -func (x *UploadFileRspBody) GetRetCode() int32 { - if x != nil { - return x.RetCode - } - return 0 -} - -func (x *UploadFileRspBody) GetRetMsg() string { - if x != nil { - return x.RetMsg - } - return "" -} - -func (x *UploadFileRspBody) GetClientWording() string { - if x != nil { - return x.ClientWording - } - return "" -} - -func (x *UploadFileRspBody) GetUploadIp() string { - if x != nil { - return x.UploadIp - } - return "" -} - -func (x *UploadFileRspBody) GetServerDns() string { - if x != nil { - return x.ServerDns - } - return "" -} - -func (x *UploadFileRspBody) GetBusId() int32 { - if x != nil { - return x.BusId - } - return 0 -} - -func (x *UploadFileRspBody) GetFileId() string { - if x != nil { - return x.FileId - } - return "" -} - -func (x *UploadFileRspBody) GetFileKey() []byte { - if x != nil { - return x.FileKey - } - return nil -} - -func (x *UploadFileRspBody) GetCheckKey() []byte { - if x != nil { - return x.CheckKey - } - return nil -} - -func (x *UploadFileRspBody) GetBoolFileExist() bool { - if x != nil { - return x.BoolFileExist - } - return false -} - -func (x *UploadFileRspBody) GetUploadIpLanV4() []string { - if x != nil { - return x.UploadIpLanV4 - } - return nil -} - -func (x *UploadFileRspBody) GetUploadIpLanV6() []string { - if x != nil { - return x.UploadIpLanV6 - } - return nil -} - -func (x *UploadFileRspBody) GetUploadPort() int32 { - if x != nil { - return x.UploadPort - } - return 0 -} - -var File_oidb0x6d6_proto protoreflect.FileDescriptor - -var file_oidb0x6d6_proto_rawDesc = []byte{ - 0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x36, 0x64, 0x36, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x9d, 0x01, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, - 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, - 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x62, - 0x75, 0x73, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x75, 0x73, 0x49, - 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, - 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, - 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, - 0x65, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, - 0x64, 0x22, 0x6b, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, - 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, - 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x72, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x22, 0xe5, - 0x01, 0x0a, 0x13, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, - 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, - 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, - 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x75, - 0x73, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x75, 0x73, 0x49, 0x64, - 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x62, 0x6f, 0x6f, 0x6c, - 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, 0x6c, 0x52, 0x65, 0x71, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x10, 0x62, 0x6f, 0x6f, 0x6c, 0x54, 0x68, 0x75, 0x6d, 0x62, 0x6e, 0x61, 0x69, - 0x6c, 0x52, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x75, 0x72, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x75, 0x72, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x26, - 0x0a, 0x0e, 0x62, 0x6f, 0x6f, 0x6c, 0x50, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x62, 0x6f, 0x6f, 0x6c, 0x50, 0x72, 0x65, 0x76, - 0x69, 0x65, 0x77, 0x52, 0x65, 0x71, 0x22, 0xed, 0x02, 0x0a, 0x13, 0x44, 0x6f, 0x77, 0x6e, 0x6c, - 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x18, - 0x0a, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x74, 0x4d, - 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x74, 0x4d, 0x73, 0x67, - 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x64, 0x69, 0x6e, - 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, - 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, - 0x61, 0x64, 0x49, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x6f, 0x77, 0x6e, - 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x70, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, - 0x61, 0x64, 0x44, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x64, 0x6f, 0x77, - 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x44, 0x6e, 0x73, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x6f, 0x77, 0x6e, - 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x64, - 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x55, 0x72, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x68, - 0x61, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x73, 0x68, 0x61, 0x12, 0x12, 0x0a, 0x04, - 0x73, 0x68, 0x61, 0x33, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x73, 0x68, 0x61, 0x33, - 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x64, 0x35, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6d, - 0x64, 0x35, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x56, 0x61, 0x6c, 0x18, - 0x0a, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x56, 0x61, 0x6c, - 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x61, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, - 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x73, 0x61, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x72, 0x65, 0x76, 0x69, 0x65, 0x77, 0x50, - 0x6f, 0x72, 0x74, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0b, 0x70, 0x72, 0x65, 0x76, 0x69, - 0x65, 0x77, 0x50, 0x6f, 0x72, 0x74, 0x22, 0xbf, 0x01, 0x0a, 0x0f, 0x4d, 0x6f, 0x76, 0x65, 0x46, - 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, - 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x14, - 0x0a, 0x05, 0x62, 0x75, 0x73, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, - 0x75, 0x73, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, - 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x6c, 0x64, - 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74, 0x46, 0x6f, 0x6c, 0x64, - 0x65, 0x72, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x73, 0x74, - 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x91, 0x01, 0x0a, 0x0f, 0x4d, 0x6f, 0x76, - 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x18, 0x0a, 0x07, - 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, - 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x74, 0x4d, 0x73, 0x67, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x24, - 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, - 0x64, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x6f, - 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0xbf, 0x01, 0x0a, - 0x11, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x42, 0x6f, - 0x64, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x75, 0x73, 0x49, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x75, 0x73, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, - 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, - 0x6c, 0x65, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x6f, - 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, - 0x72, 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, - 0x6e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x6e, 0x65, 0x77, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x6b, - 0x0a, 0x11, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x42, - 0x6f, 0x64, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x72, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, - 0x65, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, - 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, - 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x22, 0xe5, 0x02, 0x0a, 0x0b, - 0x44, 0x36, 0x44, 0x36, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x38, 0x0a, 0x0d, 0x75, - 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, - 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0d, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, - 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x34, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x46, - 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x52, - 0x65, 0x73, 0x65, 0x6e, 0x64, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0d, 0x72, 0x65, - 0x73, 0x65, 0x6e, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x3e, 0x0a, 0x0f, 0x64, - 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, - 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0f, 0x64, 0x6f, 0x77, 0x6e, - 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x38, 0x0a, 0x0d, 0x64, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, - 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, - 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x38, 0x0a, 0x0d, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, - 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x52, - 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, - 0x52, 0x0d, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, - 0x32, 0x0a, 0x0b, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, - 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0b, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, - 0x52, 0x65, 0x71, 0x22, 0x83, 0x01, 0x0a, 0x0d, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x52, 0x65, - 0x71, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, - 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, - 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x75, 0x73, - 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x75, 0x73, 0x49, 0x64, 0x12, - 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x68, 0x61, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x73, 0x68, 0x61, 0x22, 0xb9, 0x01, 0x0a, 0x0d, 0x52, 0x65, - 0x73, 0x65, 0x6e, 0x64, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x72, - 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, - 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x24, 0x0a, - 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x64, - 0x69, 0x6e, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x70, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x70, 0x12, - 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, - 0x63, 0x6b, 0x4b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x68, 0x65, - 0x63, 0x6b, 0x4b, 0x65, 0x79, 0x22, 0xe5, 0x02, 0x0a, 0x0b, 0x44, 0x36, 0x44, 0x36, 0x52, 0x73, - 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x38, 0x0a, 0x0d, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, - 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x55, - 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, - 0x52, 0x0d, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x12, - 0x34, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x52, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x52, - 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x64, 0x46, 0x69, - 0x6c, 0x65, 0x52, 0x73, 0x70, 0x12, 0x3e, 0x0a, 0x0f, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, - 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, - 0x2e, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, - 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0f, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, - 0x6c, 0x65, 0x52, 0x73, 0x70, 0x12, 0x38, 0x0a, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, - 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, - 0x52, 0x0d, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x12, - 0x38, 0x0a, 0x0d, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, - 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0d, 0x72, 0x65, 0x6e, 0x61, - 0x6d, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x12, 0x32, 0x0a, 0x0b, 0x6d, 0x6f, 0x76, - 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, - 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, - 0x52, 0x0b, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x22, 0xe9, 0x02, - 0x0a, 0x11, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x42, - 0x6f, 0x64, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x75, 0x73, 0x49, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x62, 0x75, 0x73, 0x49, 0x64, 0x12, 0x1a, 0x0a, - 0x08, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x08, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x61, 0x72, - 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, - 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, - 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x0d, 0x69, - 0x6e, 0x74, 0x36, 0x34, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x03, 0x52, 0x0d, 0x69, 0x6e, 0x74, 0x36, 0x34, 0x46, 0x69, 0x6c, 0x65, 0x53, 0x69, 0x7a, - 0x65, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x68, 0x61, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, - 0x73, 0x68, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x68, 0x61, 0x33, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x04, 0x73, 0x68, 0x61, 0x33, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x64, 0x35, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x03, 0x6d, 0x64, 0x35, 0x12, 0x2e, 0x0a, 0x12, 0x73, 0x75, 0x70, - 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x75, 0x6c, 0x74, 0x69, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x18, - 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x75, - 0x6c, 0x74, 0x69, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x9b, 0x03, 0x0a, 0x11, 0x55, 0x70, - 0x6c, 0x6f, 0x61, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, - 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x74, - 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x74, 0x4d, 0x73, - 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x64, 0x69, - 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, - 0x57, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x70, 0x6c, 0x6f, 0x61, - 0x64, 0x49, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x70, 0x6c, 0x6f, 0x61, - 0x64, 0x49, 0x70, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x6e, 0x73, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x44, 0x6e, - 0x73, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x75, 0x73, 0x49, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x05, 0x62, 0x75, 0x73, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, - 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x65, 0x49, 0x64, 0x12, - 0x18, 0x0a, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x07, 0x66, 0x69, 0x6c, 0x65, 0x4b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, - 0x63, 0x6b, 0x4b, 0x65, 0x79, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x63, 0x68, 0x65, - 0x63, 0x6b, 0x4b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x62, 0x6f, 0x6f, 0x6c, 0x46, 0x69, 0x6c, - 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x62, 0x6f, - 0x6f, 0x6c, 0x46, 0x69, 0x6c, 0x65, 0x45, 0x78, 0x69, 0x73, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x75, - 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x70, 0x4c, 0x61, 0x6e, 0x56, 0x34, 0x18, 0x0c, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x0d, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x70, 0x4c, 0x61, 0x6e, 0x56, - 0x34, 0x12, 0x24, 0x0a, 0x0d, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x70, 0x4c, 0x61, 0x6e, - 0x56, 0x36, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x49, 0x70, 0x4c, 0x61, 0x6e, 0x56, 0x36, 0x12, 0x1e, 0x0a, 0x0a, 0x75, 0x70, 0x6c, 0x6f, 0x61, - 0x64, 0x50, 0x6f, 0x72, 0x74, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x75, 0x70, 0x6c, - 0x6f, 0x61, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x2f, 0x3b, 0x6f, 0x69, - 0x64, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_oidb0x6d6_proto_rawDescOnce sync.Once - file_oidb0x6d6_proto_rawDescData = file_oidb0x6d6_proto_rawDesc -) - -func file_oidb0x6d6_proto_rawDescGZIP() []byte { - file_oidb0x6d6_proto_rawDescOnce.Do(func() { - file_oidb0x6d6_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0x6d6_proto_rawDescData) - }) - return file_oidb0x6d6_proto_rawDescData -} - -var file_oidb0x6d6_proto_msgTypes = make([]protoimpl.MessageInfo, 14) -var file_oidb0x6d6_proto_goTypes = []interface{}{ - (*DeleteFileReqBody)(nil), // 0: DeleteFileReqBody - (*DeleteFileRspBody)(nil), // 1: DeleteFileRspBody - (*DownloadFileReqBody)(nil), // 2: DownloadFileReqBody - (*DownloadFileRspBody)(nil), // 3: DownloadFileRspBody - (*MoveFileReqBody)(nil), // 4: MoveFileReqBody - (*MoveFileRspBody)(nil), // 5: MoveFileRspBody - (*RenameFileReqBody)(nil), // 6: RenameFileReqBody - (*RenameFileRspBody)(nil), // 7: RenameFileRspBody - (*D6D6ReqBody)(nil), // 8: D6D6ReqBody - (*ResendReqBody)(nil), // 9: ResendReqBody - (*ResendRspBody)(nil), // 10: ResendRspBody - (*D6D6RspBody)(nil), // 11: D6D6RspBody - (*UploadFileReqBody)(nil), // 12: UploadFileReqBody - (*UploadFileRspBody)(nil), // 13: UploadFileRspBody -} -var file_oidb0x6d6_proto_depIdxs = []int32{ - 12, // 0: D6D6ReqBody.uploadFileReq:type_name -> UploadFileReqBody - 9, // 1: D6D6ReqBody.resendFileReq:type_name -> ResendReqBody - 2, // 2: D6D6ReqBody.downloadFileReq:type_name -> DownloadFileReqBody - 0, // 3: D6D6ReqBody.deleteFileReq:type_name -> DeleteFileReqBody - 6, // 4: D6D6ReqBody.renameFileReq:type_name -> RenameFileReqBody - 4, // 5: D6D6ReqBody.moveFileReq:type_name -> MoveFileReqBody - 13, // 6: D6D6RspBody.uploadFileRsp:type_name -> UploadFileRspBody - 10, // 7: D6D6RspBody.resendFileRsp:type_name -> ResendRspBody - 3, // 8: D6D6RspBody.downloadFileRsp:type_name -> DownloadFileRspBody - 1, // 9: D6D6RspBody.deleteFileRsp:type_name -> DeleteFileRspBody - 7, // 10: D6D6RspBody.renameFileRsp:type_name -> RenameFileRspBody - 5, // 11: D6D6RspBody.moveFileRsp:type_name -> MoveFileRspBody - 12, // [12:12] is the sub-list for method output_type - 12, // [12:12] is the sub-list for method input_type - 12, // [12:12] is the sub-list for extension type_name - 12, // [12:12] is the sub-list for extension extendee - 0, // [0:12] is the sub-list for field type_name -} - -func init() { file_oidb0x6d6_proto_init() } -func file_oidb0x6d6_proto_init() { - if File_oidb0x6d6_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_oidb0x6d6_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteFileReqBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d6_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteFileRspBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d6_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DownloadFileReqBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d6_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DownloadFileRspBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d6_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveFileReqBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d6_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveFileRspBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d6_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameFileReqBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d6_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameFileRspBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d6_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*D6D6ReqBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d6_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResendReqBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d6_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResendRspBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d6_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*D6D6RspBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d6_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadFileReqBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d6_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadFileRspBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_oidb0x6d6_proto_rawDesc, - NumEnums: 0, - NumMessages: 14, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_oidb0x6d6_proto_goTypes, - DependencyIndexes: file_oidb0x6d6_proto_depIdxs, - MessageInfos: file_oidb0x6d6_proto_msgTypes, - }.Build() - File_oidb0x6d6_proto = out.File - file_oidb0x6d6_proto_rawDesc = nil - file_oidb0x6d6_proto_goTypes = nil - file_oidb0x6d6_proto_depIdxs = nil -} diff --git a/client/pb/oidb/oidb0x6d6.proto b/client/pb/oidb/oidb0x6d6.proto deleted file mode 100644 index 518f50f3..00000000 --- a/client/pb/oidb/oidb0x6d6.proto +++ /dev/null @@ -1,126 +0,0 @@ -syntax = "proto3"; - -option go_package = "./;oidb"; - -message DeleteFileReqBody { - int64 groupCode = 1; - int32 appId = 2; - int32 busId = 3; - string parentFolderId = 4; - string fileId = 5; -} -message DeleteFileRspBody { - int32 retCode = 1; - string retMsg = 2; - string clientWording = 3; -} -message DownloadFileReqBody { - int64 groupCode = 1; - int32 appId = 2; - int32 busId = 3; - string fileId = 4; - bool boolThumbnailReq = 5; - int32 urlType = 6; - bool boolPreviewReq = 7; -} -message DownloadFileRspBody { - int32 retCode = 1; - string retMsg = 2; - string clientWording = 3; - string downloadIp = 4; - bytes downloadDns = 5; - bytes downloadUrl = 6; - bytes sha = 7; - bytes sha3 = 8; - bytes md5 = 9; - bytes cookieVal = 10; - string saveFileName = 11; - int32 previewPort = 12; -} -message MoveFileReqBody { - int64 groupCode = 1; - int32 appId = 2; - int32 busId = 3; - string fileId = 4; - string parentFolderId = 5; - string destFolderId = 6; -} -message MoveFileRspBody { - int32 retCode = 1; - string retMsg = 2; - string clientWording = 3; - string parentFolderId = 4; -} -message RenameFileReqBody { - int64 groupCode = 1; - int32 appId = 2; - int32 busId = 3; - string fileId = 4; - string parentFolderId = 5; - string newFileName = 6; -} -message RenameFileRspBody { - int32 retCode = 1; - string retMsg = 2; - string clientWording = 3; -} -message D6D6ReqBody { - UploadFileReqBody uploadFileReq = 1; - ResendReqBody resendFileReq = 2; - DownloadFileReqBody downloadFileReq = 3; - DeleteFileReqBody deleteFileReq = 4; - RenameFileReqBody renameFileReq = 5; - MoveFileReqBody moveFileReq = 6; -} -message ResendReqBody { - int64 groupCode = 1; - int32 appId = 2; - int32 busId = 3; - string fileId = 4; - bytes sha = 5; -} -message ResendRspBody { - int32 retCode = 1; - string retMsg = 2; - string clientWording = 3; - string uploadIp = 4; - bytes fileKey = 5; - bytes checkKey = 6; -} -message D6D6RspBody { - UploadFileRspBody uploadFileRsp = 1; - ResendRspBody resendFileRsp = 2; - DownloadFileRspBody downloadFileRsp = 3; - DeleteFileRspBody deleteFileRsp = 4; - RenameFileRspBody renameFileRsp = 5; - MoveFileRspBody moveFileRsp = 6; -} -message UploadFileReqBody { - int64 groupCode = 1; - int32 appId = 2; - int32 busId = 3; - int32 entrance = 4; - string parentFolderId = 5; - string fileName = 6; - string localPath = 7; - int64 int64FileSize = 8; - bytes sha = 9; - bytes sha3 = 10; - bytes md5 = 11; - bool supportMultiUpload = 15; -} -message UploadFileRspBody { - int32 retCode = 1; - string retMsg = 2; - string clientWording = 3; - string uploadIp = 4; - string serverDns = 5; - int32 busId = 6; - string fileId = 7; - bytes fileKey = 8; - bytes checkKey = 9; - bool boolFileExist = 10; - repeated string uploadIpLanV4 = 12; - repeated string uploadIpLanV6 = 13; - int32 uploadPort = 14; -} diff --git a/client/pb/oidb/oidb0x6d7.pb.go b/client/pb/oidb/oidb0x6d7.pb.go deleted file mode 100644 index 36df164b..00000000 --- a/client/pb/oidb/oidb0x6d7.pb.go +++ /dev/null @@ -1,992 +0,0 @@ -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.26.0 -// protoc v3.17.1 -// source: oidb0x6d7.proto - -package oidb - -import ( - reflect "reflect" - sync "sync" - - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" -) - -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 CreateFolderReqBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupCode *uint64 `protobuf:"varint,1,opt,name=groupCode" json:"groupCode,omitempty"` - AppId *uint32 `protobuf:"varint,2,opt,name=appId" json:"appId,omitempty"` - ParentFolderId *string `protobuf:"bytes,3,opt,name=parentFolderId" json:"parentFolderId,omitempty"` - FolderName *string `protobuf:"bytes,4,opt,name=folderName" json:"folderName,omitempty"` -} - -func (x *CreateFolderReqBody) Reset() { - *x = CreateFolderReqBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d7_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateFolderReqBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateFolderReqBody) ProtoMessage() {} - -func (x *CreateFolderReqBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d7_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) -} - -// Deprecated: Use CreateFolderReqBody.ProtoReflect.Descriptor instead. -func (*CreateFolderReqBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d7_proto_rawDescGZIP(), []int{0} -} - -func (x *CreateFolderReqBody) GetGroupCode() uint64 { - if x != nil && x.GroupCode != nil { - return *x.GroupCode - } - return 0 -} - -func (x *CreateFolderReqBody) GetAppId() uint32 { - if x != nil && x.AppId != nil { - return *x.AppId - } - return 0 -} - -func (x *CreateFolderReqBody) GetParentFolderId() string { - if x != nil && x.ParentFolderId != nil { - return *x.ParentFolderId - } - return "" -} - -func (x *CreateFolderReqBody) GetFolderName() string { - if x != nil && x.FolderName != nil { - return *x.FolderName - } - return "" -} - -type CreateFolderRspBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RetCode *int32 `protobuf:"varint,1,opt,name=retCode" json:"retCode,omitempty"` - RetMsg *string `protobuf:"bytes,2,opt,name=retMsg" json:"retMsg,omitempty"` - ClientWording *string `protobuf:"bytes,3,opt,name=clientWording" json:"clientWording,omitempty"` // optional group_file_common.FolderInfo folderInfo = 4; -} - -func (x *CreateFolderRspBody) Reset() { - *x = CreateFolderRspBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d7_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CreateFolderRspBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CreateFolderRspBody) ProtoMessage() {} - -func (x *CreateFolderRspBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d7_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) -} - -// Deprecated: Use CreateFolderRspBody.ProtoReflect.Descriptor instead. -func (*CreateFolderRspBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d7_proto_rawDescGZIP(), []int{1} -} - -func (x *CreateFolderRspBody) GetRetCode() int32 { - if x != nil && x.RetCode != nil { - return *x.RetCode - } - return 0 -} - -func (x *CreateFolderRspBody) GetRetMsg() string { - if x != nil && x.RetMsg != nil { - return *x.RetMsg - } - return "" -} - -func (x *CreateFolderRspBody) GetClientWording() string { - if x != nil && x.ClientWording != nil { - return *x.ClientWording - } - return "" -} - -type DeleteFolderReqBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupCode *uint64 `protobuf:"varint,1,opt,name=groupCode" json:"groupCode,omitempty"` - AppId *uint32 `protobuf:"varint,2,opt,name=appId" json:"appId,omitempty"` - FolderId *string `protobuf:"bytes,3,opt,name=folderId" json:"folderId,omitempty"` -} - -func (x *DeleteFolderReqBody) Reset() { - *x = DeleteFolderReqBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d7_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteFolderReqBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteFolderReqBody) ProtoMessage() {} - -func (x *DeleteFolderReqBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d7_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) -} - -// Deprecated: Use DeleteFolderReqBody.ProtoReflect.Descriptor instead. -func (*DeleteFolderReqBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d7_proto_rawDescGZIP(), []int{2} -} - -func (x *DeleteFolderReqBody) GetGroupCode() uint64 { - if x != nil && x.GroupCode != nil { - return *x.GroupCode - } - return 0 -} - -func (x *DeleteFolderReqBody) GetAppId() uint32 { - if x != nil && x.AppId != nil { - return *x.AppId - } - return 0 -} - -func (x *DeleteFolderReqBody) GetFolderId() string { - if x != nil && x.FolderId != nil { - return *x.FolderId - } - return "" -} - -type DeleteFolderRspBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RetCode *int32 `protobuf:"varint,1,opt,name=retCode" json:"retCode,omitempty"` - RetMsg *string `protobuf:"bytes,2,opt,name=retMsg" json:"retMsg,omitempty"` - ClientWording *string `protobuf:"bytes,3,opt,name=clientWording" json:"clientWording,omitempty"` -} - -func (x *DeleteFolderRspBody) Reset() { - *x = DeleteFolderRspBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d7_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *DeleteFolderRspBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*DeleteFolderRspBody) ProtoMessage() {} - -func (x *DeleteFolderRspBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d7_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) -} - -// Deprecated: Use DeleteFolderRspBody.ProtoReflect.Descriptor instead. -func (*DeleteFolderRspBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d7_proto_rawDescGZIP(), []int{3} -} - -func (x *DeleteFolderRspBody) GetRetCode() int32 { - if x != nil && x.RetCode != nil { - return *x.RetCode - } - return 0 -} - -func (x *DeleteFolderRspBody) GetRetMsg() string { - if x != nil && x.RetMsg != nil { - return *x.RetMsg - } - return "" -} - -func (x *DeleteFolderRspBody) GetClientWording() string { - if x != nil && x.ClientWording != nil { - return *x.ClientWording - } - return "" -} - -type MoveFolderReqBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupCode *uint64 `protobuf:"varint,1,opt,name=groupCode" json:"groupCode,omitempty"` - AppId *uint32 `protobuf:"varint,2,opt,name=appId" json:"appId,omitempty"` - FolderId *string `protobuf:"bytes,3,opt,name=folderId" json:"folderId,omitempty"` - ParentFolderId *string `protobuf:"bytes,4,opt,name=parentFolderId" json:"parentFolderId,omitempty"` - DestFolderId *string `protobuf:"bytes,5,opt,name=destFolderId" json:"destFolderId,omitempty"` -} - -func (x *MoveFolderReqBody) Reset() { - *x = MoveFolderReqBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d7_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MoveFolderReqBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MoveFolderReqBody) ProtoMessage() {} - -func (x *MoveFolderReqBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d7_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) -} - -// Deprecated: Use MoveFolderReqBody.ProtoReflect.Descriptor instead. -func (*MoveFolderReqBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d7_proto_rawDescGZIP(), []int{4} -} - -func (x *MoveFolderReqBody) GetGroupCode() uint64 { - if x != nil && x.GroupCode != nil { - return *x.GroupCode - } - return 0 -} - -func (x *MoveFolderReqBody) GetAppId() uint32 { - if x != nil && x.AppId != nil { - return *x.AppId - } - return 0 -} - -func (x *MoveFolderReqBody) GetFolderId() string { - if x != nil && x.FolderId != nil { - return *x.FolderId - } - return "" -} - -func (x *MoveFolderReqBody) GetParentFolderId() string { - if x != nil && x.ParentFolderId != nil { - return *x.ParentFolderId - } - return "" -} - -func (x *MoveFolderReqBody) GetDestFolderId() string { - if x != nil && x.DestFolderId != nil { - return *x.DestFolderId - } - return "" -} - -type MoveFolderRspBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RetCode *int32 `protobuf:"varint,1,opt,name=retCode" json:"retCode,omitempty"` - RetMsg *string `protobuf:"bytes,2,opt,name=retMsg" json:"retMsg,omitempty"` - ClientWording *string `protobuf:"bytes,3,opt,name=clientWording" json:"clientWording,omitempty"` // optional group_file_common.FolderInfo folderInfo = 4; -} - -func (x *MoveFolderRspBody) Reset() { - *x = MoveFolderRspBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d7_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *MoveFolderRspBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*MoveFolderRspBody) ProtoMessage() {} - -func (x *MoveFolderRspBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d7_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) -} - -// Deprecated: Use MoveFolderRspBody.ProtoReflect.Descriptor instead. -func (*MoveFolderRspBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d7_proto_rawDescGZIP(), []int{5} -} - -func (x *MoveFolderRspBody) GetRetCode() int32 { - if x != nil && x.RetCode != nil { - return *x.RetCode - } - return 0 -} - -func (x *MoveFolderRspBody) GetRetMsg() string { - if x != nil && x.RetMsg != nil { - return *x.RetMsg - } - return "" -} - -func (x *MoveFolderRspBody) GetClientWording() string { - if x != nil && x.ClientWording != nil { - return *x.ClientWording - } - return "" -} - -type RenameFolderReqBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - GroupCode *uint64 `protobuf:"varint,1,opt,name=groupCode" json:"groupCode,omitempty"` - AppId *uint32 `protobuf:"varint,2,opt,name=appId" json:"appId,omitempty"` - FolderId *string `protobuf:"bytes,3,opt,name=folderId" json:"folderId,omitempty"` - NewFolderName *string `protobuf:"bytes,4,opt,name=newFolderName" json:"newFolderName,omitempty"` -} - -func (x *RenameFolderReqBody) Reset() { - *x = RenameFolderReqBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d7_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RenameFolderReqBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RenameFolderReqBody) ProtoMessage() {} - -func (x *RenameFolderReqBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d7_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) -} - -// Deprecated: Use RenameFolderReqBody.ProtoReflect.Descriptor instead. -func (*RenameFolderReqBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d7_proto_rawDescGZIP(), []int{6} -} - -func (x *RenameFolderReqBody) GetGroupCode() uint64 { - if x != nil && x.GroupCode != nil { - return *x.GroupCode - } - return 0 -} - -func (x *RenameFolderReqBody) GetAppId() uint32 { - if x != nil && x.AppId != nil { - return *x.AppId - } - return 0 -} - -func (x *RenameFolderReqBody) GetFolderId() string { - if x != nil && x.FolderId != nil { - return *x.FolderId - } - return "" -} - -func (x *RenameFolderReqBody) GetNewFolderName() string { - if x != nil && x.NewFolderName != nil { - return *x.NewFolderName - } - return "" -} - -type RenameFolderRspBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - RetCode *int32 `protobuf:"varint,1,opt,name=retCode" json:"retCode,omitempty"` - RetMsg *string `protobuf:"bytes,2,opt,name=retMsg" json:"retMsg,omitempty"` - ClientWording *string `protobuf:"bytes,3,opt,name=clientWording" json:"clientWording,omitempty"` // optional group_file_common.FolderInfo folderInfo = 4; -} - -func (x *RenameFolderRspBody) Reset() { - *x = RenameFolderRspBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d7_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RenameFolderRspBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RenameFolderRspBody) ProtoMessage() {} - -func (x *RenameFolderRspBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d7_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 RenameFolderRspBody.ProtoReflect.Descriptor instead. -func (*RenameFolderRspBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d7_proto_rawDescGZIP(), []int{7} -} - -func (x *RenameFolderRspBody) GetRetCode() int32 { - if x != nil && x.RetCode != nil { - return *x.RetCode - } - return 0 -} - -func (x *RenameFolderRspBody) GetRetMsg() string { - if x != nil && x.RetMsg != nil { - return *x.RetMsg - } - return "" -} - -func (x *RenameFolderRspBody) GetClientWording() string { - if x != nil && x.ClientWording != nil { - return *x.ClientWording - } - return "" -} - -type D6D7ReqBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CreateFolderReq *CreateFolderReqBody `protobuf:"bytes,1,opt,name=createFolderReq" json:"createFolderReq,omitempty"` - DeleteFolderReq *DeleteFolderReqBody `protobuf:"bytes,2,opt,name=deleteFolderReq" json:"deleteFolderReq,omitempty"` - RenameFolderReq *RenameFolderReqBody `protobuf:"bytes,3,opt,name=renameFolderReq" json:"renameFolderReq,omitempty"` - MoveFolderReq *MoveFolderReqBody `protobuf:"bytes,4,opt,name=moveFolderReq" json:"moveFolderReq,omitempty"` -} - -func (x *D6D7ReqBody) Reset() { - *x = D6D7ReqBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d7_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *D6D7ReqBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*D6D7ReqBody) ProtoMessage() {} - -func (x *D6D7ReqBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d7_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) -} - -// Deprecated: Use D6D7ReqBody.ProtoReflect.Descriptor instead. -func (*D6D7ReqBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d7_proto_rawDescGZIP(), []int{8} -} - -func (x *D6D7ReqBody) GetCreateFolderReq() *CreateFolderReqBody { - if x != nil { - return x.CreateFolderReq - } - return nil -} - -func (x *D6D7ReqBody) GetDeleteFolderReq() *DeleteFolderReqBody { - if x != nil { - return x.DeleteFolderReq - } - return nil -} - -func (x *D6D7ReqBody) GetRenameFolderReq() *RenameFolderReqBody { - if x != nil { - return x.RenameFolderReq - } - return nil -} - -func (x *D6D7ReqBody) GetMoveFolderReq() *MoveFolderReqBody { - if x != nil { - return x.MoveFolderReq - } - return nil -} - -type D6D7RspBody struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - CreateFolderRsp *CreateFolderRspBody `protobuf:"bytes,1,opt,name=createFolderRsp" json:"createFolderRsp,omitempty"` - DeleteFolderRsp *DeleteFolderRspBody `protobuf:"bytes,2,opt,name=deleteFolderRsp" json:"deleteFolderRsp,omitempty"` - RenameFolderRsp *RenameFolderRspBody `protobuf:"bytes,3,opt,name=renameFolderRsp" json:"renameFolderRsp,omitempty"` - MoveFolderRsp *MoveFolderRspBody `protobuf:"bytes,4,opt,name=moveFolderRsp" json:"moveFolderRsp,omitempty"` -} - -func (x *D6D7RspBody) Reset() { - *x = D6D7RspBody{} - if protoimpl.UnsafeEnabled { - mi := &file_oidb0x6d7_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *D6D7RspBody) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*D6D7RspBody) ProtoMessage() {} - -func (x *D6D7RspBody) ProtoReflect() protoreflect.Message { - mi := &file_oidb0x6d7_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) -} - -// Deprecated: Use D6D7RspBody.ProtoReflect.Descriptor instead. -func (*D6D7RspBody) Descriptor() ([]byte, []int) { - return file_oidb0x6d7_proto_rawDescGZIP(), []int{9} -} - -func (x *D6D7RspBody) GetCreateFolderRsp() *CreateFolderRspBody { - if x != nil { - return x.CreateFolderRsp - } - return nil -} - -func (x *D6D7RspBody) GetDeleteFolderRsp() *DeleteFolderRspBody { - if x != nil { - return x.DeleteFolderRsp - } - return nil -} - -func (x *D6D7RspBody) GetRenameFolderRsp() *RenameFolderRspBody { - if x != nil { - return x.RenameFolderRsp - } - return nil -} - -func (x *D6D7RspBody) GetMoveFolderRsp() *MoveFolderRspBody { - if x != nil { - return x.MoveFolderRsp - } - return nil -} - -var File_oidb0x6d7_proto protoreflect.FileDescriptor - -var file_oidb0x6d7_proto_rawDesc = []byte{ - 0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x36, 0x64, 0x37, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x22, 0x91, 0x01, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, - 0x65, 0x72, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, - 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x67, 0x72, - 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x26, 0x0a, - 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x6c, - 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x4e, - 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x6f, 0x6c, 0x64, 0x65, - 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x6d, 0x0a, 0x13, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, - 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x18, 0x0a, 0x07, - 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, - 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x74, 0x4d, 0x73, 0x67, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x12, 0x24, - 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, - 0x64, 0x69, 0x6e, 0x67, 0x22, 0x65, 0x0a, 0x13, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, - 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x67, - 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, - 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, - 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, - 0x1a, 0x0a, 0x08, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x6d, 0x0a, 0x13, 0x44, - 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x6f, - 0x64, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, - 0x72, 0x65, 0x74, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, - 0x74, 0x4d, 0x73, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, - 0x72, 0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, - 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x22, 0xaf, 0x01, 0x0a, 0x11, 0x4d, - 0x6f, 0x76, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, - 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, - 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, 0x61, - 0x70, 0x70, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, - 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, - 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, - 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x64, 0x65, 0x73, 0x74, - 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x64, 0x65, 0x73, 0x74, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, 0x64, 0x22, 0x6b, 0x0a, 0x11, - 0x4d, 0x6f, 0x76, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, - 0x79, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x05, 0x52, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, - 0x65, 0x74, 0x4d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x74, - 0x4d, 0x73, 0x67, 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, - 0x64, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, - 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x22, 0x8b, 0x01, 0x0a, 0x13, 0x52, 0x65, - 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, - 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x67, 0x72, 0x6f, 0x75, 0x70, 0x43, 0x6f, 0x64, 0x65, 0x12, - 0x14, 0x0a, 0x05, 0x61, 0x70, 0x70, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x05, - 0x61, 0x70, 0x70, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, - 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x49, - 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x6e, 0x65, 0x77, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x4e, 0x61, - 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x77, 0x46, 0x6f, 0x6c, - 0x64, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x6d, 0x0a, 0x13, 0x52, 0x65, 0x6e, 0x61, 0x6d, - 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x18, - 0x0a, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x74, 0x4d, - 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x74, 0x4d, 0x73, 0x67, - 0x12, 0x24, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, 0x6f, 0x72, 0x64, 0x69, 0x6e, - 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x57, - 0x6f, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x22, 0x87, 0x02, 0x0a, 0x0b, 0x44, 0x36, 0x44, 0x37, 0x52, - 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x3e, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x14, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6c, - 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x3e, 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, - 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x14, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x6c, - 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x3e, 0x0a, 0x0f, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, - 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x14, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, - 0x71, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0f, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x6f, 0x6c, - 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x38, 0x0a, 0x0d, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x6f, - 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, - 0x4d, 0x6f, 0x76, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, - 0x79, 0x52, 0x0d, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, - 0x22, 0x87, 0x02, 0x0a, 0x0b, 0x44, 0x36, 0x44, 0x37, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, - 0x12, 0x3e, 0x0a, 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, - 0x52, 0x73, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x52, - 0x0f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, - 0x12, 0x3e, 0x0a, 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, - 0x52, 0x73, 0x70, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x44, 0x65, 0x6c, 0x65, - 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x52, - 0x0f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, - 0x12, 0x3e, 0x0a, 0x0f, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, - 0x52, 0x73, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x52, 0x65, 0x6e, 0x61, - 0x6d, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x52, - 0x0f, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, - 0x12, 0x38, 0x0a, 0x0d, 0x6d, 0x6f, 0x76, 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, - 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x4d, 0x6f, 0x76, 0x65, 0x46, 0x6f, - 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x0d, 0x6d, 0x6f, 0x76, - 0x65, 0x46, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x52, 0x73, 0x70, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x2f, - 0x3b, 0x6f, 0x69, 0x64, 0x62, -} - -var ( - file_oidb0x6d7_proto_rawDescOnce sync.Once - file_oidb0x6d7_proto_rawDescData = file_oidb0x6d7_proto_rawDesc -) - -func file_oidb0x6d7_proto_rawDescGZIP() []byte { - file_oidb0x6d7_proto_rawDescOnce.Do(func() { - file_oidb0x6d7_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0x6d7_proto_rawDescData) - }) - return file_oidb0x6d7_proto_rawDescData -} - -var file_oidb0x6d7_proto_msgTypes = make([]protoimpl.MessageInfo, 10) -var file_oidb0x6d7_proto_goTypes = []interface{}{ - (*CreateFolderReqBody)(nil), // 0: CreateFolderReqBody - (*CreateFolderRspBody)(nil), // 1: CreateFolderRspBody - (*DeleteFolderReqBody)(nil), // 2: DeleteFolderReqBody - (*DeleteFolderRspBody)(nil), // 3: DeleteFolderRspBody - (*MoveFolderReqBody)(nil), // 4: MoveFolderReqBody - (*MoveFolderRspBody)(nil), // 5: MoveFolderRspBody - (*RenameFolderReqBody)(nil), // 6: RenameFolderReqBody - (*RenameFolderRspBody)(nil), // 7: RenameFolderRspBody - (*D6D7ReqBody)(nil), // 8: D6D7ReqBody - (*D6D7RspBody)(nil), // 9: D6D7RspBody -} -var file_oidb0x6d7_proto_depIdxs = []int32{ - 0, // 0: D6D7ReqBody.createFolderReq:type_name -> CreateFolderReqBody - 2, // 1: D6D7ReqBody.deleteFolderReq:type_name -> DeleteFolderReqBody - 6, // 2: D6D7ReqBody.renameFolderReq:type_name -> RenameFolderReqBody - 4, // 3: D6D7ReqBody.moveFolderReq:type_name -> MoveFolderReqBody - 1, // 4: D6D7RspBody.createFolderRsp:type_name -> CreateFolderRspBody - 3, // 5: D6D7RspBody.deleteFolderRsp:type_name -> DeleteFolderRspBody - 7, // 6: D6D7RspBody.renameFolderRsp:type_name -> RenameFolderRspBody - 5, // 7: D6D7RspBody.moveFolderRsp:type_name -> MoveFolderRspBody - 8, // [8:8] is the sub-list for method output_type - 8, // [8:8] is the sub-list for method input_type - 8, // [8:8] is the sub-list for extension type_name - 8, // [8:8] is the sub-list for extension extendee - 0, // [0:8] is the sub-list for field type_name -} - -func init() { file_oidb0x6d7_proto_init() } -func file_oidb0x6d7_proto_init() { - if File_oidb0x6d7_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_oidb0x6d7_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateFolderReqBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d7_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CreateFolderRspBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d7_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteFolderReqBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d7_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DeleteFolderRspBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d7_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveFolderReqBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d7_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*MoveFolderRspBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d7_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameFolderReqBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d7_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameFolderRspBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d7_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*D6D7ReqBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_oidb0x6d7_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*D6D7RspBody); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - } - type x struct{} - out := protoimpl.TypeBuilder{ - File: protoimpl.DescBuilder{ - GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_oidb0x6d7_proto_rawDesc, - NumEnums: 0, - NumMessages: 10, - NumExtensions: 0, - NumServices: 0, - }, - GoTypes: file_oidb0x6d7_proto_goTypes, - DependencyIndexes: file_oidb0x6d7_proto_depIdxs, - MessageInfos: file_oidb0x6d7_proto_msgTypes, - }.Build() - File_oidb0x6d7_proto = out.File - file_oidb0x6d7_proto_rawDesc = nil - file_oidb0x6d7_proto_goTypes = nil - file_oidb0x6d7_proto_depIdxs = nil -} diff --git a/client/pb/oidb/oidb0x6d7.proto b/client/pb/oidb/oidb0x6d7.proto deleted file mode 100644 index d930787c..00000000 --- a/client/pb/oidb/oidb0x6d7.proto +++ /dev/null @@ -1,72 +0,0 @@ -syntax = "proto2"; - -option go_package = "./;oidb"; - -message CreateFolderReqBody { - optional uint64 groupCode = 1; - optional uint32 appId = 2; - optional string parentFolderId = 3; - optional string folderName = 4; -} - -message CreateFolderRspBody { - optional int32 retCode = 1; - optional string retMsg = 2; - optional string clientWording = 3; - // optional group_file_common.FolderInfo folderInfo = 4; -} - -message DeleteFolderReqBody { - optional uint64 groupCode = 1; - optional uint32 appId = 2; - optional string folderId = 3; -} - -message DeleteFolderRspBody { - optional int32 retCode = 1; - optional string retMsg = 2; - optional string clientWording = 3; -} - -message MoveFolderReqBody { - optional uint64 groupCode = 1; - optional uint32 appId = 2; - optional string folderId = 3; - optional string parentFolderId = 4; - optional string destFolderId = 5; -} - -message MoveFolderRspBody { - optional int32 retCode = 1; - optional string retMsg = 2; - optional string clientWording = 3; - // optional group_file_common.FolderInfo folderInfo = 4; -} - -message RenameFolderReqBody { - optional uint64 groupCode = 1; - optional uint32 appId = 2; - optional string folderId = 3; - optional string newFolderName = 4; -} - -message RenameFolderRspBody { - optional int32 retCode = 1; - optional string retMsg = 2; - optional string clientWording = 3; - // optional group_file_common.FolderInfo folderInfo = 4; -} - -message D6D7ReqBody { - optional CreateFolderReqBody createFolderReq = 1; - optional DeleteFolderReqBody deleteFolderReq = 2; - optional RenameFolderReqBody renameFolderReq = 3; - optional MoveFolderReqBody moveFolderReq = 4; -} - -message D6D7RspBody { - optional CreateFolderRspBody createFolderRsp = 1; - optional DeleteFolderRspBody deleteFolderRsp = 2; - optional RenameFolderRspBody renameFolderRsp = 3; - optional MoveFolderRspBody moveFolderRsp = 4; -} \ No newline at end of file diff --git a/internal/protobuf/data/oidb/oidb0x6d6/oidb0x6d6.go b/internal/protobuf/data/oidb/oidb0x6d6/oidb0x6d6.go new file mode 100644 index 00000000..6d2f52a7 --- /dev/null +++ b/internal/protobuf/data/oidb/oidb0x6d6/oidb0x6d6.go @@ -0,0 +1,747 @@ +// Code generated by Proto2Go.Net. Only used for MiraiGo. DO NOT EDIT. +// Source: oidb0x6d6.proto + +package oidb0x6d6 + +import ( + "github.com/pkg/errors" + "go.dedis.ch/protobuf" +) + +type ( + DeleteFileReqBody struct { + GroupCode *uint64 `protobuf:"1,opt"` + AppId *uint32 `protobuf:"2,opt"` + BusId *uint32 `protobuf:"3,opt"` + ParentFolderId *string `protobuf:"4,opt"` + FileId *string `protobuf:"5,opt"` + MsgdbSeq *uint32 `protobuf:"6,opt"` + MsgRand *uint32 `protobuf:"7,opt"` + } + + DeleteFileRspBody struct { + RetCode *int32 `protobuf:"1,opt"` + RetMsg *string `protobuf:"2,opt"` + ClientWording *string `protobuf:"3,opt"` + } + + DownloadFileReqBody struct { + GroupCode *uint64 `protobuf:"1,opt"` + AppId *uint32 `protobuf:"2,opt"` + BusId *uint32 `protobuf:"3,opt"` + FileId *string `protobuf:"4,opt"` + ThumbnailReq *bool `protobuf:"5,opt"` + UrlType *uint32 `protobuf:"6,opt"` + PreviewReq *bool `protobuf:"7,opt"` + Src *uint32 `protobuf:"8,opt"` + } + + DownloadFileRspBody struct { + RetCode *int32 `protobuf:"1,opt"` + RetMsg *string `protobuf:"2,opt"` + ClientWording *string `protobuf:"3,opt"` + DownloadIp *string `protobuf:"4,opt"` + DownloadDns []byte `protobuf:"5,opt"` + DownloadUrl []byte `protobuf:"6,opt"` + Sha []byte `protobuf:"7,opt"` + Sha3 []byte `protobuf:"8,opt"` + Md5 []byte `protobuf:"9,opt"` + CookieVal []byte `protobuf:"10,opt"` + SaveFileName *string `protobuf:"11,opt"` + PreviewPort *uint32 `protobuf:"12,opt"` + DownloadDnsHttps *string `protobuf:"13,opt"` + PreviewPortHttps *uint32 `protobuf:"14,opt"` + } + + MoveFileReqBody struct { + GroupCode *uint64 `protobuf:"1,opt"` + AppId *uint32 `protobuf:"2,opt"` + BusId *uint32 `protobuf:"3,opt"` + FileId *string `protobuf:"4,opt"` + ParentFolderId *string `protobuf:"5,opt"` + DestFolderId *string `protobuf:"6,opt"` + } + + MoveFileRspBody struct { + RetCode *int32 `protobuf:"1,opt"` + RetMsg *string `protobuf:"2,opt"` + ClientWording *string `protobuf:"3,opt"` + ParentFolderId *string `protobuf:"4,opt"` + } + + RenameFileReqBody struct { + GroupCode *uint64 `protobuf:"1,opt"` + AppId *uint32 `protobuf:"2,opt"` + BusId *uint32 `protobuf:"3,opt"` + FileId *string `protobuf:"4,opt"` + ParentFolderId *string `protobuf:"5,opt"` + NewFileName *string `protobuf:"6,opt"` + } + + RenameFileRspBody struct { + RetCode *int32 `protobuf:"1,opt"` + RetMsg *string `protobuf:"2,opt"` + ClientWording *string `protobuf:"3,opt"` + } + + ReqBody struct { + UploadFileReq *UploadFileReqBody `protobuf:"1,opt"` + ResendFileReq *ResendReqBody `protobuf:"2,opt"` + DownloadFileReq *DownloadFileReqBody `protobuf:"3,opt"` + DeleteFileReq *DeleteFileReqBody `protobuf:"4,opt"` + RenameFileReq *RenameFileReqBody `protobuf:"5,opt"` + MoveFileReq *MoveFileReqBody `protobuf:"6,opt"` + } + + ResendReqBody struct { + GroupCode *uint64 `protobuf:"1,opt"` + AppId *uint32 `protobuf:"2,opt"` + BusId *uint32 `protobuf:"3,opt"` + FileId *string `protobuf:"4,opt"` + Sha []byte `protobuf:"5,opt"` + } + + ResendRspBody struct { + RetCode *int32 `protobuf:"1,opt"` + RetMsg *string `protobuf:"2,opt"` + ClientWording *string `protobuf:"3,opt"` + UploadIp *string `protobuf:"4,opt"` + FileKey []byte `protobuf:"5,opt"` + CheckKey []byte `protobuf:"6,opt"` + } + + RspBody struct { + UploadFileRsp *UploadFileRspBody `protobuf:"1,opt"` + ResendFileRsp *ResendRspBody `protobuf:"2,opt"` + DownloadFileRsp *DownloadFileRspBody `protobuf:"3,opt"` + DeleteFileRsp *DeleteFileRspBody `protobuf:"4,opt"` + RenameFileRsp *RenameFileRspBody `protobuf:"5,opt"` + MoveFileRsp *MoveFileRspBody `protobuf:"6,opt"` + } + + UploadFileReqBody struct { + GroupCode *uint64 `protobuf:"1,opt"` + AppId *uint32 `protobuf:"2,opt"` + BusId *uint32 `protobuf:"3,opt"` + Entrance *uint32 `protobuf:"4,opt"` + ParentFolderId *string `protobuf:"5,opt"` + FileName *string `protobuf:"6,opt"` + LocalPath *string `protobuf:"7,opt"` + FileSize *uint64 `protobuf:"8,opt"` + Sha []byte `protobuf:"9,opt"` + Sha3 []byte `protobuf:"10,opt"` + Md5 []byte `protobuf:"11,opt"` + SupportMultiUpload *bool `protobuf:"15,opt"` + } + + UploadFileRspBody struct { + RetCode *int32 `protobuf:"1,opt"` + RetMsg *string `protobuf:"2,opt"` + ClientWording *string `protobuf:"3,opt"` + UploadIp *string `protobuf:"4,opt"` + ServerDns *string `protobuf:"5,opt"` + BusId *uint32 `protobuf:"6,opt"` + FileId *string `protobuf:"7,opt"` + FileKey []byte `protobuf:"8,opt"` + CheckKey []byte `protobuf:"9,opt"` + FileExist *bool `protobuf:"10,opt"` + UploadIpLanV4 []string `protobuf:"12"` + UploadIpLanV6 []string `protobuf:"13"` + UploadPort *uint32 `protobuf:"14,opt"` + } +) + +func (x *DeleteFileReqBody) GetGroupCode() uint64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *DeleteFileReqBody) GetAppId() uint32 { + if x != nil && x.AppId != nil { + return *x.AppId + } + return 0 +} + +func (x *DeleteFileReqBody) GetBusId() uint32 { + if x != nil && x.BusId != nil { + return *x.BusId + } + return 0 +} + +func (x *DeleteFileReqBody) GetParentFolderId() string { + if x != nil && x.ParentFolderId != nil { + return *x.ParentFolderId + } + return "" +} + +func (x *DeleteFileReqBody) GetFileId() string { + if x != nil && x.FileId != nil { + return *x.FileId + } + return "" +} + +func (x *DeleteFileReqBody) GetMsgdbSeq() uint32 { + if x != nil && x.MsgdbSeq != nil { + return *x.MsgdbSeq + } + return 0 +} + +func (x *DeleteFileReqBody) GetMsgRand() uint32 { + if x != nil && x.MsgRand != nil { + return *x.MsgRand + } + return 0 +} + +func (x *DeleteFileReqBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *DeleteFileRspBody) GetRetCode() int32 { + if x != nil && x.RetCode != nil { + return *x.RetCode + } + return 0 +} + +func (x *DeleteFileRspBody) GetRetMsg() string { + if x != nil && x.RetMsg != nil { + return *x.RetMsg + } + return "" +} + +func (x *DeleteFileRspBody) GetClientWording() string { + if x != nil && x.ClientWording != nil { + return *x.ClientWording + } + return "" +} + +func (x *DeleteFileRspBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *DownloadFileReqBody) GetGroupCode() uint64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *DownloadFileReqBody) GetAppId() uint32 { + if x != nil && x.AppId != nil { + return *x.AppId + } + return 0 +} + +func (x *DownloadFileReqBody) GetBusId() uint32 { + if x != nil && x.BusId != nil { + return *x.BusId + } + return 0 +} + +func (x *DownloadFileReqBody) GetFileId() string { + if x != nil && x.FileId != nil { + return *x.FileId + } + return "" +} + +func (x *DownloadFileReqBody) GetThumbnailReq() bool { + if x != nil && x.ThumbnailReq != nil { + return *x.ThumbnailReq + } + return false +} + +func (x *DownloadFileReqBody) GetUrlType() uint32 { + if x != nil && x.UrlType != nil { + return *x.UrlType + } + return 0 +} + +func (x *DownloadFileReqBody) GetPreviewReq() bool { + if x != nil && x.PreviewReq != nil { + return *x.PreviewReq + } + return false +} + +func (x *DownloadFileReqBody) GetSrc() uint32 { + if x != nil && x.Src != nil { + return *x.Src + } + return 0 +} + +func (x *DownloadFileReqBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *DownloadFileRspBody) GetRetCode() int32 { + if x != nil && x.RetCode != nil { + return *x.RetCode + } + return 0 +} + +func (x *DownloadFileRspBody) GetRetMsg() string { + if x != nil && x.RetMsg != nil { + return *x.RetMsg + } + return "" +} + +func (x *DownloadFileRspBody) GetClientWording() string { + if x != nil && x.ClientWording != nil { + return *x.ClientWording + } + return "" +} + +func (x *DownloadFileRspBody) GetDownloadIp() string { + if x != nil && x.DownloadIp != nil { + return *x.DownloadIp + } + return "" +} + +func (x *DownloadFileRspBody) GetSaveFileName() string { + if x != nil && x.SaveFileName != nil { + return *x.SaveFileName + } + return "" +} + +func (x *DownloadFileRspBody) GetPreviewPort() uint32 { + if x != nil && x.PreviewPort != nil { + return *x.PreviewPort + } + return 0 +} + +func (x *DownloadFileRspBody) GetDownloadDnsHttps() string { + if x != nil && x.DownloadDnsHttps != nil { + return *x.DownloadDnsHttps + } + return "" +} + +func (x *DownloadFileRspBody) GetPreviewPortHttps() uint32 { + if x != nil && x.PreviewPortHttps != nil { + return *x.PreviewPortHttps + } + return 0 +} + +func (x *DownloadFileRspBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *MoveFileReqBody) GetGroupCode() uint64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *MoveFileReqBody) GetAppId() uint32 { + if x != nil && x.AppId != nil { + return *x.AppId + } + return 0 +} + +func (x *MoveFileReqBody) GetBusId() uint32 { + if x != nil && x.BusId != nil { + return *x.BusId + } + return 0 +} + +func (x *MoveFileReqBody) GetFileId() string { + if x != nil && x.FileId != nil { + return *x.FileId + } + return "" +} + +func (x *MoveFileReqBody) GetParentFolderId() string { + if x != nil && x.ParentFolderId != nil { + return *x.ParentFolderId + } + return "" +} + +func (x *MoveFileReqBody) GetDestFolderId() string { + if x != nil && x.DestFolderId != nil { + return *x.DestFolderId + } + return "" +} + +func (x *MoveFileReqBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *MoveFileRspBody) GetRetCode() int32 { + if x != nil && x.RetCode != nil { + return *x.RetCode + } + return 0 +} + +func (x *MoveFileRspBody) GetRetMsg() string { + if x != nil && x.RetMsg != nil { + return *x.RetMsg + } + return "" +} + +func (x *MoveFileRspBody) GetClientWording() string { + if x != nil && x.ClientWording != nil { + return *x.ClientWording + } + return "" +} + +func (x *MoveFileRspBody) GetParentFolderId() string { + if x != nil && x.ParentFolderId != nil { + return *x.ParentFolderId + } + return "" +} + +func (x *MoveFileRspBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *RenameFileReqBody) GetGroupCode() uint64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *RenameFileReqBody) GetAppId() uint32 { + if x != nil && x.AppId != nil { + return *x.AppId + } + return 0 +} + +func (x *RenameFileReqBody) GetBusId() uint32 { + if x != nil && x.BusId != nil { + return *x.BusId + } + return 0 +} + +func (x *RenameFileReqBody) GetFileId() string { + if x != nil && x.FileId != nil { + return *x.FileId + } + return "" +} + +func (x *RenameFileReqBody) GetParentFolderId() string { + if x != nil && x.ParentFolderId != nil { + return *x.ParentFolderId + } + return "" +} + +func (x *RenameFileReqBody) GetNewFileName() string { + if x != nil && x.NewFileName != nil { + return *x.NewFileName + } + return "" +} + +func (x *RenameFileReqBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *RenameFileRspBody) GetRetCode() int32 { + if x != nil && x.RetCode != nil { + return *x.RetCode + } + return 0 +} + +func (x *RenameFileRspBody) GetRetMsg() string { + if x != nil && x.RetMsg != nil { + return *x.RetMsg + } + return "" +} + +func (x *RenameFileRspBody) GetClientWording() string { + if x != nil && x.ClientWording != nil { + return *x.ClientWording + } + return "" +} + +func (x *RenameFileRspBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *ReqBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *ResendReqBody) GetGroupCode() uint64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *ResendReqBody) GetAppId() uint32 { + if x != nil && x.AppId != nil { + return *x.AppId + } + return 0 +} + +func (x *ResendReqBody) GetBusId() uint32 { + if x != nil && x.BusId != nil { + return *x.BusId + } + return 0 +} + +func (x *ResendReqBody) GetFileId() string { + if x != nil && x.FileId != nil { + return *x.FileId + } + return "" +} + +func (x *ResendReqBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *ResendRspBody) GetRetCode() int32 { + if x != nil && x.RetCode != nil { + return *x.RetCode + } + return 0 +} + +func (x *ResendRspBody) GetRetMsg() string { + if x != nil && x.RetMsg != nil { + return *x.RetMsg + } + return "" +} + +func (x *ResendRspBody) GetClientWording() string { + if x != nil && x.ClientWording != nil { + return *x.ClientWording + } + return "" +} + +func (x *ResendRspBody) GetUploadIp() string { + if x != nil && x.UploadIp != nil { + return *x.UploadIp + } + return "" +} + +func (x *ResendRspBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *RspBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *UploadFileReqBody) GetGroupCode() uint64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *UploadFileReqBody) GetAppId() uint32 { + if x != nil && x.AppId != nil { + return *x.AppId + } + return 0 +} + +func (x *UploadFileReqBody) GetBusId() uint32 { + if x != nil && x.BusId != nil { + return *x.BusId + } + return 0 +} + +func (x *UploadFileReqBody) GetEntrance() uint32 { + if x != nil && x.Entrance != nil { + return *x.Entrance + } + return 0 +} + +func (x *UploadFileReqBody) GetParentFolderId() string { + if x != nil && x.ParentFolderId != nil { + return *x.ParentFolderId + } + return "" +} + +func (x *UploadFileReqBody) GetFileName() string { + if x != nil && x.FileName != nil { + return *x.FileName + } + return "" +} + +func (x *UploadFileReqBody) GetLocalPath() string { + if x != nil && x.LocalPath != nil { + return *x.LocalPath + } + return "" +} + +func (x *UploadFileReqBody) GetFileSize() uint64 { + if x != nil && x.FileSize != nil { + return *x.FileSize + } + return 0 +} + +func (x *UploadFileReqBody) GetSupportMultiUpload() bool { + if x != nil && x.SupportMultiUpload != nil { + return *x.SupportMultiUpload + } + return false +} + +func (x *UploadFileReqBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *UploadFileRspBody) GetRetCode() int32 { + if x != nil && x.RetCode != nil { + return *x.RetCode + } + return 0 +} + +func (x *UploadFileRspBody) GetRetMsg() string { + if x != nil && x.RetMsg != nil { + return *x.RetMsg + } + return "" +} + +func (x *UploadFileRspBody) GetClientWording() string { + if x != nil && x.ClientWording != nil { + return *x.ClientWording + } + return "" +} + +func (x *UploadFileRspBody) GetUploadIp() string { + if x != nil && x.UploadIp != nil { + return *x.UploadIp + } + return "" +} + +func (x *UploadFileRspBody) GetServerDns() string { + if x != nil && x.ServerDns != nil { + return *x.ServerDns + } + return "" +} + +func (x *UploadFileRspBody) GetBusId() uint32 { + if x != nil && x.BusId != nil { + return *x.BusId + } + return 0 +} + +func (x *UploadFileRspBody) GetFileId() string { + if x != nil && x.FileId != nil { + return *x.FileId + } + return "" +} + +func (x *UploadFileRspBody) GetFileExist() bool { + if x != nil && x.FileExist != nil { + return *x.FileExist + } + return false +} + +func (x *UploadFileRspBody) GetUploadPort() uint32 { + if x != nil && x.UploadPort != nil { + return *x.UploadPort + } + return 0 +} + +func (x *UploadFileRspBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} diff --git a/internal/protobuf/data/oidb/oidb0x6d7/oidb0x6d7.go b/internal/protobuf/data/oidb/oidb0x6d7/oidb0x6d7.go new file mode 100644 index 00000000..4d58d008 --- /dev/null +++ b/internal/protobuf/data/oidb/oidb0x6d7/oidb0x6d7.go @@ -0,0 +1,343 @@ +// Code generated by Proto2Go.Net. Only used for MiraiGo. DO NOT EDIT. +// Source: oidb0x6d7.proto + +package oidb0x6d7 + +import ( + "github.com/pkg/errors" + "go.dedis.ch/protobuf" +) + +type ( + CreateFolderReqBody struct { + GroupCode *uint64 `protobuf:"1,opt"` + AppId *uint32 `protobuf:"2,opt"` + ParentFolderId *string `protobuf:"3,opt"` + FolderName *string `protobuf:"4,opt"` + } + + CreateFolderRspBody struct { + RetCode *int32 `protobuf:"1,opt"` + RetMsg *string `protobuf:"2,opt"` + ClientWording *string `protobuf:"3,opt"` + } + + DeleteFolderReqBody struct { + GroupCode *uint64 `protobuf:"1,opt"` + AppId *uint32 `protobuf:"2,opt"` + FolderId *string `protobuf:"3,opt"` + } + + DeleteFolderRspBody struct { + RetCode *int32 `protobuf:"1,opt"` + RetMsg *string `protobuf:"2,opt"` + ClientWording *string `protobuf:"3,opt"` + } + + MoveFolderReqBody struct { + GroupCode *uint64 `protobuf:"1,opt"` + AppId *uint32 `protobuf:"2,opt"` + FolderId *string `protobuf:"3,opt"` + ParentFolderId *string `protobuf:"4,opt"` + DestFolderId *string `protobuf:"5,opt"` + } + + MoveFolderRspBody struct { + RetCode *int32 `protobuf:"1,opt"` + RetMsg *string `protobuf:"2,opt"` + ClientWording *string `protobuf:"3,opt"` + } + + RenameFolderReqBody struct { + GroupCode *uint64 `protobuf:"1,opt"` + AppId *uint32 `protobuf:"2,opt"` + FolderId *string `protobuf:"3,opt"` + NewFolderName *string `protobuf:"4,opt"` + } + + RenameFolderRspBody struct { + RetCode *int32 `protobuf:"1,opt"` + RetMsg *string `protobuf:"2,opt"` + ClientWording *string `protobuf:"3,opt"` + } + + ReqBody struct { + CreateFolderReq *CreateFolderReqBody `protobuf:"1,opt"` + DeleteFolderReq *DeleteFolderReqBody `protobuf:"2,opt"` + RenameFolderReq *RenameFolderReqBody `protobuf:"3,opt"` + MoveFolderReq *MoveFolderReqBody `protobuf:"4,opt"` + } + + RspBody struct { + CreateFolderRsp *CreateFolderRspBody `protobuf:"1,opt"` + DeleteFolderRsp *DeleteFolderRspBody `protobuf:"2,opt"` + RenameFolderRsp *RenameFolderRspBody `protobuf:"3,opt"` + MoveFolderRsp *MoveFolderRspBody `protobuf:"4,opt"` + } +) + +func (x *CreateFolderReqBody) GetGroupCode() uint64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *CreateFolderReqBody) GetAppId() uint32 { + if x != nil && x.AppId != nil { + return *x.AppId + } + return 0 +} + +func (x *CreateFolderReqBody) GetParentFolderId() string { + if x != nil && x.ParentFolderId != nil { + return *x.ParentFolderId + } + return "" +} + +func (x *CreateFolderReqBody) GetFolderName() string { + if x != nil && x.FolderName != nil { + return *x.FolderName + } + return "" +} + +func (x *CreateFolderReqBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *CreateFolderRspBody) GetRetCode() int32 { + if x != nil && x.RetCode != nil { + return *x.RetCode + } + return 0 +} + +func (x *CreateFolderRspBody) GetRetMsg() string { + if x != nil && x.RetMsg != nil { + return *x.RetMsg + } + return "" +} + +func (x *CreateFolderRspBody) GetClientWording() string { + if x != nil && x.ClientWording != nil { + return *x.ClientWording + } + return "" +} + +func (x *CreateFolderRspBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *DeleteFolderReqBody) GetGroupCode() uint64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *DeleteFolderReqBody) GetAppId() uint32 { + if x != nil && x.AppId != nil { + return *x.AppId + } + return 0 +} + +func (x *DeleteFolderReqBody) GetFolderId() string { + if x != nil && x.FolderId != nil { + return *x.FolderId + } + return "" +} + +func (x *DeleteFolderReqBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *DeleteFolderRspBody) GetRetCode() int32 { + if x != nil && x.RetCode != nil { + return *x.RetCode + } + return 0 +} + +func (x *DeleteFolderRspBody) GetRetMsg() string { + if x != nil && x.RetMsg != nil { + return *x.RetMsg + } + return "" +} + +func (x *DeleteFolderRspBody) GetClientWording() string { + if x != nil && x.ClientWording != nil { + return *x.ClientWording + } + return "" +} + +func (x *DeleteFolderRspBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *MoveFolderReqBody) GetGroupCode() uint64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *MoveFolderReqBody) GetAppId() uint32 { + if x != nil && x.AppId != nil { + return *x.AppId + } + return 0 +} + +func (x *MoveFolderReqBody) GetFolderId() string { + if x != nil && x.FolderId != nil { + return *x.FolderId + } + return "" +} + +func (x *MoveFolderReqBody) GetParentFolderId() string { + if x != nil && x.ParentFolderId != nil { + return *x.ParentFolderId + } + return "" +} + +func (x *MoveFolderReqBody) GetDestFolderId() string { + if x != nil && x.DestFolderId != nil { + return *x.DestFolderId + } + return "" +} + +func (x *MoveFolderReqBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *MoveFolderRspBody) GetRetCode() int32 { + if x != nil && x.RetCode != nil { + return *x.RetCode + } + return 0 +} + +func (x *MoveFolderRspBody) GetRetMsg() string { + if x != nil && x.RetMsg != nil { + return *x.RetMsg + } + return "" +} + +func (x *MoveFolderRspBody) GetClientWording() string { + if x != nil && x.ClientWording != nil { + return *x.ClientWording + } + return "" +} + +func (x *MoveFolderRspBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *RenameFolderReqBody) GetGroupCode() uint64 { + if x != nil && x.GroupCode != nil { + return *x.GroupCode + } + return 0 +} + +func (x *RenameFolderReqBody) GetAppId() uint32 { + if x != nil && x.AppId != nil { + return *x.AppId + } + return 0 +} + +func (x *RenameFolderReqBody) GetFolderId() string { + if x != nil && x.FolderId != nil { + return *x.FolderId + } + return "" +} + +func (x *RenameFolderReqBody) GetNewFolderName() string { + if x != nil && x.NewFolderName != nil { + return *x.NewFolderName + } + return "" +} + +func (x *RenameFolderReqBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *RenameFolderRspBody) GetRetCode() int32 { + if x != nil && x.RetCode != nil { + return *x.RetCode + } + return 0 +} + +func (x *RenameFolderRspBody) GetRetMsg() string { + if x != nil && x.RetMsg != nil { + return *x.RetMsg + } + return "" +} + +func (x *RenameFolderRspBody) GetClientWording() string { + if x != nil && x.ClientWording != nil { + return *x.ClientWording + } + return "" +} + +func (x *RenameFolderRspBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *ReqBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +} + +func (x *RspBody) Marshal() ([]byte, error) { + if x == nil { + return nil, errors.New("nil pointer error") + } + return protobuf.Encode(x) +}