mirror of
https://github.com/yincongcyincong/wechat_chatter.git
synced 2026-07-15 10:26:52 +08:00
258 lines
7.9 KiB
Go
258 lines
7.9 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v3.5.1
|
|
// source: file_msg.proto
|
|
|
|
package wxproto
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
unsafe "unsafe"
|
|
)
|
|
|
|
const (
|
|
// Verify that this generated code is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
|
|
// Verify that runtime/protoimpl is sufficiently up-to-date.
|
|
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
|
|
)
|
|
|
|
// /cgi-bin/micromsg-bin/sendfileuploadmsg 请求
|
|
type SendFileUploadMsgRequest struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
BaseRequest *ReplyMsgHeader `protobuf:"bytes,1,opt,name=baseRequest" json:"baseRequest,omitempty"`
|
|
ToUserName *string `protobuf:"bytes,2,opt,name=toUserName" json:"toUserName,omitempty"`
|
|
ClientMsgId *string `protobuf:"bytes,3,opt,name=clientMsgId" json:"clientMsgId,omitempty"`
|
|
MsgType *uint32 `protobuf:"varint,4,opt,name=msgType" json:"msgType,omitempty"`
|
|
FileInfo *FileUploadFileInfo `protobuf:"bytes,5,opt,name=fileInfo" json:"fileInfo,omitempty"`
|
|
Field7 *uint32 `protobuf:"varint,7,opt,name=field7" json:"field7,omitempty"`
|
|
Field12 *uint32 `protobuf:"varint,12,opt,name=field12" json:"field12,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *SendFileUploadMsgRequest) Reset() {
|
|
*x = SendFileUploadMsgRequest{}
|
|
mi := &file_file_msg_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *SendFileUploadMsgRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*SendFileUploadMsgRequest) ProtoMessage() {}
|
|
|
|
func (x *SendFileUploadMsgRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_file_msg_proto_msgTypes[0]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use SendFileUploadMsgRequest.ProtoReflect.Descriptor instead.
|
|
func (*SendFileUploadMsgRequest) Descriptor() ([]byte, []int) {
|
|
return file_file_msg_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *SendFileUploadMsgRequest) GetBaseRequest() *ReplyMsgHeader {
|
|
if x != nil {
|
|
return x.BaseRequest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SendFileUploadMsgRequest) GetToUserName() string {
|
|
if x != nil && x.ToUserName != nil {
|
|
return *x.ToUserName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendFileUploadMsgRequest) GetClientMsgId() string {
|
|
if x != nil && x.ClientMsgId != nil {
|
|
return *x.ClientMsgId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *SendFileUploadMsgRequest) GetMsgType() uint32 {
|
|
if x != nil && x.MsgType != nil {
|
|
return *x.MsgType
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendFileUploadMsgRequest) GetFileInfo() *FileUploadFileInfo {
|
|
if x != nil {
|
|
return x.FileInfo
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *SendFileUploadMsgRequest) GetField7() uint32 {
|
|
if x != nil && x.Field7 != nil {
|
|
return *x.Field7
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *SendFileUploadMsgRequest) GetField12() uint32 {
|
|
if x != nil && x.Field12 != nil {
|
|
return *x.Field12
|
|
}
|
|
return 0
|
|
}
|
|
|
|
type FileUploadFileInfo struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
FileName *string `protobuf:"bytes,1,opt,name=fileName" json:"fileName,omitempty"`
|
|
FileExt *string `protobuf:"bytes,2,opt,name=fileExt" json:"fileExt,omitempty"`
|
|
FileMd5 *string `protobuf:"bytes,3,opt,name=fileMd5" json:"fileMd5,omitempty"`
|
|
FileSize *uint32 `protobuf:"varint,4,opt,name=fileSize" json:"fileSize,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *FileUploadFileInfo) Reset() {
|
|
*x = FileUploadFileInfo{}
|
|
mi := &file_file_msg_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *FileUploadFileInfo) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*FileUploadFileInfo) ProtoMessage() {}
|
|
|
|
func (x *FileUploadFileInfo) ProtoReflect() protoreflect.Message {
|
|
mi := &file_file_msg_proto_msgTypes[1]
|
|
if x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use FileUploadFileInfo.ProtoReflect.Descriptor instead.
|
|
func (*FileUploadFileInfo) Descriptor() ([]byte, []int) {
|
|
return file_file_msg_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *FileUploadFileInfo) GetFileName() string {
|
|
if x != nil && x.FileName != nil {
|
|
return *x.FileName
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileUploadFileInfo) GetFileExt() string {
|
|
if x != nil && x.FileExt != nil {
|
|
return *x.FileExt
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileUploadFileInfo) GetFileMd5() string {
|
|
if x != nil && x.FileMd5 != nil {
|
|
return *x.FileMd5
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *FileUploadFileInfo) GetFileSize() uint32 {
|
|
if x != nil && x.FileSize != nil {
|
|
return *x.FileSize
|
|
}
|
|
return 0
|
|
}
|
|
|
|
var File_file_msg_proto protoreflect.FileDescriptor
|
|
|
|
const file_file_msg_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x0efile_msg.proto\x12\awxproto\x1a\rapp_msg.proto\"\x9c\x02\n" +
|
|
"\x18SendFileUploadMsgRequest\x129\n" +
|
|
"\vbaseRequest\x18\x01 \x01(\v2\x17.wxproto.ReplyMsgHeaderR\vbaseRequest\x12\x1e\n" +
|
|
"\n" +
|
|
"toUserName\x18\x02 \x01(\tR\n" +
|
|
"toUserName\x12 \n" +
|
|
"\vclientMsgId\x18\x03 \x01(\tR\vclientMsgId\x12\x18\n" +
|
|
"\amsgType\x18\x04 \x01(\rR\amsgType\x127\n" +
|
|
"\bfileInfo\x18\x05 \x01(\v2\x1b.wxproto.FileUploadFileInfoR\bfileInfo\x12\x16\n" +
|
|
"\x06field7\x18\a \x01(\rR\x06field7\x12\x18\n" +
|
|
"\afield12\x18\f \x01(\rR\afield12\"\x80\x01\n" +
|
|
"\x12FileUploadFileInfo\x12\x1a\n" +
|
|
"\bfileName\x18\x01 \x01(\tR\bfileName\x12\x18\n" +
|
|
"\afileExt\x18\x02 \x01(\tR\afileExt\x12\x18\n" +
|
|
"\afileMd5\x18\x03 \x01(\tR\afileMd5\x12\x1a\n" +
|
|
"\bfileSize\x18\x04 \x01(\rR\bfileSizeB>Z<github.com/yincongcyincong/weixin-macos/onebot/proto;wxproto"
|
|
|
|
var (
|
|
file_file_msg_proto_rawDescOnce sync.Once
|
|
file_file_msg_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_file_msg_proto_rawDescGZIP() []byte {
|
|
file_file_msg_proto_rawDescOnce.Do(func() {
|
|
file_file_msg_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_file_msg_proto_rawDesc), len(file_file_msg_proto_rawDesc)))
|
|
})
|
|
return file_file_msg_proto_rawDescData
|
|
}
|
|
|
|
var file_file_msg_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
var file_file_msg_proto_goTypes = []any{
|
|
(*SendFileUploadMsgRequest)(nil), // 0: wxproto.SendFileUploadMsgRequest
|
|
(*FileUploadFileInfo)(nil), // 1: wxproto.FileUploadFileInfo
|
|
(*ReplyMsgHeader)(nil), // 2: wxproto.ReplyMsgHeader
|
|
}
|
|
var file_file_msg_proto_depIdxs = []int32{
|
|
2, // 0: wxproto.SendFileUploadMsgRequest.baseRequest:type_name -> wxproto.ReplyMsgHeader
|
|
1, // 1: wxproto.SendFileUploadMsgRequest.fileInfo:type_name -> wxproto.FileUploadFileInfo
|
|
2, // [2:2] is the sub-list for method output_type
|
|
2, // [2:2] is the sub-list for method input_type
|
|
2, // [2:2] is the sub-list for extension type_name
|
|
2, // [2:2] is the sub-list for extension extendee
|
|
0, // [0:2] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_file_msg_proto_init() }
|
|
func file_file_msg_proto_init() {
|
|
if File_file_msg_proto != nil {
|
|
return
|
|
}
|
|
file_app_msg_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_file_msg_proto_rawDesc), len(file_file_msg_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 2,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_file_msg_proto_goTypes,
|
|
DependencyIndexes: file_file_msg_proto_depIdxs,
|
|
MessageInfos: file_file_msg_proto_msgTypes,
|
|
}.Build()
|
|
File_file_msg_proto = out.File
|
|
file_file_msg_proto_goTypes = nil
|
|
file_file_msg_proto_depIdxs = nil
|
|
}
|