Просмотр исходного кода

goprotobuf: Missing regenerated .pb.go from previous CL.

TBR=r
CC=golang-dev
https://codereview.appspot.com/10126043
David Symonds 12 лет назад
Родитель
Сommit
605ed3ad74
1 измененных файлов с 24 добавлено и 0 удалено
  1. 24 0
      proto/testdata/test.pb.go

+ 24 - 0
proto/testdata/test.pb.go

@@ -1616,6 +1616,7 @@ type MoreRepeated struct {
 	Ints             []int32  `protobuf:"varint,3,rep,name=ints" json:"ints,omitempty"`
 	IntsPacked       []int32  `protobuf:"varint,4,rep,packed,name=ints_packed" json:"ints_packed,omitempty"`
 	Strings          []string `protobuf:"bytes,5,rep,name=strings" json:"strings,omitempty"`
+	Fixeds           []uint32 `protobuf:"fixed32,6,rep,name=fixeds" json:"fixeds,omitempty"`
 	XXX_unrecognized []byte   `json:"-"`
 }
 
@@ -1658,6 +1659,13 @@ func (m *MoreRepeated) GetStrings() []string {
 	return nil
 }
 
+func (m *MoreRepeated) GetFixeds() []uint32 {
+	if m != nil {
+		return m.Fixeds
+	}
+	return nil
+}
+
 type GroupOld struct {
 	G                *GroupOld_G `protobuf:"group,1,opt" json:"g,omitempty"`
 	XXX_unrecognized []byte      `json:"-"`
@@ -1730,6 +1738,22 @@ func (m *GroupNew_G) GetY() int32 {
 	return 0
 }
 
+type FloatingPoint struct {
+	F                *float64 `protobuf:"fixed64,1,req,name=f" json:"f,omitempty"`
+	XXX_unrecognized []byte   `json:"-"`
+}
+
+func (m *FloatingPoint) Reset()         { *m = FloatingPoint{} }
+func (m *FloatingPoint) String() string { return proto.CompactTextString(m) }
+func (*FloatingPoint) ProtoMessage()    {}
+
+func (m *FloatingPoint) GetF() float64 {
+	if m != nil && m.F != nil {
+		return *m.F
+	}
+	return 0
+}
+
 var E_Greeting = &proto.ExtensionDesc{
 	ExtendedType:  (*MyMessage)(nil),
 	ExtensionType: ([]string)(nil),