mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
refactor: use new protobuf impl oidb0x6d6 & oidb0x6d7
This commit is contained in:
parent
28da394096
commit
b0fd43cea1
@ -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 {
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -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;
|
||||
}
|
@ -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
|
||||
}
|
@ -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;
|
||||
}
|
747
internal/protobuf/data/oidb/oidb0x6d6/oidb0x6d6.go
Normal file
747
internal/protobuf/data/oidb/oidb0x6d6/oidb0x6d6.go
Normal file
@ -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)
|
||||
}
|
343
internal/protobuf/data/oidb/oidb0x6d7/oidb0x6d7.go
Normal file
343
internal/protobuf/data/oidb/oidb0x6d7/oidb0x6d7.go
Normal file
@ -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)
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user