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