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 InMessageB struct {
30 state protoimpl.MessageState
31 sizeCache protoimpl.SizeCache
32 unknownFields protoimpl.UnknownFields
33
34
35 Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
36 }
37
38 func (x *InMessageB) Reset() {
39 *x = InMessageB{}
40 if protoimpl.UnsafeEnabled {
41 mi := &file_examples_internal_proto_examplepb_openapi_merge_b_proto_msgTypes[0]
42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
43 ms.StoreMessageInfo(mi)
44 }
45 }
46
47 func (x *InMessageB) String() string {
48 return protoimpl.X.MessageStringOf(x)
49 }
50
51 func (*InMessageB) ProtoMessage() {}
52
53 func (x *InMessageB) ProtoReflect() protoreflect.Message {
54 mi := &file_examples_internal_proto_examplepb_openapi_merge_b_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 (*InMessageB) Descriptor() ([]byte, []int) {
67 return file_examples_internal_proto_examplepb_openapi_merge_b_proto_rawDescGZIP(), []int{0}
68 }
69
70 func (x *InMessageB) GetValue() string {
71 if x != nil {
72 return x.Value
73 }
74 return ""
75 }
76
77
78 type OutMessageB struct {
79 state protoimpl.MessageState
80 sizeCache protoimpl.SizeCache
81 unknownFields protoimpl.UnknownFields
82
83
84 Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
85 }
86
87 func (x *OutMessageB) Reset() {
88 *x = OutMessageB{}
89 if protoimpl.UnsafeEnabled {
90 mi := &file_examples_internal_proto_examplepb_openapi_merge_b_proto_msgTypes[1]
91 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
92 ms.StoreMessageInfo(mi)
93 }
94 }
95
96 func (x *OutMessageB) String() string {
97 return protoimpl.X.MessageStringOf(x)
98 }
99
100 func (*OutMessageB) ProtoMessage() {}
101
102 func (x *OutMessageB) ProtoReflect() protoreflect.Message {
103 mi := &file_examples_internal_proto_examplepb_openapi_merge_b_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 (*OutMessageB) Descriptor() ([]byte, []int) {
116 return file_examples_internal_proto_examplepb_openapi_merge_b_proto_rawDescGZIP(), []int{1}
117 }
118
119 func (x *OutMessageB) GetValues() []string {
120 if x != nil {
121 return x.Values
122 }
123 return nil
124 }
125
126 var File_examples_internal_proto_examplepb_openapi_merge_b_proto protoreflect.FileDescriptor
127
128 var file_examples_internal_proto_examplepb_openapi_merge_b_proto_rawDesc = []byte{
129 0x0a, 0x37, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72,
130 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c,
131 0x65, 0x70, 0x62, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x5f, 0x6d, 0x65, 0x72, 0x67,
132 0x65, 0x5f, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x28, 0x67, 0x72, 0x70, 0x63, 0x2e,
133 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73,
134 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c,
135 0x65, 0x70, 0x62, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
136 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
137 0x6f, 0x22, 0x22, 0x0a, 0x0a, 0x49, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x12,
138 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
139 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x25, 0x0a, 0x0b, 0x4f, 0x75, 0x74, 0x4d, 0x65, 0x73, 0x73,
140 0x61, 0x67, 0x65, 0x42, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x01,
141 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x32, 0xb8, 0x02, 0x0a,
142 0x08, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x42, 0x12, 0x94, 0x01, 0x0a, 0x09, 0x4d, 0x65,
143 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x6e, 0x65, 0x12, 0x34, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67,
144 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e,
145 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65,
146 0x70, 0x62, 0x2e, 0x49, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x1a, 0x35, 0x2e,
147 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61,
148 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x65,
149 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x4f, 0x75, 0x74, 0x4d, 0x65, 0x73, 0x73,
150 0x61, 0x67, 0x65, 0x42, 0x22, 0x1a, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x14, 0x3a, 0x01, 0x2a, 0x22,
151 0x0f, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x62, 0x2f, 0x31,
152 0x12, 0x94, 0x01, 0x0a, 0x09, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x54, 0x77, 0x6f, 0x12, 0x35,
153 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78,
154 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e,
155 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x2e, 0x4f, 0x75, 0x74, 0x4d, 0x65, 0x73,
156 0x73, 0x61, 0x67, 0x65, 0x42, 0x1a, 0x34, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74,
157 0x65, 0x77, 0x61, 0x79, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2e, 0x69, 0x6e,
158 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2e, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62,
159 0x2e, 0x49, 0x6e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x22, 0x1a, 0x82, 0xd3, 0xe4,
160 0x93, 0x02, 0x14, 0x3a, 0x01, 0x2a, 0x22, 0x0f, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x78, 0x61, 0x6d,
161 0x70, 0x6c, 0x65, 0x2f, 0x62, 0x2f, 0x32, 0x42, 0x4d, 0x5a, 0x4b, 0x67, 0x69, 0x74, 0x68, 0x75,
162 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x65, 0x63, 0x6f, 0x73, 0x79,
163 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61,
164 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x2f, 0x69, 0x6e,
165 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x65, 0x78, 0x61,
166 0x6d, 0x70, 0x6c, 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
167 }
168
169 var (
170 file_examples_internal_proto_examplepb_openapi_merge_b_proto_rawDescOnce sync.Once
171 file_examples_internal_proto_examplepb_openapi_merge_b_proto_rawDescData = file_examples_internal_proto_examplepb_openapi_merge_b_proto_rawDesc
172 )
173
174 func file_examples_internal_proto_examplepb_openapi_merge_b_proto_rawDescGZIP() []byte {
175 file_examples_internal_proto_examplepb_openapi_merge_b_proto_rawDescOnce.Do(func() {
176 file_examples_internal_proto_examplepb_openapi_merge_b_proto_rawDescData = protoimpl.X.CompressGZIP(file_examples_internal_proto_examplepb_openapi_merge_b_proto_rawDescData)
177 })
178 return file_examples_internal_proto_examplepb_openapi_merge_b_proto_rawDescData
179 }
180
181 var file_examples_internal_proto_examplepb_openapi_merge_b_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
182 var file_examples_internal_proto_examplepb_openapi_merge_b_proto_goTypes = []interface{}{
183 (*InMessageB)(nil),
184 (*OutMessageB)(nil),
185 }
186 var file_examples_internal_proto_examplepb_openapi_merge_b_proto_depIdxs = []int32{
187 0,
188 1,
189 1,
190 0,
191 2,
192 0,
193 0,
194 0,
195 0,
196 }
197
198 func init() { file_examples_internal_proto_examplepb_openapi_merge_b_proto_init() }
199 func file_examples_internal_proto_examplepb_openapi_merge_b_proto_init() {
200 if File_examples_internal_proto_examplepb_openapi_merge_b_proto != nil {
201 return
202 }
203 if !protoimpl.UnsafeEnabled {
204 file_examples_internal_proto_examplepb_openapi_merge_b_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
205 switch v := v.(*InMessageB); i {
206 case 0:
207 return &v.state
208 case 1:
209 return &v.sizeCache
210 case 2:
211 return &v.unknownFields
212 default:
213 return nil
214 }
215 }
216 file_examples_internal_proto_examplepb_openapi_merge_b_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
217 switch v := v.(*OutMessageB); i {
218 case 0:
219 return &v.state
220 case 1:
221 return &v.sizeCache
222 case 2:
223 return &v.unknownFields
224 default:
225 return nil
226 }
227 }
228 }
229 type x struct{}
230 out := protoimpl.TypeBuilder{
231 File: protoimpl.DescBuilder{
232 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
233 RawDescriptor: file_examples_internal_proto_examplepb_openapi_merge_b_proto_rawDesc,
234 NumEnums: 0,
235 NumMessages: 2,
236 NumExtensions: 0,
237 NumServices: 1,
238 },
239 GoTypes: file_examples_internal_proto_examplepb_openapi_merge_b_proto_goTypes,
240 DependencyIndexes: file_examples_internal_proto_examplepb_openapi_merge_b_proto_depIdxs,
241 MessageInfos: file_examples_internal_proto_examplepb_openapi_merge_b_proto_msgTypes,
242 }.Build()
243 File_examples_internal_proto_examplepb_openapi_merge_b_proto = out.File
244 file_examples_internal_proto_examplepb_openapi_merge_b_proto_rawDesc = nil
245 file_examples_internal_proto_examplepb_openapi_merge_b_proto_goTypes = nil
246 file_examples_internal_proto_examplepb_openapi_merge_b_proto_depIdxs = nil
247 }
248
View as plain text