mirror of
https://github.com/yincongcyincong/wechat_chatter.git
synced 2026-07-15 10:26:52 +08:00
214 lines
6.5 KiB
Go
214 lines
6.5 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.36.11
|
|
// protoc v3.5.1
|
|
// source: check_md5.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/checkmd5 请求
|
|
type CheckMd5Request struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
BaseRequest *ReplyMsgHeader `protobuf:"bytes,1,opt,name=baseRequest" json:"baseRequest,omitempty"`
|
|
FileKey *string `protobuf:"bytes,2,opt,name=fileKey" json:"fileKey,omitempty"` // CDN file key (attachid)
|
|
FileMd5 *string `protobuf:"bytes,3,opt,name=fileMd5" json:"fileMd5,omitempty"` // 文件MD5 (32位hex字符串)
|
|
Field4 []byte `protobuf:"bytes,4,opt,name=field4" json:"field4,omitempty"` // 空
|
|
Field5 *uint32 `protobuf:"varint,5,opt,name=field5" json:"field5,omitempty"` // 0
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CheckMd5Request) Reset() {
|
|
*x = CheckMd5Request{}
|
|
mi := &file_check_md5_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CheckMd5Request) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CheckMd5Request) ProtoMessage() {}
|
|
|
|
func (x *CheckMd5Request) ProtoReflect() protoreflect.Message {
|
|
mi := &file_check_md5_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 CheckMd5Request.ProtoReflect.Descriptor instead.
|
|
func (*CheckMd5Request) Descriptor() ([]byte, []int) {
|
|
return file_check_md5_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *CheckMd5Request) GetBaseRequest() *ReplyMsgHeader {
|
|
if x != nil {
|
|
return x.BaseRequest
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CheckMd5Request) GetFileKey() string {
|
|
if x != nil && x.FileKey != nil {
|
|
return *x.FileKey
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CheckMd5Request) GetFileMd5() string {
|
|
if x != nil && x.FileMd5 != nil {
|
|
return *x.FileMd5
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CheckMd5Request) GetField4() []byte {
|
|
if x != nil {
|
|
return x.Field4
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CheckMd5Request) GetField5() uint32 {
|
|
if x != nil && x.Field5 != nil {
|
|
return *x.Field5
|
|
}
|
|
return 0
|
|
}
|
|
|
|
// /cgi-bin/micromsg-bin/checkmd5 响应
|
|
type CheckMd5Response struct {
|
|
state protoimpl.MessageState `protogen:"open.v1"`
|
|
BaseResponse *BaseResponse `protobuf:"bytes,1,opt,name=baseResponse" json:"baseResponse,omitempty"`
|
|
unknownFields protoimpl.UnknownFields
|
|
sizeCache protoimpl.SizeCache
|
|
}
|
|
|
|
func (x *CheckMd5Response) Reset() {
|
|
*x = CheckMd5Response{}
|
|
mi := &file_check_md5_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
|
|
func (x *CheckMd5Response) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CheckMd5Response) ProtoMessage() {}
|
|
|
|
func (x *CheckMd5Response) ProtoReflect() protoreflect.Message {
|
|
mi := &file_check_md5_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 CheckMd5Response.ProtoReflect.Descriptor instead.
|
|
func (*CheckMd5Response) Descriptor() ([]byte, []int) {
|
|
return file_check_md5_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *CheckMd5Response) GetBaseResponse() *BaseResponse {
|
|
if x != nil {
|
|
return x.BaseResponse
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_check_md5_proto protoreflect.FileDescriptor
|
|
|
|
const file_check_md5_proto_rawDesc = "" +
|
|
"\n" +
|
|
"\x0fcheck_md5.proto\x12\awxproto\x1a\rapp_msg.proto\x1a\x11common_resp.proto\"\xb0\x01\n" +
|
|
"\x0fCheckMd5Request\x129\n" +
|
|
"\vbaseRequest\x18\x01 \x01(\v2\x17.wxproto.ReplyMsgHeaderR\vbaseRequest\x12\x18\n" +
|
|
"\afileKey\x18\x02 \x01(\tR\afileKey\x12\x18\n" +
|
|
"\afileMd5\x18\x03 \x01(\tR\afileMd5\x12\x16\n" +
|
|
"\x06field4\x18\x04 \x01(\fR\x06field4\x12\x16\n" +
|
|
"\x06field5\x18\x05 \x01(\rR\x06field5\"M\n" +
|
|
"\x10CheckMd5Response\x129\n" +
|
|
"\fbaseResponse\x18\x01 \x01(\v2\x15.wxproto.BaseResponseR\fbaseResponseB>Z<github.com/yincongcyincong/weixin-macos/onebot/proto;wxproto"
|
|
|
|
var (
|
|
file_check_md5_proto_rawDescOnce sync.Once
|
|
file_check_md5_proto_rawDescData []byte
|
|
)
|
|
|
|
func file_check_md5_proto_rawDescGZIP() []byte {
|
|
file_check_md5_proto_rawDescOnce.Do(func() {
|
|
file_check_md5_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_check_md5_proto_rawDesc), len(file_check_md5_proto_rawDesc)))
|
|
})
|
|
return file_check_md5_proto_rawDescData
|
|
}
|
|
|
|
var file_check_md5_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
var file_check_md5_proto_goTypes = []any{
|
|
(*CheckMd5Request)(nil), // 0: wxproto.CheckMd5Request
|
|
(*CheckMd5Response)(nil), // 1: wxproto.CheckMd5Response
|
|
(*ReplyMsgHeader)(nil), // 2: wxproto.ReplyMsgHeader
|
|
(*BaseResponse)(nil), // 3: wxproto.BaseResponse
|
|
}
|
|
var file_check_md5_proto_depIdxs = []int32{
|
|
2, // 0: wxproto.CheckMd5Request.baseRequest:type_name -> wxproto.ReplyMsgHeader
|
|
3, // 1: wxproto.CheckMd5Response.baseResponse:type_name -> wxproto.BaseResponse
|
|
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_check_md5_proto_init() }
|
|
func file_check_md5_proto_init() {
|
|
if File_check_md5_proto != nil {
|
|
return
|
|
}
|
|
file_app_msg_proto_init()
|
|
file_common_resp_proto_init()
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: unsafe.Slice(unsafe.StringData(file_check_md5_proto_rawDesc), len(file_check_md5_proto_rawDesc)),
|
|
NumEnums: 0,
|
|
NumMessages: 2,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_check_md5_proto_goTypes,
|
|
DependencyIndexes: file_check_md5_proto_depIdxs,
|
|
MessageInfos: file_check_md5_proto_msgTypes,
|
|
}.Build()
|
|
File_check_md5_proto = out.File
|
|
file_check_md5_proto_goTypes = nil
|
|
file_check_md5_proto_depIdxs = nil
|
|
}
|