mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
feat: group file create folder & rename folder.
This commit is contained in:
parent
0a81b76d23
commit
9440289090
@ -62,6 +62,8 @@ func init() {
|
||||
decoders["OidbSvc.0x6d6_0"] = decodeOIDB6d60Response
|
||||
decoders["OidbSvc.0x6d6_2"] = decodeOIDB6d62Response
|
||||
decoders["OidbSvc.0x6d6_3"] = decodeOIDB6d63Response
|
||||
decoders["OidbSvc.0x6d7_0"] = decodeOIDB6d70Response
|
||||
decoders["OidbSvc.0x6d7_2"] = decodeOIDB6d72Response
|
||||
decoders["OidbSvc.0x6d9_4"] = ignoreDecoder
|
||||
}
|
||||
|
||||
@ -241,6 +243,20 @@ func (fs *GroupFileSystem) GetDownloadUrl(file *GroupFile) string {
|
||||
return fs.client.GetGroupFileUrl(file.GroupCode, file.FileId, file.BusId)
|
||||
}
|
||||
|
||||
func (fs *GroupFileSystem) CreateFolder(parentFolder, name string) error {
|
||||
if _, err := fs.client.sendAndWait(fs.client.buildGroupFileCreateFolderPacket(fs.GroupCode, parentFolder, name)); err != nil {
|
||||
return errors.Wrap(err, "create folder error")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func (fs *GroupFileSystem) RenameFolder(folderId, newName string) error {
|
||||
if _, err := fs.client.sendAndWait(fs.client.buildGroupFileRenameFolderPacket(fs.GroupCode, folderId, newName)); err != nil {
|
||||
return errors.Wrap(err, "rename folder error")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
// DeleteFile 删除群文件,需要管理权限.
|
||||
// 返回错误, 空为删除成功
|
||||
func (fs *GroupFileSystem) DeleteFile(parentFolderID, fileId string, busId int32) string {
|
||||
@ -358,6 +374,30 @@ func (c *QQClient) buildGroupFileSpaceRequestPacket(groupCode int64) (uint16, []
|
||||
return seq, packet
|
||||
}
|
||||
|
||||
func (c *QQClient) buildGroupFileCreateFolderPacket(groupCode int64, parentFolder, name string) (uint16, []byte) {
|
||||
seq := c.nextSeq()
|
||||
payload := c.packOIDBPackageProto(1751, 0, &oidb.D6D7ReqBody{CreateFolderReq: &oidb.CreateFolderReqBody{
|
||||
GroupCode: proto.Uint64(uint64(groupCode)),
|
||||
AppId: proto.Uint32(3),
|
||||
ParentFolderId: &parentFolder,
|
||||
FolderName: &name,
|
||||
}})
|
||||
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0x6d7_0", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
|
||||
return seq, packet
|
||||
}
|
||||
|
||||
func (c *QQClient) buildGroupFileRenameFolderPacket(groupCode int64, folderId, newName string) (uint16, []byte) {
|
||||
seq := c.nextSeq()
|
||||
payload := c.packOIDBPackageProto(1751, 2, &oidb.D6D7ReqBody{RenameFolderReq: &oidb.RenameFolderReqBody{
|
||||
GroupCode: proto.Uint64(uint64(groupCode)),
|
||||
AppId: proto.Uint32(3),
|
||||
FolderId: proto.String(folderId),
|
||||
NewFolderName: proto.String(newName),
|
||||
}})
|
||||
packet := packets.BuildUniPacket(c.Uin, seq, "OidbSvc.0x6d7_2", 1, c.OutGoingPacketSessionId, EmptyBytes, c.sigInfo.d2Key, payload)
|
||||
return seq, packet
|
||||
}
|
||||
|
||||
// OidbSvc.0x6d6_2
|
||||
func (c *QQClient) buildGroupFileDownloadReqPacket(groupCode int64, fileId string, busId int32) (uint16, []byte) {
|
||||
seq := c.nextSeq()
|
||||
@ -457,3 +497,33 @@ func decodeOIDB6d60Response(_ *QQClient, _ *incomingPacketInfo, payload []byte)
|
||||
}
|
||||
return rsp.UploadFileRsp, nil
|
||||
}
|
||||
|
||||
func decodeOIDB6d70Response(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) {
|
||||
pkg := oidb.OIDBSSOPkg{}
|
||||
rsp := oidb.D6D7RspBody{}
|
||||
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 {
|
||||
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
|
||||
}
|
||||
if rsp.CreateFolderRsp.GetRetCode() != 0 {
|
||||
return nil, errors.Errorf("create folder error: %v", rsp.CreateFolderRsp.GetRetCode())
|
||||
}
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
func decodeOIDB6d72Response(_ *QQClient, _ *incomingPacketInfo, payload []byte) (interface{}, error) {
|
||||
pkg := oidb.OIDBSSOPkg{}
|
||||
rsp := oidb.D6D7RspBody{}
|
||||
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 {
|
||||
return nil, errors.Wrap(err, "failed to unmarshal protobuf message")
|
||||
}
|
||||
if rsp.RenameFolderRsp.GetRetCode() != 0 {
|
||||
return nil, errors.Errorf("create folder error: %v", rsp.CreateFolderRsp.GetRetCode())
|
||||
}
|
||||
return nil, nil
|
||||
}
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb0x5eb.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb0x6d6.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
996
client/pb/oidb/oidb0x6d7.pb.go
Normal file
996
client/pb/oidb/oidb0x6d7.pb.go
Normal file
@ -0,0 +1,996 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.14.0
|
||||
// source: oidb0x6d7.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
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)
|
||||
)
|
||||
|
||||
// This is a compile-time assertion that a sufficiently up-to-date version
|
||||
// of the legacy proto package is being used.
|
||||
const _ = proto.ProtoPackageIsVersion4
|
||||
|
||||
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, 0x08, 0x5a, 0x06, 0x2e, 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
|
||||
}
|
72
client/pb/oidb/oidb0x6d7.proto
Normal file
72
client/pb/oidb/oidb0x6d7.proto
Normal file
@ -0,0 +1,72 @@
|
||||
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;
|
||||
}
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb0x6d8.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb0x6d9.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb0x769.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb0x88d.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb0x8a7.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb0x8fc.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb0x990.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb0xb77.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb0xbcb.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// source: oidb0xd79.proto
|
||||
// protoc v3.14.0
|
||||
// source: oidb0xD79.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
@ -43,7 +42,7 @@ type D79ReqBody struct {
|
||||
func (x *D79ReqBody) Reset() {
|
||||
*x = D79ReqBody{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_oidb0xd79_proto_msgTypes[0]
|
||||
mi := &file_oidb0xD79_proto_msgTypes[0]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -56,7 +55,7 @@ func (x *D79ReqBody) String() string {
|
||||
func (*D79ReqBody) ProtoMessage() {}
|
||||
|
||||
func (x *D79ReqBody) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_oidb0xd79_proto_msgTypes[0]
|
||||
mi := &file_oidb0xD79_proto_msgTypes[0]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -69,7 +68,7 @@ func (x *D79ReqBody) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use D79ReqBody.ProtoReflect.Descriptor instead.
|
||||
func (*D79ReqBody) Descriptor() ([]byte, []int) {
|
||||
return file_oidb0xd79_proto_rawDescGZIP(), []int{0}
|
||||
return file_oidb0xD79_proto_rawDescGZIP(), []int{0}
|
||||
}
|
||||
|
||||
func (x *D79ReqBody) GetSeq() uint64 {
|
||||
@ -136,7 +135,7 @@ type D79RspBody struct {
|
||||
func (x *D79RspBody) Reset() {
|
||||
*x = D79RspBody{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_oidb0xd79_proto_msgTypes[1]
|
||||
mi := &file_oidb0xD79_proto_msgTypes[1]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -149,7 +148,7 @@ func (x *D79RspBody) String() string {
|
||||
func (*D79RspBody) ProtoMessage() {}
|
||||
|
||||
func (x *D79RspBody) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_oidb0xd79_proto_msgTypes[1]
|
||||
mi := &file_oidb0xD79_proto_msgTypes[1]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -162,7 +161,7 @@ func (x *D79RspBody) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use D79RspBody.ProtoReflect.Descriptor instead.
|
||||
func (*D79RspBody) Descriptor() ([]byte, []int) {
|
||||
return file_oidb0xd79_proto_rawDescGZIP(), []int{1}
|
||||
return file_oidb0xD79_proto_rawDescGZIP(), []int{1}
|
||||
}
|
||||
|
||||
func (x *D79RspBody) GetRet() uint32 {
|
||||
@ -211,7 +210,7 @@ type D79Content struct {
|
||||
func (x *D79Content) Reset() {
|
||||
*x = D79Content{}
|
||||
if protoimpl.UnsafeEnabled {
|
||||
mi := &file_oidb0xd79_proto_msgTypes[2]
|
||||
mi := &file_oidb0xD79_proto_msgTypes[2]
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
ms.StoreMessageInfo(mi)
|
||||
}
|
||||
@ -224,7 +223,7 @@ func (x *D79Content) String() string {
|
||||
func (*D79Content) ProtoMessage() {}
|
||||
|
||||
func (x *D79Content) ProtoReflect() protoreflect.Message {
|
||||
mi := &file_oidb0xd79_proto_msgTypes[2]
|
||||
mi := &file_oidb0xD79_proto_msgTypes[2]
|
||||
if protoimpl.UnsafeEnabled && x != nil {
|
||||
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
||||
if ms.LoadMessageInfo() == nil {
|
||||
@ -237,7 +236,7 @@ func (x *D79Content) ProtoReflect() protoreflect.Message {
|
||||
|
||||
// Deprecated: Use D79Content.ProtoReflect.Descriptor instead.
|
||||
func (*D79Content) Descriptor() ([]byte, []int) {
|
||||
return file_oidb0xd79_proto_rawDescGZIP(), []int{2}
|
||||
return file_oidb0xD79_proto_rawDescGZIP(), []int{2}
|
||||
}
|
||||
|
||||
func (x *D79Content) GetSliceContent() [][]byte {
|
||||
@ -247,10 +246,10 @@ func (x *D79Content) GetSliceContent() [][]byte {
|
||||
return nil
|
||||
}
|
||||
|
||||
var File_oidb0xd79_proto protoreflect.FileDescriptor
|
||||
var File_oidb0xD79_proto protoreflect.FileDescriptor
|
||||
|
||||
var file_oidb0xd79_proto_rawDesc = []byte{
|
||||
0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x64, 0x37, 0x39, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
var file_oidb0xD79_proto_rawDesc = []byte{
|
||||
0x0a, 0x0f, 0x6f, 0x69, 0x64, 0x62, 0x30, 0x78, 0x44, 0x37, 0x39, 0x2e, 0x70, 0x72, 0x6f, 0x74,
|
||||
0x6f, 0x22, 0xbb, 0x01, 0x0a, 0x0a, 0x44, 0x37, 0x39, 0x52, 0x65, 0x71, 0x42, 0x6f, 0x64, 0x79,
|
||||
0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x73,
|
||||
0x65, 0x71, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52,
|
||||
@ -280,24 +279,24 @@ var file_oidb0xd79_proto_rawDesc = []byte{
|
||||
}
|
||||
|
||||
var (
|
||||
file_oidb0xd79_proto_rawDescOnce sync.Once
|
||||
file_oidb0xd79_proto_rawDescData = file_oidb0xd79_proto_rawDesc
|
||||
file_oidb0xD79_proto_rawDescOnce sync.Once
|
||||
file_oidb0xD79_proto_rawDescData = file_oidb0xD79_proto_rawDesc
|
||||
)
|
||||
|
||||
func file_oidb0xd79_proto_rawDescGZIP() []byte {
|
||||
file_oidb0xd79_proto_rawDescOnce.Do(func() {
|
||||
file_oidb0xd79_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0xd79_proto_rawDescData)
|
||||
func file_oidb0xD79_proto_rawDescGZIP() []byte {
|
||||
file_oidb0xD79_proto_rawDescOnce.Do(func() {
|
||||
file_oidb0xD79_proto_rawDescData = protoimpl.X.CompressGZIP(file_oidb0xD79_proto_rawDescData)
|
||||
})
|
||||
return file_oidb0xd79_proto_rawDescData
|
||||
return file_oidb0xD79_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_oidb0xd79_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||
var file_oidb0xd79_proto_goTypes = []interface{}{
|
||||
var file_oidb0xD79_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
|
||||
var file_oidb0xD79_proto_goTypes = []interface{}{
|
||||
(*D79ReqBody)(nil), // 0: D79ReqBody
|
||||
(*D79RspBody)(nil), // 1: D79RspBody
|
||||
(*D79Content)(nil), // 2: D79Content
|
||||
}
|
||||
var file_oidb0xd79_proto_depIdxs = []int32{
|
||||
var file_oidb0xD79_proto_depIdxs = []int32{
|
||||
2, // 0: D79RspBody.content:type_name -> D79Content
|
||||
1, // [1:1] is the sub-list for method output_type
|
||||
1, // [1:1] is the sub-list for method input_type
|
||||
@ -306,13 +305,13 @@ var file_oidb0xd79_proto_depIdxs = []int32{
|
||||
0, // [0:1] is the sub-list for field type_name
|
||||
}
|
||||
|
||||
func init() { file_oidb0xd79_proto_init() }
|
||||
func file_oidb0xd79_proto_init() {
|
||||
if File_oidb0xd79_proto != nil {
|
||||
func init() { file_oidb0xD79_proto_init() }
|
||||
func file_oidb0xD79_proto_init() {
|
||||
if File_oidb0xD79_proto != nil {
|
||||
return
|
||||
}
|
||||
if !protoimpl.UnsafeEnabled {
|
||||
file_oidb0xd79_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_oidb0xD79_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*D79ReqBody); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -324,7 +323,7 @@ func file_oidb0xd79_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_oidb0xd79_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_oidb0xD79_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*D79RspBody); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -336,7 +335,7 @@ func file_oidb0xd79_proto_init() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
file_oidb0xd79_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
file_oidb0xD79_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
||||
switch v := v.(*D79Content); i {
|
||||
case 0:
|
||||
return &v.state
|
||||
@ -353,18 +352,18 @@ func file_oidb0xd79_proto_init() {
|
||||
out := protoimpl.TypeBuilder{
|
||||
File: protoimpl.DescBuilder{
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: file_oidb0xd79_proto_rawDesc,
|
||||
RawDescriptor: file_oidb0xD79_proto_rawDesc,
|
||||
NumEnums: 0,
|
||||
NumMessages: 3,
|
||||
NumExtensions: 0,
|
||||
NumServices: 0,
|
||||
},
|
||||
GoTypes: file_oidb0xd79_proto_goTypes,
|
||||
DependencyIndexes: file_oidb0xd79_proto_depIdxs,
|
||||
MessageInfos: file_oidb0xd79_proto_msgTypes,
|
||||
GoTypes: file_oidb0xD79_proto_goTypes,
|
||||
DependencyIndexes: file_oidb0xD79_proto_depIdxs,
|
||||
MessageInfos: file_oidb0xD79_proto_msgTypes,
|
||||
}.Build()
|
||||
File_oidb0xd79_proto = out.File
|
||||
file_oidb0xd79_proto_rawDesc = nil
|
||||
file_oidb0xd79_proto_goTypes = nil
|
||||
file_oidb0xd79_proto_depIdxs = nil
|
||||
File_oidb0xD79_proto = out.File
|
||||
file_oidb0xD79_proto_rawDesc = nil
|
||||
file_oidb0xD79_proto_goTypes = nil
|
||||
file_oidb0xD79_proto_depIdxs = nil
|
||||
}
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb0xdad.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb0xe07.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb0xe5b.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb0xeac.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
@ -1,18 +1,17 @@
|
||||
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||||
// versions:
|
||||
// protoc-gen-go v1.25.0
|
||||
// protoc v3.11.4
|
||||
// protoc v3.14.0
|
||||
// source: oidb0xec4.proto
|
||||
|
||||
package oidb
|
||||
|
||||
import (
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
|
||||
proto "github.com/golang/protobuf/proto"
|
||||
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
||||
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
||||
reflect "reflect"
|
||||
sync "sync"
|
||||
)
|
||||
|
||||
const (
|
||||
|
Loading…
x
Reference in New Issue
Block a user