github.com/gogo/protobuf@v1.3.2/test/importdedup/subpkg/subproto.pb.go (about) 1 // Code generated by protoc-gen-gogo. DO NOT EDIT. 2 // source: subpkg/subproto.proto 3 4 package subpkg 5 6 import ( 7 fmt "fmt" 8 _ "github.com/gogo/protobuf/gogoproto" 9 proto "github.com/gogo/protobuf/proto" 10 math "math" 11 ) 12 13 // Reference imports to suppress errors if they are not otherwise used. 14 var _ = proto.Marshal 15 var _ = fmt.Errorf 16 var _ = math.Inf 17 18 // This is a compile-time assertion to ensure that this generated file 19 // is compatible with the proto package it is being compiled against. 20 // A compilation error at this line likely means your copy of the 21 // proto package needs to be updated. 22 const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package 23 24 type SubObject struct { 25 XXX_NoUnkeyedLiteral struct{} `json:"-"` 26 XXX_unrecognized []byte `json:"-"` 27 XXX_sizecache int32 `json:"-"` 28 } 29 30 func (m *SubObject) Reset() { *m = SubObject{} } 31 func (m *SubObject) String() string { return proto.CompactTextString(m) } 32 func (*SubObject) ProtoMessage() {} 33 func (*SubObject) Descriptor() ([]byte, []int) { 34 return fileDescriptor_896c12f092e0b025, []int{0} 35 } 36 func (m *SubObject) XXX_Unmarshal(b []byte) error { 37 return xxx_messageInfo_SubObject.Unmarshal(m, b) 38 } 39 func (m *SubObject) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 40 return xxx_messageInfo_SubObject.Marshal(b, m, deterministic) 41 } 42 func (m *SubObject) XXX_Merge(src proto.Message) { 43 xxx_messageInfo_SubObject.Merge(m, src) 44 } 45 func (m *SubObject) XXX_Size() int { 46 return xxx_messageInfo_SubObject.Size(m) 47 } 48 func (m *SubObject) XXX_DiscardUnknown() { 49 xxx_messageInfo_SubObject.DiscardUnknown(m) 50 } 51 52 var xxx_messageInfo_SubObject proto.InternalMessageInfo 53 54 func init() { 55 proto.RegisterType((*SubObject)(nil), "subpkg.SubObject") 56 } 57 58 func init() { proto.RegisterFile("subpkg/subproto.proto", fileDescriptor_896c12f092e0b025) } 59 60 var fileDescriptor_896c12f092e0b025 = []byte{ 61 // 88 bytes of a gzipped FileDescriptorProto 62 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2d, 0x2e, 0x4d, 0x2a, 63 0xc8, 0x4e, 0xd7, 0x07, 0x51, 0x45, 0xf9, 0x25, 0xf9, 0x7a, 0x60, 0x52, 0x88, 0x0d, 0x22, 0x2c, 64 0xa5, 0x9b, 0x9e, 0x59, 0x92, 0x51, 0x9a, 0xa4, 0x97, 0x9c, 0x9f, 0xab, 0x9f, 0x9e, 0x9f, 0x9e, 65 0xaf, 0x0f, 0x96, 0x4e, 0x2a, 0x4d, 0x03, 0xf3, 0xc0, 0x1c, 0x30, 0x0b, 0xa2, 0x4d, 0x89, 0x9b, 66 0x8b, 0x33, 0xb8, 0x34, 0xc9, 0x3f, 0x29, 0x2b, 0x35, 0xb9, 0x04, 0x10, 0x00, 0x00, 0xff, 0xff, 67 0x4e, 0x38, 0xf3, 0x28, 0x5b, 0x00, 0x00, 0x00, 68 }