plugin.pb.go 3.0 KB

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