mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 19:17:38 +08:00
276 lines
7.8 KiB
Go
276 lines
7.8 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.25.0
|
|
// protoc v3.11.4
|
|
// source: protocol.proto
|
|
|
|
package qweb
|
|
|
|
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 QWebReq struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
|
|
Qua string `protobuf:"bytes,2,opt,name=qua,proto3" json:"qua,omitempty"`
|
|
DeviceInfo string `protobuf:"bytes,3,opt,name=deviceInfo,proto3" json:"deviceInfo,omitempty"`
|
|
BusiBuff []byte `protobuf:"bytes,4,opt,name=busiBuff,proto3" json:"busiBuff,omitempty"`
|
|
TraceId string `protobuf:"bytes,5,opt,name=traceId,proto3" json:"traceId,omitempty"`
|
|
}
|
|
|
|
func (x *QWebReq) Reset() {
|
|
*x = QWebReq{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *QWebReq) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QWebReq) ProtoMessage() {}
|
|
|
|
func (x *QWebReq) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_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 QWebReq.ProtoReflect.Descriptor instead.
|
|
func (*QWebReq) Descriptor() ([]byte, []int) {
|
|
return file_protocol_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *QWebReq) GetSeq() int64 {
|
|
if x != nil {
|
|
return x.Seq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *QWebReq) GetQua() string {
|
|
if x != nil {
|
|
return x.Qua
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QWebReq) GetDeviceInfo() string {
|
|
if x != nil {
|
|
return x.DeviceInfo
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QWebReq) GetBusiBuff() []byte {
|
|
if x != nil {
|
|
return x.BusiBuff
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *QWebReq) GetTraceId() string {
|
|
if x != nil {
|
|
return x.TraceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type QWebRsp struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Seq int64 `protobuf:"varint,1,opt,name=seq,proto3" json:"seq,omitempty"`
|
|
RetCode int64 `protobuf:"varint,2,opt,name=retCode,proto3" json:"retCode,omitempty"`
|
|
ErrMsg string `protobuf:"bytes,3,opt,name=errMsg,proto3" json:"errMsg,omitempty"`
|
|
BusiBuff []byte `protobuf:"bytes,4,opt,name=busiBuff,proto3" json:"busiBuff,omitempty"`
|
|
}
|
|
|
|
func (x *QWebRsp) Reset() {
|
|
*x = QWebRsp{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protocol_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *QWebRsp) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*QWebRsp) ProtoMessage() {}
|
|
|
|
func (x *QWebRsp) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protocol_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 QWebRsp.ProtoReflect.Descriptor instead.
|
|
func (*QWebRsp) Descriptor() ([]byte, []int) {
|
|
return file_protocol_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *QWebRsp) GetSeq() int64 {
|
|
if x != nil {
|
|
return x.Seq
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *QWebRsp) GetRetCode() int64 {
|
|
if x != nil {
|
|
return x.RetCode
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *QWebRsp) GetErrMsg() string {
|
|
if x != nil {
|
|
return x.ErrMsg
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *QWebRsp) GetBusiBuff() []byte {
|
|
if x != nil {
|
|
return x.BusiBuff
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_protocol_proto protoreflect.FileDescriptor
|
|
|
|
var file_protocol_proto_rawDesc = []byte{
|
|
0x0a, 0x0e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
|
|
0x22, 0x83, 0x01, 0x0a, 0x07, 0x51, 0x57, 0x65, 0x62, 0x52, 0x65, 0x71, 0x12, 0x10, 0x0a, 0x03,
|
|
0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x73, 0x65, 0x71, 0x12, 0x10,
|
|
0x0a, 0x03, 0x71, 0x75, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x71, 0x75, 0x61,
|
|
0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x18, 0x03,
|
|
0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x65, 0x76, 0x69, 0x63, 0x65, 0x49, 0x6e, 0x66, 0x6f,
|
|
0x12, 0x1a, 0x0a, 0x08, 0x62, 0x75, 0x73, 0x69, 0x42, 0x75, 0x66, 0x66, 0x18, 0x04, 0x20, 0x01,
|
|
0x28, 0x0c, 0x52, 0x08, 0x62, 0x75, 0x73, 0x69, 0x42, 0x75, 0x66, 0x66, 0x12, 0x18, 0x0a, 0x07,
|
|
0x74, 0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74,
|
|
0x72, 0x61, 0x63, 0x65, 0x49, 0x64, 0x22, 0x69, 0x0a, 0x07, 0x51, 0x57, 0x65, 0x62, 0x52, 0x73,
|
|
0x70, 0x12, 0x10, 0x0a, 0x03, 0x73, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03,
|
|
0x73, 0x65, 0x71, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02,
|
|
0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x72, 0x65, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x16, 0x0a,
|
|
0x06, 0x65, 0x72, 0x72, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65,
|
|
0x72, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x62, 0x75, 0x73, 0x69, 0x42, 0x75, 0x66,
|
|
0x66, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x62, 0x75, 0x73, 0x69, 0x42, 0x75, 0x66,
|
|
0x66, 0x42, 0x08, 0x5a, 0x06, 0x2e, 0x3b, 0x71, 0x77, 0x65, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_protocol_proto_rawDescOnce sync.Once
|
|
file_protocol_proto_rawDescData = file_protocol_proto_rawDesc
|
|
)
|
|
|
|
func file_protocol_proto_rawDescGZIP() []byte {
|
|
file_protocol_proto_rawDescOnce.Do(func() {
|
|
file_protocol_proto_rawDescData = protoimpl.X.CompressGZIP(file_protocol_proto_rawDescData)
|
|
})
|
|
return file_protocol_proto_rawDescData
|
|
}
|
|
|
|
var file_protocol_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
|
|
var file_protocol_proto_goTypes = []interface{}{
|
|
(*QWebReq)(nil), // 0: QWebReq
|
|
(*QWebRsp)(nil), // 1: QWebRsp
|
|
}
|
|
var file_protocol_proto_depIdxs = []int32{
|
|
0, // [0:0] is the sub-list for method output_type
|
|
0, // [0:0] is the sub-list for method input_type
|
|
0, // [0:0] is the sub-list for extension type_name
|
|
0, // [0:0] is the sub-list for extension extendee
|
|
0, // [0:0] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_protocol_proto_init() }
|
|
func file_protocol_proto_init() {
|
|
if File_protocol_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_protocol_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*QWebReq); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protocol_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*QWebRsp); 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_protocol_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 2,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_protocol_proto_goTypes,
|
|
DependencyIndexes: file_protocol_proto_depIdxs,
|
|
MessageInfos: file_protocol_proto_msgTypes,
|
|
}.Build()
|
|
File_protocol_proto = out.File
|
|
file_protocol_proto_rawDesc = nil
|
|
file_protocol_proto_goTypes = nil
|
|
file_protocol_proto_depIdxs = nil
|
|
}
|