plugin.pb.golden 2.9 KB

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