| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106 |
- // Code generated by protoc-gen-go.
- // source: google/protobuf/compiler/plugin.proto
- // DO NOT EDIT!
- package google_protobuf_compiler
- import proto "code.google.com/p/goprotobuf/proto"
- import json "encoding/json"
- import math "math"
- import google_protobuf "code.google.com/p/goprotobuf/protoc-gen-go/descriptor"
- // Reference proto, json, and math imports to suppress error if they are not otherwise used.
- var _ = proto.Marshal
- var _ = &json.SyntaxError{}
- var _ = math.Inf
- type CodeGeneratorRequest struct {
- FileToGenerate []string `protobuf:"bytes,1,rep,name=file_to_generate" json:"file_to_generate,omitempty"`
- Parameter *string `protobuf:"bytes,2,opt,name=parameter" json:"parameter,omitempty"`
- ProtoFile []*google_protobuf.FileDescriptorProto `protobuf:"bytes,15,rep,name=proto_file" json:"proto_file,omitempty"`
- XXX_unrecognized []byte `json:"-"`
- }
- func (m *CodeGeneratorRequest) Reset() { *m = CodeGeneratorRequest{} }
- func (m *CodeGeneratorRequest) String() string { return proto.CompactTextString(m) }
- func (*CodeGeneratorRequest) ProtoMessage() {}
- func (m *CodeGeneratorRequest) GetFileToGenerate() []string {
- if m != nil {
- return m.FileToGenerate
- }
- return nil
- }
- func (m *CodeGeneratorRequest) GetParameter() string {
- if m != nil && m.Parameter != nil {
- return *m.Parameter
- }
- return ""
- }
- func (m *CodeGeneratorRequest) GetProtoFile() []*google_protobuf.FileDescriptorProto {
- if m != nil {
- return m.ProtoFile
- }
- return nil
- }
- type CodeGeneratorResponse struct {
- Error *string `protobuf:"bytes,1,opt,name=error" json:"error,omitempty"`
- File []*CodeGeneratorResponse_File `protobuf:"bytes,15,rep,name=file" json:"file,omitempty"`
- XXX_unrecognized []byte `json:"-"`
- }
- func (m *CodeGeneratorResponse) Reset() { *m = CodeGeneratorResponse{} }
- func (m *CodeGeneratorResponse) String() string { return proto.CompactTextString(m) }
- func (*CodeGeneratorResponse) ProtoMessage() {}
- func (m *CodeGeneratorResponse) GetError() string {
- if m != nil && m.Error != nil {
- return *m.Error
- }
- return ""
- }
- func (m *CodeGeneratorResponse) GetFile() []*CodeGeneratorResponse_File {
- if m != nil {
- return m.File
- }
- return nil
- }
- type CodeGeneratorResponse_File struct {
- Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
- InsertionPoint *string `protobuf:"bytes,2,opt,name=insertion_point" json:"insertion_point,omitempty"`
- Content *string `protobuf:"bytes,15,opt,name=content" json:"content,omitempty"`
- XXX_unrecognized []byte `json:"-"`
- }
- func (m *CodeGeneratorResponse_File) Reset() { *m = CodeGeneratorResponse_File{} }
- func (m *CodeGeneratorResponse_File) String() string { return proto.CompactTextString(m) }
- func (*CodeGeneratorResponse_File) ProtoMessage() {}
- func (m *CodeGeneratorResponse_File) GetName() string {
- if m != nil && m.Name != nil {
- return *m.Name
- }
- return ""
- }
- func (m *CodeGeneratorResponse_File) GetInsertionPoint() string {
- if m != nil && m.InsertionPoint != nil {
- return *m.InsertionPoint
- }
- return ""
- }
- func (m *CodeGeneratorResponse_File) GetContent() string {
- if m != nil && m.Content != nil {
- return *m.Content
- }
- return ""
- }
- func init() {
- }
|