github.com/gogo/protobuf@v1.3.2/protoc-gen-gogo/testdata/imports/test_b_1/m1.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: imports/test_b_1/m1.proto 3 4 package beta 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 M1 struct { 24 XXX_NoUnkeyedLiteral struct{} `json:"-"` 25 XXX_unrecognized []byte `json:"-"` 26 XXX_sizecache int32 `json:"-"` 27 } 28 29 func (m *M1) Reset() { *m = M1{} } 30 func (m *M1) String() string { return proto.CompactTextString(m) } 31 func (*M1) ProtoMessage() {} 32 func (*M1) Descriptor() ([]byte, []int) { 33 return fileDescriptor_7f49573d035512a8, []int{0} 34 } 35 func (m *M1) XXX_Unmarshal(b []byte) error { 36 return xxx_messageInfo_M1.Unmarshal(m, b) 37 } 38 func (m *M1) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 39 return xxx_messageInfo_M1.Marshal(b, m, deterministic) 40 } 41 func (m *M1) XXX_Merge(src proto.Message) { 42 xxx_messageInfo_M1.Merge(m, src) 43 } 44 func (m *M1) XXX_Size() int { 45 return xxx_messageInfo_M1.Size(m) 46 } 47 func (m *M1) XXX_DiscardUnknown() { 48 xxx_messageInfo_M1.DiscardUnknown(m) 49 } 50 51 var xxx_messageInfo_M1 proto.InternalMessageInfo 52 53 func init() { 54 proto.RegisterType((*M1)(nil), "test.b.part1.M1") 55 } 56 57 func init() { proto.RegisterFile("imports/test_b_1/m1.proto", fileDescriptor_7f49573d035512a8) } 58 59 var fileDescriptor_7f49573d035512a8 = []byte{ 60 // 123 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, 0x8a, 0x37, 0xd4, 0xcf, 0x35, 0xd4, 63 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0xe2, 0x01, 0x09, 0xe9, 0x25, 0xe9, 0x15, 0x24, 0x16, 0x95, 64 0x18, 0x2a, 0xb1, 0x70, 0x31, 0xf9, 0x1a, 0x3a, 0x79, 0x46, 0xb9, 0xa7, 0x67, 0x96, 0x64, 0x94, 65 0x26, 0xe9, 0x25, 0xe7, 0xe7, 0xea, 0xa7, 0xe7, 0xa7, 0xe7, 0xeb, 0x83, 0x15, 0x27, 0x95, 0xa6, 66 0x41, 0x18, 0xc9, 0xba, 0xe9, 0xa9, 0x79, 0xba, 0x60, 0x09, 0x90, 0xf6, 0x94, 0xc4, 0x92, 0x44, 67 0x7d, 0x74, 0x2b, 0xac, 0x93, 0x52, 0x4b, 0x12, 0x93, 0xd8, 0xc0, 0xea, 0x8d, 0x01, 0x01, 0x00, 68 0x00, 0xff, 0xff, 0x23, 0x8f, 0x59, 0x3f, 0x82, 0x00, 0x00, 0x00, 69 }