github.com/gogo/protobuf@v1.3.2/protoc-gen-gogo/testdata/imports/test_a_2/m4.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: imports/test_a_2/m4.proto 3 4 package test_a_2 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.GoGoProtoPackageIsVersion3 // please upgrade the proto package 22 23 type M4 struct { 24 XXX_NoUnkeyedLiteral struct{} `json:"-"` 25 XXX_unrecognized []byte `json:"-"` 26 XXX_sizecache int32 `json:"-"` 27 } 28 29 func (m *M4) Reset() { *m = M4{} } 30 func (m *M4) String() string { return proto.CompactTextString(m) } 31 func (*M4) ProtoMessage() {} 32 func (*M4) Descriptor() ([]byte, []int) { 33 return fileDescriptor_fdd24f82f6c5a786, []int{0} 34 } 35 func (m *M4) XXX_Unmarshal(b []byte) error { 36 return xxx_messageInfo_M4.Unmarshal(m, b) 37 } 38 func (m *M4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 39 return xxx_messageInfo_M4.Marshal(b, m, deterministic) 40 } 41 func (m *M4) XXX_Merge(src proto.Message) { 42 xxx_messageInfo_M4.Merge(m, src) 43 } 44 func (m *M4) XXX_Size() int { 45 return xxx_messageInfo_M4.Size(m) 46 } 47 func (m *M4) XXX_DiscardUnknown() { 48 xxx_messageInfo_M4.DiscardUnknown(m) 49 } 50 51 var xxx_messageInfo_M4 proto.InternalMessageInfo 52 53 func init() { 54 proto.RegisterType((*M4)(nil), "test.a.M4") 55 } 56 57 func init() { proto.RegisterFile("imports/test_a_2/m4.proto", fileDescriptor_fdd24f82f6c5a786) } 58 59 var fileDescriptor_fdd24f82f6c5a786 = []byte{ 60 // 112 bytes of a gzipped FileDescriptorProto 61 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0xcc, 0xcc, 0x2d, 0xc8, 62 0x2f, 0x2a, 0x29, 0xd6, 0x2f, 0x49, 0x2d, 0x2e, 0x89, 0x4f, 0x8c, 0x37, 0xd2, 0xcf, 0x35, 0xd1, 63 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x03, 0x09, 0xe9, 0x25, 0x2a, 0xb1, 0x70, 0x31, 0xf9, 64 0x9a, 0x38, 0xb9, 0x44, 0x39, 0xa5, 0x67, 0x96, 0x64, 0x94, 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 65 0xa7, 0xe7, 0xa7, 0xe7, 0xeb, 0x83, 0x95, 0x25, 0x95, 0xa6, 0x41, 0x18, 0xc9, 0xba, 0xe9, 0xa9, 66 0x79, 0xba, 0x60, 0x09, 0x90, 0xc6, 0x94, 0xc4, 0x92, 0x44, 0x7d, 0x74, 0xc3, 0x93, 0xd8, 0xc0, 67 0x4a, 0x8d, 0x01, 0x01, 0x00, 0x00, 0xff, 0xff, 0x6a, 0xb0, 0xe7, 0x44, 0x77, 0x00, 0x00, 0x00, 68 }