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
294
295
296
297 MinimumEdition *int32 `protobuf:"varint,3,opt,name=minimum_edition,json=minimumEdition" json:"minimum_edition,omitempty"`
298
299
300
301
302 MaximumEdition *int32 `protobuf:"varint,4,opt,name=maximum_edition,json=maximumEdition" json:"maximum_edition,omitempty"`
303 File []*CodeGeneratorResponse_File `protobuf:"bytes,15,rep,name=file" json:"file,omitempty"`
304 }
305
306 func (x *CodeGeneratorResponse) Reset() {
307 *x = CodeGeneratorResponse{}
308 if protoimpl.UnsafeEnabled {
309 mi := &file_google_protobuf_compiler_plugin_proto_msgTypes[2]
310 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
311 ms.StoreMessageInfo(mi)
312 }
313 }
314
315 func (x *CodeGeneratorResponse) String() string {
316 return protoimpl.X.MessageStringOf(x)
317 }
318
319 func (*CodeGeneratorResponse) ProtoMessage() {}
320
321 func (x *CodeGeneratorResponse) ProtoReflect() protoreflect.Message {
322 mi := &file_google_protobuf_compiler_plugin_proto_msgTypes[2]
323 if protoimpl.UnsafeEnabled && x != nil {
324 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
325 if ms.LoadMessageInfo() == nil {
326 ms.StoreMessageInfo(mi)
327 }
328 return ms
329 }
330 return mi.MessageOf(x)
331 }
332
333
334 func (*CodeGeneratorResponse) Descriptor() ([]byte, []int) {
335 return file_google_protobuf_compiler_plugin_proto_rawDescGZIP(), []int{2}
336 }
337
338 func (x *CodeGeneratorResponse) GetError() string {
339 if x != nil && x.Error != nil {
340 return *x.Error
341 }
342 return ""
343 }
344
345 func (x *CodeGeneratorResponse) GetSupportedFeatures() uint64 {
346 if x != nil && x.SupportedFeatures != nil {
347 return *x.SupportedFeatures
348 }
349 return 0
350 }
351
352 func (x *CodeGeneratorResponse) GetMinimumEdition() int32 {
353 if x != nil && x.MinimumEdition != nil {
354 return *x.MinimumEdition
355 }
356 return 0
357 }
358
359 func (x *CodeGeneratorResponse) GetMaximumEdition() int32 {
360 if x != nil && x.MaximumEdition != nil {
361 return *x.MaximumEdition
362 }
363 return 0
364 }
365
366 func (x *CodeGeneratorResponse) GetFile() []*CodeGeneratorResponse_File {
367 if x != nil {
368 return x.File
369 }
370 return nil
371 }
372
373
374 type CodeGeneratorResponse_File struct {
375 state protoimpl.MessageState
376 sizeCache protoimpl.SizeCache
377 unknownFields protoimpl.UnknownFields
378
379
380
381
382
383
384
385
386
387
388
389
390 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432 InsertionPoint *string `protobuf:"bytes,2,opt,name=insertion_point,json=insertionPoint" json:"insertion_point,omitempty"`
433
434 Content *string `protobuf:"bytes,15,opt,name=content" json:"content,omitempty"`
435
436
437
438 GeneratedCodeInfo *descriptorpb.GeneratedCodeInfo `protobuf:"bytes,16,opt,name=generated_code_info,json=generatedCodeInfo" json:"generated_code_info,omitempty"`
439 }
440
441 func (x *CodeGeneratorResponse_File) Reset() {
442 *x = CodeGeneratorResponse_File{}
443 if protoimpl.UnsafeEnabled {
444 mi := &file_google_protobuf_compiler_plugin_proto_msgTypes[3]
445 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
446 ms.StoreMessageInfo(mi)
447 }
448 }
449
450 func (x *CodeGeneratorResponse_File) String() string {
451 return protoimpl.X.MessageStringOf(x)
452 }
453
454 func (*CodeGeneratorResponse_File) ProtoMessage() {}
455
456 func (x *CodeGeneratorResponse_File) ProtoReflect() protoreflect.Message {
457 mi := &file_google_protobuf_compiler_plugin_proto_msgTypes[3]
458 if protoimpl.UnsafeEnabled && x != nil {
459 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
460 if ms.LoadMessageInfo() == nil {
461 ms.StoreMessageInfo(mi)
462 }
463 return ms
464 }
465 return mi.MessageOf(x)
466 }
467
468
469 func (*CodeGeneratorResponse_File) Descriptor() ([]byte, []int) {
470 return file_google_protobuf_compiler_plugin_proto_rawDescGZIP(), []int{2, 0}
471 }
472
473 func (x *CodeGeneratorResponse_File) GetName() string {
474 if x != nil && x.Name != nil {
475 return *x.Name
476 }
477 return ""
478 }
479
480 func (x *CodeGeneratorResponse_File) GetInsertionPoint() string {
481 if x != nil && x.InsertionPoint != nil {
482 return *x.InsertionPoint
483 }
484 return ""
485 }
486
487 func (x *CodeGeneratorResponse_File) GetContent() string {
488 if x != nil && x.Content != nil {
489 return *x.Content
490 }
491 return ""
492 }
493
494 func (x *CodeGeneratorResponse_File) GetGeneratedCodeInfo() *descriptorpb.GeneratedCodeInfo {
495 if x != nil {
496 return x.GeneratedCodeInfo
497 }
498 return nil
499 }
500
501 var File_google_protobuf_compiler_plugin_proto protoreflect.FileDescriptor
502
503 var file_google_protobuf_compiler_plugin_proto_rawDesc = []byte{
504 0x0a, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
505 0x66, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69,
506 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
507 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65,
508 0x72, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
509 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72,
510 0x6f, 0x74, 0x6f, 0x22, 0x63, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14,
511 0x0a, 0x05, 0x6d, 0x61, 0x6a, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d,
512 0x61, 0x6a, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x18, 0x02, 0x20,
513 0x01, 0x28, 0x05, 0x52, 0x05, 0x6d, 0x69, 0x6e, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61,
514 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x70, 0x61, 0x74, 0x63, 0x68,
515 0x12, 0x16, 0x0a, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09,
516 0x52, 0x06, 0x73, 0x75, 0x66, 0x66, 0x69, 0x78, 0x22, 0xcf, 0x02, 0x0a, 0x14, 0x43, 0x6f, 0x64,
517 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
518 0x74, 0x12, 0x28, 0x0a, 0x10, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x74, 0x6f, 0x5f, 0x67, 0x65, 0x6e,
519 0x65, 0x72, 0x61, 0x74, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x66, 0x69, 0x6c,
520 0x65, 0x54, 0x6f, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70,
521 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
522 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x43, 0x0a, 0x0a, 0x70, 0x72, 0x6f,
523 0x74, 0x6f, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x24, 0x2e,
524 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
525 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72,
526 0x6f, 0x74, 0x6f, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x5c,
527 0x0a, 0x17, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x64, 0x65,
528 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x11, 0x20, 0x03, 0x28, 0x0b, 0x32,
529 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
530 0x66, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72,
531 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x15, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x46, 0x69, 0x6c,
532 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x4c, 0x0a, 0x10,
533 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e,
534 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
535 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65,
536 0x72, 0x2e, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0f, 0x63, 0x6f, 0x6d, 0x70, 0x69,
537 0x6c, 0x65, 0x72, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x85, 0x04, 0x0a, 0x15, 0x43,
538 0x6f, 0x64, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70,
539 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x01, 0x20,
540 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x2d, 0x0a, 0x12, 0x73, 0x75,
541 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x64, 0x5f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73,
542 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x11, 0x73, 0x75, 0x70, 0x70, 0x6f, 0x72, 0x74, 0x65,
543 0x64, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x69, 0x6e,
544 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x65, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01,
545 0x28, 0x05, 0x52, 0x0e, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x45, 0x64, 0x69, 0x74, 0x69,
546 0x6f, 0x6e, 0x12, 0x27, 0x0a, 0x0f, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x5f, 0x65, 0x64,
547 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x78,
548 0x69, 0x6d, 0x75, 0x6d, 0x45, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x48, 0x0a, 0x04, 0x66,
549 0x69, 0x6c, 0x65, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x34, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
550 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70,
551 0x69, 0x6c, 0x65, 0x72, 0x2e, 0x43, 0x6f, 0x64, 0x65, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
552 0x6f, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52,
553 0x04, 0x66, 0x69, 0x6c, 0x65, 0x1a, 0xb1, 0x01, 0x0a, 0x04, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x12,
554 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
555 0x6d, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
556 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x69, 0x6e, 0x73,
557 0x65, 0x72, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x63,
558 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f,
559 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x52, 0x0a, 0x13, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74,
560 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x10, 0x20, 0x01,
561 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
562 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f,
563 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x11, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65,
564 0x64, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x22, 0x57, 0x0a, 0x07, 0x46, 0x65, 0x61,
565 0x74, 0x75, 0x72, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f,
566 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x00, 0x12, 0x1b, 0x0a, 0x17, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52,
567 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x33, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x41,
568 0x4c, 0x10, 0x01, 0x12, 0x1d, 0x0a, 0x19, 0x46, 0x45, 0x41, 0x54, 0x55, 0x52, 0x45, 0x5f, 0x53,
569 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x53, 0x5f, 0x45, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x53,
570 0x10, 0x02, 0x42, 0x72, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
571 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c,
572 0x65, 0x72, 0x42, 0x0c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x73,
573 0x5a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e,
574 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 0x70,
575 0x65, 0x73, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x70, 0x62, 0xaa, 0x02, 0x18, 0x47, 0x6f,
576 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x43, 0x6f,
577 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x72,
578 }
579
580 var (
581 file_google_protobuf_compiler_plugin_proto_rawDescOnce sync.Once
582 file_google_protobuf_compiler_plugin_proto_rawDescData = file_google_protobuf_compiler_plugin_proto_rawDesc
583 )
584
585 func file_google_protobuf_compiler_plugin_proto_rawDescGZIP() []byte {
586 file_google_protobuf_compiler_plugin_proto_rawDescOnce.Do(func() {
587 file_google_protobuf_compiler_plugin_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_compiler_plugin_proto_rawDescData)
588 })
589 return file_google_protobuf_compiler_plugin_proto_rawDescData
590 }
591
592 var file_google_protobuf_compiler_plugin_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
593 var file_google_protobuf_compiler_plugin_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
594 var file_google_protobuf_compiler_plugin_proto_goTypes = []interface{}{
595 (CodeGeneratorResponse_Feature)(0),
596 (*Version)(nil),
597 (*CodeGeneratorRequest)(nil),
598 (*CodeGeneratorResponse)(nil),
599 (*CodeGeneratorResponse_File)(nil),
600 (*descriptorpb.FileDescriptorProto)(nil),
601 (*descriptorpb.GeneratedCodeInfo)(nil),
602 }
603 var file_google_protobuf_compiler_plugin_proto_depIdxs = []int32{
604 5,
605 5,
606 1,
607 4,
608 6,
609 5,
610 5,
611 5,
612 5,
613 0,
614 }
615
616 func init() { file_google_protobuf_compiler_plugin_proto_init() }
617 func file_google_protobuf_compiler_plugin_proto_init() {
618 if File_google_protobuf_compiler_plugin_proto != nil {
619 return
620 }
621 if !protoimpl.UnsafeEnabled {
622 file_google_protobuf_compiler_plugin_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
623 switch v := v.(*Version); i {
624 case 0:
625 return &v.state
626 case 1:
627 return &v.sizeCache
628 case 2:
629 return &v.unknownFields
630 default:
631 return nil
632 }
633 }
634 file_google_protobuf_compiler_plugin_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
635 switch v := v.(*CodeGeneratorRequest); i {
636 case 0:
637 return &v.state
638 case 1:
639 return &v.sizeCache
640 case 2:
641 return &v.unknownFields
642 default:
643 return nil
644 }
645 }
646 file_google_protobuf_compiler_plugin_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
647 switch v := v.(*CodeGeneratorResponse); i {
648 case 0:
649 return &v.state
650 case 1:
651 return &v.sizeCache
652 case 2:
653 return &v.unknownFields
654 default:
655 return nil
656 }
657 }
658 file_google_protobuf_compiler_plugin_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
659 switch v := v.(*CodeGeneratorResponse_File); i {
660 case 0:
661 return &v.state
662 case 1:
663 return &v.sizeCache
664 case 2:
665 return &v.unknownFields
666 default:
667 return nil
668 }
669 }
670 }
671 type x struct{}
672 out := protoimpl.TypeBuilder{
673 File: protoimpl.DescBuilder{
674 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
675 RawDescriptor: file_google_protobuf_compiler_plugin_proto_rawDesc,
676 NumEnums: 1,
677 NumMessages: 4,
678 NumExtensions: 0,
679 NumServices: 0,
680 },
681 GoTypes: file_google_protobuf_compiler_plugin_proto_goTypes,
682 DependencyIndexes: file_google_protobuf_compiler_plugin_proto_depIdxs,
683 EnumInfos: file_google_protobuf_compiler_plugin_proto_enumTypes,
684 MessageInfos: file_google_protobuf_compiler_plugin_proto_msgTypes,
685 }.Build()
686 File_google_protobuf_compiler_plugin_proto = out.File
687 file_google_protobuf_compiler_plugin_proto_rawDesc = nil
688 file_google_protobuf_compiler_plugin_proto_goTypes = nil
689 file_google_protobuf_compiler_plugin_proto_depIdxs = nil
690 }
691
View as plain text