plugin.pb.go 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // Code generated by protoc-gen-go from "google/protobuf/compiler/plugin.proto"
  2. // DO NOT EDIT!
  3. package google_protobuf_compiler
  4. import proto "code.google.com/p/goprotobuf/proto"
  5. import "math"
  6. import google_protobuf "code.google.com/p/goprotobuf/protoc-gen-go/descriptor"
  7. // Reference proto, math & os imports to suppress error if they are not otherwise used.
  8. var _ = proto.GetString
  9. var _ = math.Inf
  10. var _ error
  11. type CodeGeneratorRequest struct {
  12. FileToGenerate []string `protobuf:"bytes,1,rep,name=file_to_generate"`
  13. Parameter *string `protobuf:"bytes,2,opt,name=parameter"`
  14. ProtoFile []*google_protobuf.FileDescriptorProto `protobuf:"bytes,15,rep,name=proto_file"`
  15. XXX_unrecognized []byte
  16. }
  17. func (this *CodeGeneratorRequest) Reset() { *this = CodeGeneratorRequest{} }
  18. func (this *CodeGeneratorRequest) String() string { return proto.CompactTextString(this) }
  19. func (*CodeGeneratorRequest) ProtoMessage() {}
  20. type CodeGeneratorResponse struct {
  21. Error *string `protobuf:"bytes,1,opt,name=error"`
  22. File []*CodeGeneratorResponse_File `protobuf:"bytes,15,rep,name=file"`
  23. XXX_unrecognized []byte
  24. }
  25. func (this *CodeGeneratorResponse) Reset() { *this = CodeGeneratorResponse{} }
  26. func (this *CodeGeneratorResponse) String() string { return proto.CompactTextString(this) }
  27. func (*CodeGeneratorResponse) ProtoMessage() {}
  28. type CodeGeneratorResponse_File struct {
  29. Name *string `protobuf:"bytes,1,opt,name=name"`
  30. InsertionPoint *string `protobuf:"bytes,2,opt,name=insertion_point"`
  31. Content *string `protobuf:"bytes,15,opt,name=content"`
  32. XXX_unrecognized []byte
  33. }
  34. func (this *CodeGeneratorResponse_File) Reset() { *this = CodeGeneratorResponse_File{} }
  35. func (this *CodeGeneratorResponse_File) String() string { return proto.CompactTextString(this) }
  36. func (*CodeGeneratorResponse_File) ProtoMessage() {}
  37. func init() {
  38. }