1
2
3
4
5
6
7
8
9
10
11 package examplepb
12
13 import (
14 _ "google.golang.org/genproto/googleapis/api/annotations"
15 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
16 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
17 reflect "reflect"
18 sync "sync"
19 )
20
21 const (
22
23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
24
25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
26 )
27
28
29 type InMessageA struct {
30 state protoimpl.MessageState
31 sizeCache protoimpl.SizeCache
32 unknownFields protoimpl.UnknownFields
33
34
35 Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
36 }
37
38 func (x *InMessageA) Reset() {
39 *x = InMessageA{}
40 if protoimpl.UnsafeEnabled {
41 mi := &file_examples_internal_proto_examplepb_openapi_merge_a_proto_msgTypes[0]
42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
43 ms.StoreMessageInfo(mi)
44 }
45 }
46
47 func (x *InMessageA) String() string {
48 return protoimpl.X.MessageStringOf(x)
49 }
50
51 func (*InMessageA) ProtoMessage() {}
52
53 func (x *InMessageA) ProtoReflect() protoreflect.Message {
54 mi := &file_examples_internal_proto_examplepb_openapi_merge_a_proto_msgTypes[0]
55 if protoimpl.UnsafeEnabled && x != nil {
56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
57 if ms.LoadMessageInfo() == nil {
58 ms.StoreMessageInfo(mi)
59 }
60 return ms
61 }
62 return mi.MessageOf(x)
63 }
64
65
66 func (*InMessageA) Descriptor() ([]byte, []int) {
67 return file_examples_internal_proto_examplepb_openapi_merge_a_proto_rawDescGZIP(), []int{0}
68 }
69
70 func (x *InMessageA) GetValues() []string {
71 if x != nil {
72 return x.Values
73 }
74 return nil
75 }
76
77
78 type OutMessageA struct {
79 state protoimpl.MessageState
80 sizeCache protoimpl.SizeCache
81 unknownFields protoimpl.UnknownFields
82
83
84 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
85 }
86
87 func (x *OutMessageA) Reset() {
88 *x = OutMessageA{}
89 if protoimpl.UnsafeEnabled {
90 mi := &file_examples_internal_proto_examplepb_openapi_merge_a_proto_msgTypes[1]
91 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
92 ms.StoreMessageInfo(mi)
93 }
94 }
95
96 func (x *OutMessageA) String() string {
97 return protoimpl.X.MessageStringOf(x)
98 }
99
100 func (*OutMessageA) ProtoMessage() {}
101
102 func (x *OutMessageA) ProtoReflect() protoreflect.Message {
103 mi := &file_examples_internal_proto_examplepb_openapi_merge_a_proto_msgTypes[1]
104 if protoimpl.UnsafeEnabled && x != nil {
105 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
106 if ms.LoadMessageInfo() == nil {
107 ms.StoreMessageInfo(mi)
108 }
109 return ms
110 }
111 return mi.MessageOf(x)
112 }
113
114
115 func (*OutMessageA) Descriptor() ([]byte, []int) {
116 return file_examples_internal_proto_examplepb_openapi_merge_a_proto_rawDescGZIP(), []int{1}
117 }
118
119 func (x *OutMessageA) GetValue() string {
120 if x != nil {
121 return x.Value
122 }
123 return ""
124 }
125
126
127 type OutMessageC struct {
128 state protoimpl.MessageState
129 sizeCache protoimpl.SizeCache
130 unknownFields protoimpl.UnknownFields
131
132
133 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
134 }
135
136 func (x *OutMessageC) Reset() {
137 *x = OutMessageC{}
138 if protoimpl.UnsafeEnabled {
139 mi := &file_examples_internal_proto_examplepb_openapi_merge_a_proto_msgTypes[2]
140 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
141 ms.StoreMessageInfo(mi)
142 }
143 }
144
145 func (x *OutMessageC) String() string {
146 return protoimpl.X.MessageStringOf(x)
147 }
148
149 func (*OutMessageC) ProtoMessage() {}
150
151 func (x *OutMessageC) ProtoReflect() protoreflect.Message {
152 mi := &file_examples_internal_proto_examplepb_openapi_merge_a_proto_msgTypes[2]
153 if protoimpl.UnsafeEnabled && x != nil {
154 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
155 if ms.LoadMessageInfo() == nil {
156 ms.StoreMessageInfo(mi)
157 }
158 return ms
159 }
160 return mi.MessageOf(x)
161 }
162
163
164 func (*OutMessageC) Descriptor() ([]byte, []int) {
165 return file_examples_internal_proto_examplepb_openapi_merge_a_proto_rawDescGZIP(), []int{2}
166 }
167
168 func (x *OutMessageC) GetValue() string {
169 if x != nil {
170 return x.Value
171 }
172 return ""
173 }
174
175 var File_examples_internal_proto_examplepb_openapi_merge_a_proto protoreflect.FileDescriptor
176
177 var file_examples_internal_proto_examplepb_openapi_merge_a_proto_rawDesc = []byte{
178 0x0a, 0x37, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
179 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c,
180 0x65, 0x70, 0x62, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x5f, 0x6d, 0x65, 0x72, 0x67,
181 0x65, 0x5f, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, 0x72, 0x70, 0x63, 0x2e,
182 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73,
183 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c,
184 0x65, 0x70, 0x62, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
185 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
186 0x6f, 0x22, 0x24, 0x0a, 0x0a, 0x49, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x12,
187 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52,
188 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, 0x23, 0x0a, 0x0b, 0x4f, 0x75, 0x74, 0x4d, 0x65,
189 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
190 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x23, 0x0a, 0x0b,
191 0x4f, 0x75, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x43, 0x12, 0x14, 0x0a, 0x05, 0x76,
192 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
193 0x65, 0x32, 0xb8, 0x02, 0x0a, 0x08, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x12, 0x94,
194 0x01, 0x0a, 0x09, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x6e, 0x65, 0x12, 0x34, 0x2e, 0x67,
195 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d,
196 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x65, 0x78,
197 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
198 0x65, 0x41, 0x1a, 0x35, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61,
199 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72,
200 0x6e, 0x61, 0x6c, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x4f, 0x75,
201 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02,
202 0x14, 0x3a, 0x01, 0x2a, 0x22, 0x0f, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c,
203 0x65, 0x2f, 0x61, 0x2f, 0x31, 0x12, 0x94, 0x01, 0x0a, 0x09, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64,
204 0x54, 0x77, 0x6f, 0x12, 0x35, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77,
205 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65,
206 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x4f,
207 0x75, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x1a, 0x34, 0x2e, 0x67, 0x72, 0x70,
208 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c,
209 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x65, 0x78, 0x61, 0x6d,
210 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41,
211 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x3a, 0x01, 0x2a, 0x22, 0x0f, 0x2f, 0x76, 0x31,
212 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x61, 0x2f, 0x32, 0x32, 0xb8, 0x02, 0x0a,
213 0x08, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x12, 0x94, 0x01, 0x0a, 0x09, 0x4d, 0x65,
214 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x6e, 0x65, 0x12, 0x34, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67,
215 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e,
216 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65,
217 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x1a, 0x35, 0x2e,
218 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61,
219 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x65,
220 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x4f, 0x75, 0x74, 0x4d, 0x65, 0x73, 0x73,
221 0x61, 0x67, 0x65, 0x43, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x3a, 0x01, 0x2a, 0x22,
222 0x0f, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x63, 0x2f, 0x31,
223 0x12, 0x94, 0x01, 0x0a, 0x09, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x54, 0x77, 0x6f, 0x12, 0x35,
224 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78,
225 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e,
226 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x4f, 0x75, 0x74, 0x4d, 0x65, 0x73,
227 0x73, 0x61, 0x67, 0x65, 0x41, 0x1a, 0x34, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74,
228 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e,
229 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62,
230 0x2e, 0x49, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x41, 0x22, 0x1a, 0x82, 0xd3, 0xe4,
231 0x93, 0x02, 0x14, 0x3a, 0x01, 0x2a, 0x22, 0x0f, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d,
232 0x70, 0x6c, 0x65, 0x2f, 0x63, 0x2f, 0x32, 0x42, 0x4d, 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75,
233 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x65, 0x63, 0x6f, 0x73, 0x79,
234 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61,
235 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x69, 0x6e,
236 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x61,
237 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
238 }
239
240 var (
241 file_examples_internal_proto_examplepb_openapi_merge_a_proto_rawDescOnce sync.Once
242 file_examples_internal_proto_examplepb_openapi_merge_a_proto_rawDescData = file_examples_internal_proto_examplepb_openapi_merge_a_proto_rawDesc
243 )
244
245 func file_examples_internal_proto_examplepb_openapi_merge_a_proto_rawDescGZIP() []byte {
246 file_examples_internal_proto_examplepb_openapi_merge_a_proto_rawDescOnce.Do(func() {
247 file_examples_internal_proto_examplepb_openapi_merge_a_proto_rawDescData = protoimpl.X.CompressGZIP(file_examples_internal_proto_examplepb_openapi_merge_a_proto_rawDescData)
248 })
249 return file_examples_internal_proto_examplepb_openapi_merge_a_proto_rawDescData
250 }
251
252 var file_examples_internal_proto_examplepb_openapi_merge_a_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
253 var file_examples_internal_proto_examplepb_openapi_merge_a_proto_goTypes = []interface{}{
254 (*InMessageA)(nil),
255 (*OutMessageA)(nil),
256 (*OutMessageC)(nil),
257 }
258 var file_examples_internal_proto_examplepb_openapi_merge_a_proto_depIdxs = []int32{
259 0,
260 1,
261 0,
262 1,
263 1,
264 0,
265 2,
266 0,
267 4,
268 0,
269 0,
270 0,
271 0,
272 }
273
274 func init() { file_examples_internal_proto_examplepb_openapi_merge_a_proto_init() }
275 func file_examples_internal_proto_examplepb_openapi_merge_a_proto_init() {
276 if File_examples_internal_proto_examplepb_openapi_merge_a_proto != nil {
277 return
278 }
279 if !protoimpl.UnsafeEnabled {
280 file_examples_internal_proto_examplepb_openapi_merge_a_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
281 switch v := v.(*InMessageA); i {
282 case 0:
283 return &v.state
284 case 1:
285 return &v.sizeCache
286 case 2:
287 return &v.unknownFields
288 default:
289 return nil
290 }
291 }
292 file_examples_internal_proto_examplepb_openapi_merge_a_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
293 switch v := v.(*OutMessageA); i {
294 case 0:
295 return &v.state
296 case 1:
297 return &v.sizeCache
298 case 2:
299 return &v.unknownFields
300 default:
301 return nil
302 }
303 }
304 file_examples_internal_proto_examplepb_openapi_merge_a_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
305 switch v := v.(*OutMessageC); i {
306 case 0:
307 return &v.state
308 case 1:
309 return &v.sizeCache
310 case 2:
311 return &v.unknownFields
312 default:
313 return nil
314 }
315 }
316 }
317 type x struct{}
318 out := protoimpl.TypeBuilder{
319 File: protoimpl.DescBuilder{
320 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
321 RawDescriptor: file_examples_internal_proto_examplepb_openapi_merge_a_proto_rawDesc,
322 NumEnums: 0,
323 NumMessages: 3,
324 NumExtensions: 0,
325 NumServices: 2,
326 },
327 GoTypes: file_examples_internal_proto_examplepb_openapi_merge_a_proto_goTypes,
328 DependencyIndexes: file_examples_internal_proto_examplepb_openapi_merge_a_proto_depIdxs,
329 MessageInfos: file_examples_internal_proto_examplepb_openapi_merge_a_proto_msgTypes,
330 }.Build()
331 File_examples_internal_proto_examplepb_openapi_merge_a_proto = out.File
332 file_examples_internal_proto_examplepb_openapi_merge_a_proto_rawDesc = nil
333 file_examples_internal_proto_examplepb_openapi_merge_a_proto_goTypes = nil
334 file_examples_internal_proto_examplepb_openapi_merge_a_proto_depIdxs = nil
335 }
336
View as plain text