Regenerate descriptor.pb.go and plugin.pb.go.
Fix uses of long-gone NewT in generator.go.
R=r
CC=golang-dev
http://codereview.appspot.com/2954041
diff --git a/compiler/plugin/plugin.pb.go b/compiler/plugin/plugin.pb.go
index 1c11686..1f0188c 100644
--- a/compiler/plugin/plugin.pb.go
+++ b/compiler/plugin/plugin.pb.go
@@ -3,8 +3,12 @@
package google_protobuf_compiler
+import proto "goprotobuf.googlecode.com/hg/proto"
import google_protobuf "goprotobuf.googlecode.com/hg/compiler/descriptor"
+// Reference proto import to suppress error if it's not otherwise used.
+var _ = proto.GetString
+
type CodeGeneratorRequest struct {
FileToGenerate []string "PB(bytes,1,rep,name=file_to_generate)"
Parameter *string "PB(bytes,2,opt,name=parameter)"
@@ -14,9 +18,6 @@
func (this *CodeGeneratorRequest) Reset() {
*this = CodeGeneratorRequest{}
}
-func NewCodeGeneratorRequest() *CodeGeneratorRequest {
- return new(CodeGeneratorRequest)
-}
type CodeGeneratorResponse struct {
Error *string "PB(bytes,1,opt,name=error)"
@@ -26,9 +27,6 @@
func (this *CodeGeneratorResponse) Reset() {
*this = CodeGeneratorResponse{}
}
-func NewCodeGeneratorResponse() *CodeGeneratorResponse {
- return new(CodeGeneratorResponse)
-}
type CodeGeneratorResponse_File struct {
Name *string "PB(bytes,1,opt,name=name)"
@@ -39,9 +37,6 @@
func (this *CodeGeneratorResponse_File) Reset() {
*this = CodeGeneratorResponse_File{}
}
-func NewCodeGeneratorResponse_File() *CodeGeneratorResponse_File {
- return new(CodeGeneratorResponse_File)
-}
func init() {
}