github.com/qiuhoude/go-web@v0.0.0-20220223060959-ab545e78f20d/proto/v2/models/Base.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: Base.proto 3 4 package models 5 6 import ( 7 fmt "fmt" 8 proto "github.com/gogo/protobuf/proto" 9 math "math" 10 ) 11 12 // Reference imports to suppress errors if they are not otherwise used. 13 var _ = proto.Marshal 14 var _ = fmt.Errorf 15 var _ = math.Inf 16 17 // This is a compile-time assertion to ensure that this generated file 18 // is compatible with the proto package it is being compiled against. 19 // A compilation error at this line likely means your copy of the 20 // proto package needs to be updated. 21 const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package 22 23 type Base struct { 24 Cmd *int32 `protobuf:"varint,1,req,name=cmd" json:"cmd,omitempty"` 25 Code *int32 `protobuf:"varint,2,opt,name=code" json:"code,omitempty"` 26 Param *int64 `protobuf:"varint,3,opt,name=param" json:"param,omitempty"` 27 LordId *int64 `protobuf:"varint,4,opt,name=lordId" json:"lordId,omitempty"` 28 XXX_NoUnkeyedLiteral struct{} `json:"-"` 29 proto.XXX_InternalExtensions `json:"-"` 30 XXX_unrecognized []byte `json:"-"` 31 XXX_sizecache int32 `json:"-"` 32 } 33 34 func (m *Base) Reset() { *m = Base{} } 35 func (m *Base) String() string { return proto.CompactTextString(m) } 36 func (*Base) ProtoMessage() {} 37 func (*Base) Descriptor() ([]byte, []int) { 38 return fileDescriptor_70eaf8cd7d110228, []int{0} 39 } 40 41 var extRange_Base = []proto.ExtensionRange{ 42 {Start: 100, End: 536870911}, 43 } 44 45 func (*Base) ExtensionRangeArray() []proto.ExtensionRange { 46 return extRange_Base 47 } 48 49 func (m *Base) XXX_Unmarshal(b []byte) error { 50 return xxx_messageInfo_Base.Unmarshal(m, b) 51 } 52 func (m *Base) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 53 return xxx_messageInfo_Base.Marshal(b, m, deterministic) 54 } 55 func (m *Base) XXX_Merge(src proto.Message) { 56 xxx_messageInfo_Base.Merge(m, src) 57 } 58 func (m *Base) XXX_Size() int { 59 return xxx_messageInfo_Base.Size(m) 60 } 61 func (m *Base) XXX_DiscardUnknown() { 62 xxx_messageInfo_Base.DiscardUnknown(m) 63 } 64 65 var xxx_messageInfo_Base proto.InternalMessageInfo 66 67 func (m *Base) GetCmd() int32 { 68 if m != nil && m.Cmd != nil { 69 return *m.Cmd 70 } 71 return 0 72 } 73 74 func (m *Base) GetCode() int32 { 75 if m != nil && m.Code != nil { 76 return *m.Code 77 } 78 return 0 79 } 80 81 func (m *Base) GetParam() int64 { 82 if m != nil && m.Param != nil { 83 return *m.Param 84 } 85 return 0 86 } 87 88 func (m *Base) GetLordId() int64 { 89 if m != nil && m.LordId != nil { 90 return *m.LordId 91 } 92 return 0 93 } 94 95 func init() { 96 proto.RegisterType((*Base)(nil), "Base") 97 } 98 99 func init() { proto.RegisterFile("Base.proto", fileDescriptor_70eaf8cd7d110228) } 100 101 var fileDescriptor_70eaf8cd7d110228 = []byte{ 102 // 176 bytes of a gzipped FileDescriptorProto 103 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x1c, 0xce, 0x3d, 0x6b, 0x80, 0x30, 104 0x10, 0x80, 0x61, 0xfc, 0x44, 0xae, 0x1f, 0x94, 0x4c, 0xa1, 0x93, 0x74, 0x12, 0xa1, 0x09, 0xf4, 105 0x27, 0xb8, 0xb5, 0x93, 0x73, 0xb7, 0x24, 0x77, 0xa8, 0x60, 0x3c, 0x1b, 0x4d, 0x5d, 0xf3, 0xd3, 106 0x8b, 0x1d, 0x9f, 0xe9, 0x7d, 0x01, 0x06, 0x73, 0x90, 0xda, 0x03, 0x9f, 0xfc, 0xf6, 0x05, 0xe5, 107 0x2d, 0xf1, 0x00, 0x85, 0xf3, 0x28, 0xb3, 0x36, 0xef, 0x2a, 0xf1, 0x08, 0xa5, 0x63, 0x24, 0x99, 108 0xb7, 0x59, 0x57, 0x89, 0x27, 0xa8, 0x76, 0x13, 0x8c, 0x97, 0x45, 0x9b, 0x75, 0x85, 0x78, 0x86, 109 0x7a, 0xe5, 0x80, 0x9f, 0x28, 0xcb, 0xdb, 0x7d, 0xd3, 0xe0, 0x4b, 0x4a, 0x29, 0xe5, 0xc3, 0x08, 110 0xaf, 0x8e, 0xbd, 0x9a, 0xe3, 0x86, 0x81, 0xd0, 0xd1, 0x76, 0xaa, 0xc9, 0x78, 0x52, 0xfe, 0x52, 111 0xbb, 0x1d, 0xea, 0xbb, 0x33, 0xda, 0xef, 0x7e, 0x5a, 0xce, 0x39, 0x5a, 0xe5, 0xd8, 0xeb, 0x9f, 112 0x25, 0xce, 0x1c, 0x91, 0xf4, 0xc4, 0xef, 0x17, 0x59, 0xfd, 0xff, 0xa4, 0x7f, 0x3f, 0xb4, 0x67, 113 0xa4, 0xf5, 0xf8, 0x0b, 0x00, 0x00, 0xff, 0xff, 0x85, 0xc5, 0xa8, 0x7d, 0xaa, 0x00, 0x00, 0x00, 114 }