1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24 package pluginpb
25
26 import (
27 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
28 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
29 descriptorpb "google.golang.org/protobuf/types/descriptorpb"
30 reflect "reflect"
31 sync "sync"
32 )
33
34
35 type CodeGeneratorResponse_Feature int32
36
37 const (
38 CodeGeneratorResponse_FEATURE_NONE CodeGeneratorResponse_Feature = 0
39 CodeGeneratorResponse_FEATURE_PROTO3_OPTIONAL CodeGeneratorResponse_Feature = 1
40 CodeGeneratorResponse_FEATURE_SUPPORTS_EDITIONS CodeGeneratorResponse_Feature = 2
41 )
42
43
44 var (
45 CodeGeneratorResponse_Feature_name = map[int32]string{
46 0: "FEATURE_NONE",
47 1: "FEATURE_PROTO3_OPTIONAL",
48 2: "FEATURE_SUPPORTS_EDITIONS",
49 }
50 CodeGeneratorResponse_Feature_value = map[string]int32{
51 "FEATURE_NONE": 0,
52 "FEATURE_PROTO3_OPTIONAL": 1,
53 "FEATURE_SUPPORTS_EDITIONS": 2,
54 }
55 )
56
57 func (x CodeGeneratorResponse_Feature) Enum() *CodeGeneratorResponse_Feature {
58 p := new(CodeGeneratorResponse_Feature)
59 *p = x
60 return p
61 }
62
63 func (x CodeGeneratorResponse_Feature) String() string {
64 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
65 }
66
67 func (CodeGeneratorResponse_Feature) Descriptor() protoreflect.EnumDescriptor {
68 return file_google_protobuf_compiler_plugin_proto_enumTypes[0].Descriptor()
69 }
70
71 func (CodeGeneratorResponse_Feature) Type() protoreflect.EnumType {
72 return &file_google_protobuf_compiler_plugin_proto_enumTypes[0]
73 }
74
75 func (x CodeGeneratorResponse_Feature) Number() protoreflect.EnumNumber {
76 return protoreflect.EnumNumber(x)
77 }
78
79
80 func (x *CodeGeneratorResponse_Feature) UnmarshalJSON(b []byte) error {
81 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
82 if err != nil {
83 return err
84 }
85 *x = CodeGeneratorResponse_Feature(num)
86 return nil
87 }
88
89
90 func (CodeGeneratorResponse_Feature) EnumDescriptor() ([]byte, []int) {
91 return file_google_protobuf_compiler_plugin_proto_rawDescGZIP(), []int{2, 0}
92 }
93
94
95 type Version struct {
96 state protoimpl.MessageState
97 sizeCache protoimpl.SizeCache
98 unknownFields protoimpl.UnknownFields
99
100 Major *int32 `protobuf:"varint,1,opt,name=major" json:"major,omitempty"`
101 Minor *int32 `protobuf:"varint,2,opt,name=minor" json:"minor,omitempty"`
102 Patch *int32 `protobuf:"varint,3,opt,name=patch" json:"patch,omitempty"`
103
104
105 Suffix *string `protobuf:"bytes,4,opt,name=suffix" json:"suffix,omitempty"`
106 }
107
108 func (x *Version) Reset() {
109 *x = Version{}
110 if protoimpl.UnsafeEnabled {
111 mi := &file_google_protobuf_compiler_plugin_proto_msgTypes[0]
112 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
113 ms.StoreMessageInfo(mi)
114 }
115 }
116
117 func (x *Version) String() string {
118 return protoimpl.X.MessageStringOf(x)
119 }
120
121 func (*Version) ProtoMessage() {}
122
123 func (x *Version) ProtoReflect() protoreflect.Message {
124 mi := &file_google_protobuf_compiler_plugin_proto_msgTypes[0]
125 if protoimpl.UnsafeEnabled && x != nil {
126 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
127 if ms.LoadMessageInfo() == nil {
128 ms.StoreMessageInfo(mi)
129 }
130 return ms
131 }
132 return mi.MessageOf(x)
133 }
134
135
136 func (*Version) Descriptor() ([]byte, []int) {
137 return file_google_protobuf_compiler_plugin_proto_rawDescGZIP(), []int{0}
138 }
139
140 func (x *Version) GetMajor() int32 {
141 if x != nil && x.Major != nil {
142 return *x.Major
143 }
144 return 0
145 }
146
147 func (x *Version) GetMinor() int32 {
148 if x != nil && x.Minor != nil {
149 return *x.Minor
150 }
151 return 0
152 }
153
154 func (x *Version) GetPatch() int32 {
155 if x != nil && x.Patch != nil {
156 return *x.Patch
157 }
158 return 0
159 }
160
161 func (x *Version) GetSuffix() string {
162 if x != nil && x.Suffix != nil {
163 return *x.Suffix
164 }
165 return ""
166 }
167
168
169 type CodeGeneratorRequest struct {
170 state protoimpl.MessageState
171 sizeCache protoimpl.SizeCache
172 unknownFields protoimpl.UnknownFields
173
174
175
176
177 FileToGenerate []string `protobuf:"bytes,1,rep,name=file_to_generate,json=fileToGenerate" json:"file_to_generate,omitempty"`
178
179 Parameter *string `protobuf:"bytes,2,opt,name=parameter" json:"parameter,omitempty"`
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199 ProtoFile []*descriptorpb.FileDescriptorProto `protobuf:"bytes,15,rep,name=proto_file,json=protoFile" json:"proto_file,omitempty"`
200
201
202
203 SourceFileDescriptors []*descriptorpb.FileDescriptorProto `protobuf:"bytes,17,rep,name=source_file_descriptors,json=sourceFileDescriptors" json:"source_file_descriptors,omitempty"`
204
205 CompilerVersion *Version `protobuf:"bytes,3,opt,name=compiler_version,json=compilerVersion" json:"compiler_version,omitempty"`
206 }
207
208 func (x *CodeGeneratorRequest) Reset() {
209 *x = CodeGeneratorRequest{}
210 if protoimpl.UnsafeEnabled {
211 mi := &file_google_protobuf_compiler_plugin_proto_msgTypes[1]
212 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
213 ms.StoreMessageInfo(mi)
214 }
215 }
216
217 func (x *CodeGeneratorRequest) String() string {
218 return protoimpl.X.MessageStringOf(x)
219 }
220
221 func (*CodeGeneratorRequest) ProtoMessage() {}
222
223 func (x *CodeGeneratorRequest) ProtoReflect() protoreflect.Message {
224 mi := &file_google_protobuf_compiler_plugin_proto_msgTypes[1]
225 if protoimpl.UnsafeEnabled && x != nil {
226 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
227 if ms.LoadMessageInfo() == nil {
228 ms.StoreMessageInfo(mi)
229 }
230 return ms
231 }
232 return mi.MessageOf(x)
233 }
234
235
236 func (*CodeGeneratorRequest) Descriptor() ([]byte, []int) {
237 return file_google_protobuf_compiler_plugin_proto_rawDescGZIP(), []int{1}
238 }
239
240 func (x *CodeGeneratorRequest) GetFileToGenerate() []string {
241 if x != nil {
242 return x.FileToGenerate
243 }
244 return nil
245 }
246
247 func (x *CodeGeneratorRequest) GetParameter() string {
248 if x != nil && x.Parameter != nil {
249 return *x.Parameter
250 }
251 return ""
252 }
253
254 func (x *CodeGeneratorRequest) GetProtoFile() []*descriptorpb.FileDescriptorProto {
255 if x != nil {
256 return x.ProtoFile
257 }
258 return nil
259 }
260
261 func (x *CodeGeneratorRequest) GetSourceFileDescriptors() []*descriptorpb.FileDescriptorProto {
262 if x != nil {
263 return x.SourceFileDescriptors
264 }
265 return nil
266 }
267
268 func (x *CodeGeneratorRequest) GetCompilerVersion() *Version {
269 if x != nil {
270 return x.CompilerVersion
271 }
272 return nil
273 }
274
275
276 type CodeGeneratorResponse struct {
277 state protoimpl.MessageState
278 sizeCache protoimpl.SizeCache
279 unknownFields protoimpl.UnknownFields
280
281
282
283
284
285
286
287
288
289 Error *string `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
290
291
292 SupportedFeatures *uint64 `protobuf:"varint,2,opt,name=supported_features,json=supportedFeatures" json:"supported_features,omitempty"`
293 File []*CodeGeneratorResponse_File `protobuf:"bytes,15,rep,name=file" json:"file,omitempty"`
294 }
295
296 func (x *CodeGeneratorResponse) Reset() {
297 *x = CodeGeneratorResponse{}
298 if protoimpl.UnsafeEnabled {
299 mi := &file_google_protobuf_compiler_plugin_proto_msgTypes[2]
300 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
301 ms.StoreMessageInfo(mi)
302 }
303 }
304
305 func (x *CodeGeneratorResponse) String() string {
306 return protoimpl.X.MessageStringOf(x)
307 }
308
309 func (*CodeGeneratorResponse) ProtoMessage() {}
310
311 func (x *CodeGeneratorResponse) ProtoReflect() protoreflect.Message {
312 mi := &file_google_protobuf_compiler_plugin_proto_msgTypes[2]
313 if protoimpl.UnsafeEnabled && x != nil {
314 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
315 if ms.LoadMessageInfo() == nil {
316 ms.StoreMessageInfo(mi)
317 }
318 return ms
319 }
320 return mi.MessageOf(x)
321 }
322
323
324 func (*CodeGeneratorResponse) Descriptor() ([]byte, []int) {
325 return file_google_protobuf_compiler_plugin_proto_rawDescGZIP(), []int{2}
326 }
327
328 func (x *CodeGeneratorResponse) GetError() string {
329 if x != nil && x.Error != nil {
330 return *x.Error
331 }
332 return ""
333 }
334
335 func (x *CodeGeneratorResponse) GetSupportedFeatures() uint64 {
336 if x != nil && x.SupportedFeatures != nil {
337 return *x.SupportedFeatures
338 }
339 return 0
340 }
341
342 func (x *CodeGeneratorResponse) GetFile() []*CodeGeneratorResponse_File {
343 if x != nil {
344 return x.File
345 }
346 return nil
347 }
348
349
350 type CodeGeneratorResponse_File struct {
351 state protoimpl.MessageState
352 sizeCache protoimpl.SizeCache
353 unknownFields protoimpl.UnknownFields
354
355
356
357
358
359
360
361
362
363
364
365
366 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408 InsertionPoint *string `protobuf:"bytes,2,opt,name=insertion_point,json=insertionPoint" json:"insertion_point,omitempty"`
409
410 Content *string `protobuf:"bytes,15,opt,name=content" json:"content,omitempty"`
411
412
413
414 GeneratedCodeInfo *descriptorpb.GeneratedCodeInfo `protobuf:"bytes,16,opt,name=generated_code_info,json=generatedCodeInfo" json:"generated_code_info,omitempty"`
415 }
416
417 func (x *CodeGeneratorResponse_File) Reset() {
418 *x = CodeGeneratorResponse_File{}
419 if protoimpl.UnsafeEnabled {
420 mi := &file_google_protobuf_compiler_plugin_proto_msgTypes[3]
421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
422 ms.StoreMessageInfo(mi)
423 }
424 }
425
426 func (x *CodeGeneratorResponse_File) String() string {
427 return protoimpl.X.MessageStringOf(x)
428 }
429
430 func (*CodeGeneratorResponse_File) ProtoMessage() {}
431
432 func (x *CodeGeneratorResponse_File) ProtoReflect() protoreflect.Message {
433 mi := &file_google_protobuf_compiler_plugin_proto_msgTypes[3]
434 if protoimpl.UnsafeEnabled && x != nil {
435 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
436 if ms.LoadMessageInfo() == nil {
437 ms.StoreMessageInfo(mi)
438 }
439 return ms
440 }
441 return mi.MessageOf(x)
442 }
443
444
445 func (*CodeGeneratorResponse_File) Descriptor() ([]byte, []int) {
446 return file_google_protobuf_compiler_plugin_proto_rawDescGZIP(), []int{2, 0}
447 }
448
449 func (x *CodeGeneratorResponse_File) GetName() string {
450 if x != nil && x.Name != nil {
451 return *x.Name
452 }
453 return ""
454 }
455
456 func (x *CodeGeneratorResponse_File) GetInsertionPoint() string {
457 if x != nil && x.InsertionPoint != nil {
458 return *x.InsertionPoint
459 }
460 return ""
461 }
462
463 func (x *CodeGeneratorResponse_File) GetContent() string {
464 if x != nil && x.Content != nil {
465 return *x.Content
466 }
467 return ""
468 }
469
470 func (x *CodeGeneratorResponse_File) GetGeneratedCodeInfo() *descriptorpb.GeneratedCodeInfo {
471 if x != nil {
472 return x.GeneratedCodeInfo
473 }
474 return nil
475 }
476
477 var File_google_protobuf_compiler_plugin_proto protoreflect.FileDescriptor
478
479 var file_google_protobuf_compiler_plugin_proto_rawDesc = []byte{
480 0x0a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
481 0x66, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69,
482 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
483 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65,
484 0x72, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
485 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72,
486 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14,
487 0x0a, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d,
488 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x02, 0x20,
489 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61,
490 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68,
491 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
492 0x52, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x22, 0xcf, 0x02, 0x0a, 0x14, 0x43, 0x6f, 0x64,
493 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
494 0x74, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x67, 0x65, 0x6e,
495 0x65, 0x72, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x69, 0x6c,
496 0x65, 0x54, 0x6f, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70,
497 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
498 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x43, 0x0a, 0x0a, 0x70, 0x72, 0x6f,
499 0x74, 0x6f, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e,
500 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
501 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72,
502 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x5c,
503 0x0a, 0x17, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x64, 0x65,
504 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32,
505 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
506 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72,
507 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x15, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c,
508 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x4c, 0x0a, 0x10,
509 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
510 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
511 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65,
512 0x72, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x69,
513 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xb3, 0x03, 0x0a, 0x15, 0x43,
514 0x6f, 0x64, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70,
515 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20,
516 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2d, 0x0a, 0x12, 0x73, 0x75,
517 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73,
518 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65,
519 0x64, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x48, 0x0a, 0x04, 0x66, 0x69, 0x6c,
520 0x65, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
521 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c,
522 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72,
523 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x04, 0x66,
524 0x69, 0x6c, 0x65, 0x1a, 0xb1, 0x01, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04,
525 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
526 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x6f,
527 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x73, 0x65, 0x72,
528 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e,
529 0x74, 0x65, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74,
530 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64,
531 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b,
532 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
533 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65,
534 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43,
535 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x57, 0x0a, 0x07, 0x46, 0x65, 0x61, 0x74, 0x75,
536 0x72, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x4e, 0x4f,
537 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f,
538 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x33, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10,
539 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x53, 0x55, 0x50,
540 0x50, 0x4f, 0x52, 0x54, 0x53, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x53, 0x10, 0x02,
541 0x42, 0x72, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
542 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72,
543 0x42, 0x0c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x5a, 0x29,
544 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
545 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73,
546 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x70, 0x62, 0xaa, 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67,
547 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f, 0x6d, 0x70,
548 0x69, 0x6c, 0x65, 0x72,
549 }
550
551 var (
552 file_google_protobuf_compiler_plugin_proto_rawDescOnce sync.Once
553 file_google_protobuf_compiler_plugin_proto_rawDescData = file_google_protobuf_compiler_plugin_proto_rawDesc
554 )
555
556 func file_google_protobuf_compiler_plugin_proto_rawDescGZIP() []byte {
557 file_google_protobuf_compiler_plugin_proto_rawDescOnce.Do(func() {
558 file_google_protobuf_compiler_plugin_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_compiler_plugin_proto_rawDescData)
559 })
560 return file_google_protobuf_compiler_plugin_proto_rawDescData
561 }
562
563 var file_google_protobuf_compiler_plugin_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
564 var file_google_protobuf_compiler_plugin_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
565 var file_google_protobuf_compiler_plugin_proto_goTypes = []interface{}{
566 (CodeGeneratorResponse_Feature)(0),
567 (*Version)(nil),
568 (*CodeGeneratorRequest)(nil),
569 (*CodeGeneratorResponse)(nil),
570 (*CodeGeneratorResponse_File)(nil),
571 (*descriptorpb.FileDescriptorProto)(nil),
572 (*descriptorpb.GeneratedCodeInfo)(nil),
573 }
574 var file_google_protobuf_compiler_plugin_proto_depIdxs = []int32{
575 5,
576 5,
577 1,
578 4,
579 6,
580 5,
581 5,
582 5,
583 5,
584 0,
585 }
586
587 func init() { file_google_protobuf_compiler_plugin_proto_init() }
588 func file_google_protobuf_compiler_plugin_proto_init() {
589 if File_google_protobuf_compiler_plugin_proto != nil {
590 return
591 }
592 if !protoimpl.UnsafeEnabled {
593 file_google_protobuf_compiler_plugin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
594 switch v := v.(*Version); i {
595 case 0:
596 return &v.state
597 case 1:
598 return &v.sizeCache
599 case 2:
600 return &v.unknownFields
601 default:
602 return nil
603 }
604 }
605 file_google_protobuf_compiler_plugin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
606 switch v := v.(*CodeGeneratorRequest); i {
607 case 0:
608 return &v.state
609 case 1:
610 return &v.sizeCache
611 case 2:
612 return &v.unknownFields
613 default:
614 return nil
615 }
616 }
617 file_google_protobuf_compiler_plugin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
618 switch v := v.(*CodeGeneratorResponse); i {
619 case 0:
620 return &v.state
621 case 1:
622 return &v.sizeCache
623 case 2:
624 return &v.unknownFields
625 default:
626 return nil
627 }
628 }
629 file_google_protobuf_compiler_plugin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
630 switch v := v.(*CodeGeneratorResponse_File); i {
631 case 0:
632 return &v.state
633 case 1:
634 return &v.sizeCache
635 case 2:
636 return &v.unknownFields
637 default:
638 return nil
639 }
640 }
641 }
642 type x struct{}
643 out := protoimpl.TypeBuilder{
644 File: protoimpl.DescBuilder{
645 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
646 RawDescriptor: file_google_protobuf_compiler_plugin_proto_rawDesc,
647 NumEnums: 1,
648 NumMessages: 4,
649 NumExtensions: 0,
650 NumServices: 0,
651 },
652 GoTypes: file_google_protobuf_compiler_plugin_proto_goTypes,
653 DependencyIndexes: file_google_protobuf_compiler_plugin_proto_depIdxs,
654 EnumInfos: file_google_protobuf_compiler_plugin_proto_enumTypes,
655 MessageInfos: file_google_protobuf_compiler_plugin_proto_msgTypes,
656 }.Build()
657 File_google_protobuf_compiler_plugin_proto = out.File
658 file_google_protobuf_compiler_plugin_proto_rawDesc = nil
659 file_google_protobuf_compiler_plugin_proto_goTypes = nil
660 file_google_protobuf_compiler_plugin_proto_depIdxs = nil
661 }
662
View as plain text