1
2
3
4 package merge
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
14 var _ = proto.Marshal
15 var _ = fmt.Errorf
16 var _ = math.Inf
17
18
19
20
21
22 const _ = proto.GoGoProtoPackageIsVersion3
23
24 type A struct {
25 B B `protobuf:"bytes,1,opt,name=B,proto3" json:"B"`
26 C []C `protobuf:"bytes,2,rep,name=c,proto3" json:"c"`
27 XXX_NoUnkeyedLiteral struct{} `json:"-"`
28 XXX_unrecognized []byte `json:"-"`
29 XXX_sizecache int32 `json:"-"`
30 }
31
32 func (m *A) Reset() { *m = A{} }
33 func (m *A) String() string { return proto.CompactTextString(m) }
34 func (*A) ProtoMessage() {}
35 func (*A) Descriptor() ([]byte, []int) {
36 return fileDescriptor_82caea6f5430298b, []int{0}
37 }
38 func (m *A) XXX_Unmarshal(b []byte) error {
39 return xxx_messageInfo_A.Unmarshal(m, b)
40 }
41 func (m *A) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
42 return xxx_messageInfo_A.Marshal(b, m, deterministic)
43 }
44 func (m *A) XXX_Merge(src proto.Message) {
45 xxx_messageInfo_A.Merge(m, src)
46 }
47 func (m *A) XXX_Size() int {
48 return xxx_messageInfo_A.Size(m)
49 }
50 func (m *A) XXX_DiscardUnknown() {
51 xxx_messageInfo_A.DiscardUnknown(m)
52 }
53
54 var xxx_messageInfo_A proto.InternalMessageInfo
55
56 func (m *A) GetB() B {
57 if m != nil {
58 return m.B
59 }
60 return B{}
61 }
62
63 func (m *A) GetC() []C {
64 if m != nil {
65 return m.C
66 }
67 return nil
68 }
69
70 type B struct {
71 C int64 `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"`
72 XXX_NoUnkeyedLiteral struct{} `json:"-"`
73 XXX_unrecognized []byte `json:"-"`
74 XXX_sizecache int32 `json:"-"`
75 }
76
77 func (m *B) Reset() { *m = B{} }
78 func (m *B) String() string { return proto.CompactTextString(m) }
79 func (*B) ProtoMessage() {}
80 func (*B) Descriptor() ([]byte, []int) {
81 return fileDescriptor_82caea6f5430298b, []int{1}
82 }
83 func (m *B) XXX_Unmarshal(b []byte) error {
84 return xxx_messageInfo_B.Unmarshal(m, b)
85 }
86 func (m *B) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
87 return xxx_messageInfo_B.Marshal(b, m, deterministic)
88 }
89 func (m *B) XXX_Merge(src proto.Message) {
90 xxx_messageInfo_B.Merge(m, src)
91 }
92 func (m *B) XXX_Size() int {
93 return xxx_messageInfo_B.Size(m)
94 }
95 func (m *B) XXX_DiscardUnknown() {
96 xxx_messageInfo_B.DiscardUnknown(m)
97 }
98
99 var xxx_messageInfo_B proto.InternalMessageInfo
100
101 func (m *B) GetC() int64 {
102 if m != nil {
103 return m.C
104 }
105 return 0
106 }
107
108 type C struct {
109 D int64 `protobuf:"varint,1,opt,name=d,proto3" json:"d,omitempty"`
110 XXX_NoUnkeyedLiteral struct{} `json:"-"`
111 XXX_unrecognized []byte `json:"-"`
112 XXX_sizecache int32 `json:"-"`
113 }
114
115 func (m *C) Reset() { *m = C{} }
116 func (m *C) String() string { return proto.CompactTextString(m) }
117 func (*C) ProtoMessage() {}
118 func (*C) Descriptor() ([]byte, []int) {
119 return fileDescriptor_82caea6f5430298b, []int{2}
120 }
121 func (m *C) XXX_Unmarshal(b []byte) error {
122 return xxx_messageInfo_C.Unmarshal(m, b)
123 }
124 func (m *C) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
125 return xxx_messageInfo_C.Marshal(b, m, deterministic)
126 }
127 func (m *C) XXX_Merge(src proto.Message) {
128 xxx_messageInfo_C.Merge(m, src)
129 }
130 func (m *C) XXX_Size() int {
131 return xxx_messageInfo_C.Size(m)
132 }
133 func (m *C) XXX_DiscardUnknown() {
134 xxx_messageInfo_C.DiscardUnknown(m)
135 }
136
137 var xxx_messageInfo_C proto.InternalMessageInfo
138
139 func (m *C) GetD() int64 {
140 if m != nil {
141 return m.D
142 }
143 return 0
144 }
145
146 func init() {
147 proto.RegisterType((*A)(nil), "merge.A")
148 proto.RegisterType((*B)(nil), "merge.B")
149 proto.RegisterType((*C)(nil), "merge.C")
150 }
151
152 func init() { proto.RegisterFile("merge.proto", fileDescriptor_82caea6f5430298b) }
153
154 var fileDescriptor_82caea6f5430298b = []byte{
155
156 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0xce, 0x4d, 0x2d, 0x4a,
157 0x4f, 0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0x05, 0x73, 0xa4, 0x74, 0xd3, 0x33, 0x4b,
158 0x32, 0x4a, 0x93, 0xf4, 0x92, 0xf3, 0x73, 0xf5, 0xd3, 0xf3, 0xd3, 0xf3, 0xf5, 0xc1, 0xb2, 0x49,
159 0xa5, 0x69, 0x60, 0x1e, 0x98, 0x03, 0x66, 0x41, 0x74, 0x29, 0xd9, 0x73, 0x31, 0x3a, 0x0a, 0xc9,
160 0x70, 0x31, 0x3a, 0x49, 0x30, 0x2a, 0x30, 0x6a, 0x70, 0x1b, 0x71, 0xe8, 0x41, 0xcc, 0x74, 0x72,
161 0x62, 0x39, 0x71, 0x4f, 0x9e, 0x21, 0x88, 0xd1, 0x09, 0x24, 0x9b, 0x2c, 0xc1, 0xa4, 0xc0, 0x8c,
162 0x24, 0xeb, 0x0c, 0x93, 0x4d, 0x56, 0x12, 0xe4, 0x62, 0x74, 0x12, 0xe2, 0x01, 0x29, 0x01, 0x19,
163 0xc0, 0x0c, 0x15, 0x72, 0x06, 0x09, 0xa5, 0xc0, 0x84, 0x52, 0x92, 0xd8, 0xc0, 0xb6, 0x19, 0x03,
164 0x02, 0x00, 0x00, 0xff, 0xff, 0x0c, 0xc5, 0xc3, 0x5b, 0xb2, 0x00, 0x00, 0x00,
165 }
166
View as plain text