1 // Code generated by protoc-gen-go from "google/protobuf/compiler/plugin.proto"
4 package google_protobuf_compiler
6 import proto "goprotobuf.googlecode.com/hg/proto"
9 import google_protobuf "goprotobuf.googlecode.com/hg/compiler/descriptor"
11 // Reference proto, math & os imports to suppress error if they are not otherwise used.
12 var _ = proto.GetString
17 type CodeGeneratorRequest struct {
18 FileToGenerate []string `protobuf:"bytes,1,rep,name=file_to_generate"`
19 Parameter *string `protobuf:"bytes,2,opt,name=parameter"`
20 ProtoFile []*google_protobuf.FileDescriptorProto `protobuf:"bytes,15,rep,name=proto_file"`
21 XXX_unrecognized []byte
24 func (this *CodeGeneratorRequest) Reset() { *this = CodeGeneratorRequest{} }
25 func (this *CodeGeneratorRequest) String() string { return proto.CompactTextString(this) }
27 type CodeGeneratorResponse struct {
28 Error *string `protobuf:"bytes,1,opt,name=error"`
29 File []*CodeGeneratorResponse_File `protobuf:"bytes,15,rep,name=file"`
30 XXX_unrecognized []byte
33 func (this *CodeGeneratorResponse) Reset() { *this = CodeGeneratorResponse{} }
34 func (this *CodeGeneratorResponse) String() string { return proto.CompactTextString(this) }
36 type CodeGeneratorResponse_File struct {
37 Name *string `protobuf:"bytes,1,opt,name=name"`
38 InsertionPoint *string `protobuf:"bytes,2,opt,name=insertion_point"`
39 Content *string `protobuf:"bytes,15,opt,name=content"`
40 XXX_unrecognized []byte
43 func (this *CodeGeneratorResponse_File) Reset() { *this = CodeGeneratorResponse_File{} }
44 func (this *CodeGeneratorResponse_File) String() string { return proto.CompactTextString(this) }