github.com/gogo/protobuf@v1.3.2/protoc-gen-gogo/testdata/imports/fmt/m.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: imports/fmt/m.proto 3 4 package fmt 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 M struct { 24 XXX_NoUnkeyedLiteral struct{} `json:"-"` 25 XXX_unrecognized []byte `json:"-"` 26 XXX_sizecache int32 `json:"-"` 27 } 28 29 func (m *M) Reset() { *m = M{} } 30 func (m *M) String() string { return proto.CompactTextString(m) } 31 func (*M) ProtoMessage() {} 32 func (*M) Descriptor() ([]byte, []int) { 33 return fileDescriptor_72c126fcd452e392, []int{0} 34 } 35 func (m *M) XXX_Unmarshal(b []byte) error { 36 return xxx_messageInfo_M.Unmarshal(m, b) 37 } 38 func (m *M) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 39 return xxx_messageInfo_M.Marshal(b, m, deterministic) 40 } 41 func (m *M) XXX_Merge(src proto.Message) { 42 xxx_messageInfo_M.Merge(m, src) 43 } 44 func (m *M) XXX_Size() int { 45 return xxx_messageInfo_M.Size(m) 46 } 47 func (m *M) XXX_DiscardUnknown() { 48 xxx_messageInfo_M.DiscardUnknown(m) 49 } 50 51 var xxx_messageInfo_M proto.InternalMessageInfo 52 53 func init() { 54 proto.RegisterType((*M)(nil), "fmt.M") 55 } 56 57 func init() { proto.RegisterFile("imports/fmt/m.proto", fileDescriptor_72c126fcd452e392) } 58 59 var fileDescriptor_72c126fcd452e392 = []byte{ 60 // 106 bytes of a gzipped FileDescriptorProto 61 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0xce, 0xcc, 0x2d, 0xc8, 62 0x2f, 0x2a, 0x29, 0xd6, 0x4f, 0xcb, 0x2d, 0xd1, 0xcf, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 63 0x62, 0x4e, 0xcb, 0x2d, 0x51, 0x62, 0xe6, 0x62, 0xf4, 0x75, 0xb2, 0x8f, 0xb2, 0x4d, 0xcf, 0x2c, 64 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x4f, 0xcf, 0x4f, 0xcf, 0xd7, 0x07, 0x2b, 0x49, 65 0x2a, 0x4d, 0x83, 0x30, 0x92, 0x75, 0xd3, 0x53, 0xf3, 0x74, 0xc1, 0x12, 0x25, 0xa9, 0xc5, 0x25, 66 0x29, 0x89, 0x25, 0x89, 0xfa, 0x48, 0x46, 0x26, 0xb1, 0x81, 0x55, 0x19, 0x03, 0x02, 0x00, 0x00, 67 0xff, 0xff, 0xb8, 0x58, 0x3e, 0xf6, 0x68, 0x00, 0x00, 0x00, 68 }