| Rob Pike | aaa3a62 | 2010-03-20 22:32:34 -0700 | [diff] [blame] | 1 | // Code generated by protoc-gen-go from "google/protobuf/compiler/plugin.proto" |
| 2 | // DO NOT EDIT! |
| 3 | |
| 4 | package google_protobuf_compiler |
| 5 | |
| Rob Pike | 3f6f2d8 | 2011-12-18 13:55:35 -0800 | [diff] [blame^] | 6 | import proto "code.google.com/p/goprotobuf/proto" |
| David Symonds | fa6a18d | 2011-01-19 09:30:28 +1100 | [diff] [blame] | 7 | import "math" |
| Rob Pike | a17fdd9 | 2011-11-02 12:43:05 -0700 | [diff] [blame] | 8 | |
| Rob Pike | 3f6f2d8 | 2011-12-18 13:55:35 -0800 | [diff] [blame^] | 9 | import google_protobuf "code.google.com/p/goprotobuf/compiler/descriptor" |
| Rob Pike | aaa3a62 | 2010-03-20 22:32:34 -0700 | [diff] [blame] | 10 | |
| David Symonds | fa6a18d | 2011-01-19 09:30:28 +1100 | [diff] [blame] | 11 | // Reference proto, math & os imports to suppress error if they are not otherwise used. |
| David Symonds | b012753 | 2010-11-09 11:10:46 +1100 | [diff] [blame] | 12 | var _ = proto.GetString |
| David Symonds | fa6a18d | 2011-01-19 09:30:28 +1100 | [diff] [blame] | 13 | var _ = math.Inf |
| Rob Pike | a17fdd9 | 2011-11-02 12:43:05 -0700 | [diff] [blame] | 14 | var _ error |
| David Symonds | 8935abf | 2011-07-04 15:53:16 +1000 | [diff] [blame] | 15 | |
| Rob Pike | aaa3a62 | 2010-03-20 22:32:34 -0700 | [diff] [blame] | 16 | type CodeGeneratorRequest struct { |
| Rob Pike | a17fdd9 | 2011-11-02 12:43:05 -0700 | [diff] [blame] | 17 | FileToGenerate []string `protobuf:"bytes,1,rep,name=file_to_generate"` |
| 18 | Parameter *string `protobuf:"bytes,2,opt,name=parameter"` |
| 19 | ProtoFile []*google_protobuf.FileDescriptorProto `protobuf:"bytes,15,rep,name=proto_file"` |
| 20 | XXX_unrecognized []byte |
| Rob Pike | aaa3a62 | 2010-03-20 22:32:34 -0700 | [diff] [blame] | 21 | } |
| David Symonds | 8935abf | 2011-07-04 15:53:16 +1000 | [diff] [blame] | 22 | |
| Rob Pike | a17fdd9 | 2011-11-02 12:43:05 -0700 | [diff] [blame] | 23 | func (this *CodeGeneratorRequest) Reset() { *this = CodeGeneratorRequest{} } |
| 24 | func (this *CodeGeneratorRequest) String() string { return proto.CompactTextString(this) } |
| Rob Pike | aaa3a62 | 2010-03-20 22:32:34 -0700 | [diff] [blame] | 25 | |
| 26 | type CodeGeneratorResponse struct { |
| Rob Pike | a17fdd9 | 2011-11-02 12:43:05 -0700 | [diff] [blame] | 27 | Error *string `protobuf:"bytes,1,opt,name=error"` |
| 28 | File []*CodeGeneratorResponse_File `protobuf:"bytes,15,rep,name=file"` |
| 29 | XXX_unrecognized []byte |
| Rob Pike | aaa3a62 | 2010-03-20 22:32:34 -0700 | [diff] [blame] | 30 | } |
| Rob Pike | aaa3a62 | 2010-03-20 22:32:34 -0700 | [diff] [blame] | 31 | |
| Rob Pike | a17fdd9 | 2011-11-02 12:43:05 -0700 | [diff] [blame] | 32 | func (this *CodeGeneratorResponse) Reset() { *this = CodeGeneratorResponse{} } |
| 33 | func (this *CodeGeneratorResponse) String() string { return proto.CompactTextString(this) } |
| David Symonds | 8935abf | 2011-07-04 15:53:16 +1000 | [diff] [blame] | 34 | |
| Rob Pike | aaa3a62 | 2010-03-20 22:32:34 -0700 | [diff] [blame] | 35 | type CodeGeneratorResponse_File struct { |
| Rob Pike | a17fdd9 | 2011-11-02 12:43:05 -0700 | [diff] [blame] | 36 | Name *string `protobuf:"bytes,1,opt,name=name"` |
| 37 | InsertionPoint *string `protobuf:"bytes,2,opt,name=insertion_point"` |
| 38 | Content *string `protobuf:"bytes,15,opt,name=content"` |
| 39 | XXX_unrecognized []byte |
| Rob Pike | aaa3a62 | 2010-03-20 22:32:34 -0700 | [diff] [blame] | 40 | } |
| David Symonds | 8935abf | 2011-07-04 15:53:16 +1000 | [diff] [blame] | 41 | |
| Rob Pike | a17fdd9 | 2011-11-02 12:43:05 -0700 | [diff] [blame] | 42 | func (this *CodeGeneratorResponse_File) Reset() { *this = CodeGeneratorResponse_File{} } |
| 43 | func (this *CodeGeneratorResponse_File) String() string { return proto.CompactTextString(this) } |
| Rob Pike | aaa3a62 | 2010-03-20 22:32:34 -0700 | [diff] [blame] | 44 | |
| 45 | func init() { |
| 46 | } |