Scott Baker | 2d89798 | 2019-09-24 11:50:08 -0700 | [diff] [blame] | 1 | // Code generated by protoc-gen-go. |
| 2 | // source: google/protobuf/compiler/plugin.proto |
| 3 | // DO NOT EDIT! |
| 4 | |
| 5 | package google_protobuf_compiler |
| 6 | |
| 7 | import proto "github.com/golang/protobuf/proto" |
| 8 | import "math" |
| 9 | import google_protobuf "github.com/golang/protobuf/protoc-gen-go/descriptor" |
| 10 | |
| 11 | // Reference proto and math imports to suppress error if they are not otherwise used. |
| 12 | var _ = proto.GetString |
| 13 | var _ = math.Inf |
| 14 | |
| 15 | type CodeGeneratorRequest struct { |
| 16 | FileToGenerate []string `protobuf:"bytes,1,rep,name=file_to_generate" json:"file_to_generate,omitempty"` |
| 17 | Parameter *string `protobuf:"bytes,2,opt,name=parameter" json:"parameter,omitempty"` |
| 18 | ProtoFile []*google_protobuf.FileDescriptorProto `protobuf:"bytes,15,rep,name=proto_file" json:"proto_file,omitempty"` |
| 19 | XXX_unrecognized []byte `json:"-"` |
| 20 | } |
| 21 | |
| 22 | func (this *CodeGeneratorRequest) Reset() { *this = CodeGeneratorRequest{} } |
| 23 | func (this *CodeGeneratorRequest) String() string { return proto.CompactTextString(this) } |
| 24 | func (*CodeGeneratorRequest) ProtoMessage() {} |
| 25 | |
| 26 | func (this *CodeGeneratorRequest) GetParameter() string { |
| 27 | if this != nil && this.Parameter != nil { |
| 28 | return *this.Parameter |
| 29 | } |
| 30 | return "" |
| 31 | } |
| 32 | |
| 33 | type CodeGeneratorResponse struct { |
| 34 | Error *string `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"` |
| 35 | File []*CodeGeneratorResponse_File `protobuf:"bytes,15,rep,name=file" json:"file,omitempty"` |
| 36 | XXX_unrecognized []byte `json:"-"` |
| 37 | } |
| 38 | |
| 39 | func (this *CodeGeneratorResponse) Reset() { *this = CodeGeneratorResponse{} } |
| 40 | func (this *CodeGeneratorResponse) String() string { return proto.CompactTextString(this) } |
| 41 | func (*CodeGeneratorResponse) ProtoMessage() {} |
| 42 | |
| 43 | func (this *CodeGeneratorResponse) GetError() string { |
| 44 | if this != nil && this.Error != nil { |
| 45 | return *this.Error |
| 46 | } |
| 47 | return "" |
| 48 | } |
| 49 | |
| 50 | type CodeGeneratorResponse_File struct { |
| 51 | Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| 52 | InsertionPoint *string `protobuf:"bytes,2,opt,name=insertion_point" json:"insertion_point,omitempty"` |
| 53 | Content *string `protobuf:"bytes,15,opt,name=content" json:"content,omitempty"` |
| 54 | XXX_unrecognized []byte `json:"-"` |
| 55 | } |
| 56 | |
| 57 | func (this *CodeGeneratorResponse_File) Reset() { *this = CodeGeneratorResponse_File{} } |
| 58 | func (this *CodeGeneratorResponse_File) String() string { return proto.CompactTextString(this) } |
| 59 | func (*CodeGeneratorResponse_File) ProtoMessage() {} |
| 60 | |
| 61 | func (this *CodeGeneratorResponse_File) GetName() string { |
| 62 | if this != nil && this.Name != nil { |
| 63 | return *this.Name |
| 64 | } |
| 65 | return "" |
| 66 | } |
| 67 | |
| 68 | func (this *CodeGeneratorResponse_File) GetInsertionPoint() string { |
| 69 | if this != nil && this.InsertionPoint != nil { |
| 70 | return *this.InsertionPoint |
| 71 | } |
| 72 | return "" |
| 73 | } |
| 74 | |
| 75 | func (this *CodeGeneratorResponse_File) GetContent() string { |
| 76 | if this != nil && this.Content != nil { |
| 77 | return *this.Content |
| 78 | } |
| 79 | return "" |
| 80 | } |
| 81 | |
| 82 | func init() { |
| 83 | } |