1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // source: my_test/test.proto
5 Package my_test is a generated protocol buffer package.
7 This package holds interesting messages.
9 It is generated from these files:
12 It has these top-level messages:
23 import proto "github.com/golang/protobuf/proto"
26 import _ "github.com/golang/protobuf/protoc-gen-go/testdata/multi"
28 // Reference imports to suppress errors if they are not otherwise used.
33 // This is a compile-time assertion to ensure that this generated file
34 // is compatible with the proto package it is being compiled against.
35 // A compilation error at this line likely means your copy of the
36 // proto package needs to be updated.
37 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
42 // deliberately skipping 0
43 HatType_FEDORA HatType = 1
44 HatType_FEZ HatType = 2
47 var HatType_name = map[int32]string{
51 var HatType_value = map[string]int32{
56 func (x HatType) Enum() *HatType {
61 func (x HatType) String() string {
62 return proto.EnumName(HatType_name, int32(x))
64 func (x *HatType) UnmarshalJSON(data []byte) error {
65 value, err := proto.UnmarshalJSONEnum(HatType_value, data, "HatType")
73 // This enum represents days of the week.
82 var Days_name = map[int32]string{
85 // Duplicate value: 1: "LUNDI",
87 var Days_value = map[string]int32{
93 func (x Days) Enum() *Days {
98 func (x Days) String() string {
99 return proto.EnumName(Days_name, int32(x))
101 func (x *Days) UnmarshalJSON(data []byte) error {
102 value, err := proto.UnmarshalJSONEnum(Days_value, data, "Days")
110 type Request_Color int32
113 Request_RED Request_Color = 0
114 Request_GREEN Request_Color = 1
115 Request_BLUE Request_Color = 2
118 var Request_Color_name = map[int32]string{
123 var Request_Color_value = map[string]int32{
129 func (x Request_Color) Enum() *Request_Color {
130 p := new(Request_Color)
134 func (x Request_Color) String() string {
135 return proto.EnumName(Request_Color_name, int32(x))
137 func (x *Request_Color) UnmarshalJSON(data []byte) error {
138 value, err := proto.UnmarshalJSONEnum(Request_Color_value, data, "Request_Color")
142 *x = Request_Color(value)
146 type Reply_Entry_Game int32
149 Reply_Entry_FOOTBALL Reply_Entry_Game = 1
150 Reply_Entry_TENNIS Reply_Entry_Game = 2
153 var Reply_Entry_Game_name = map[int32]string{
157 var Reply_Entry_Game_value = map[string]int32{
162 func (x Reply_Entry_Game) Enum() *Reply_Entry_Game {
163 p := new(Reply_Entry_Game)
167 func (x Reply_Entry_Game) String() string {
168 return proto.EnumName(Reply_Entry_Game_name, int32(x))
170 func (x *Reply_Entry_Game) UnmarshalJSON(data []byte) error {
171 value, err := proto.UnmarshalJSONEnum(Reply_Entry_Game_value, data, "Reply_Entry_Game")
175 *x = Reply_Entry_Game(value)
179 // This is a message that might be sent somewhere.
180 type Request struct {
181 Key []int64 `protobuf:"varint,1,rep,name=key" json:"key,omitempty"`
182 // optional imp.ImportedMessage imported_message = 2;
183 Hue *Request_Color `protobuf:"varint,3,opt,name=hue,enum=my.test.Request_Color" json:"hue,omitempty"`
184 Hat *HatType `protobuf:"varint,4,opt,name=hat,enum=my.test.HatType,def=1" json:"hat,omitempty"`
185 // optional imp.ImportedMessage.Owner owner = 6;
186 Deadline *float32 `protobuf:"fixed32,7,opt,name=deadline,def=inf" json:"deadline,omitempty"`
187 Somegroup *Request_SomeGroup `protobuf:"group,8,opt,name=SomeGroup,json=somegroup" json:"somegroup,omitempty"`
188 // This is a map field. It will generate map[int32]string.
189 NameMapping map[int32]string `protobuf:"bytes,14,rep,name=name_mapping,json=nameMapping" json:"name_mapping,omitempty" protobuf_key:"varint,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
190 // This is a map field whose value type is a message.
191 MsgMapping map[int64]*Reply `protobuf:"bytes,15,rep,name=msg_mapping,json=msgMapping" json:"msg_mapping,omitempty" protobuf_key:"zigzag64,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
192 Reset_ *int32 `protobuf:"varint,12,opt,name=reset" json:"reset,omitempty"`
193 // This field should not conflict with any getters.
194 GetKey_ *string `protobuf:"bytes,16,opt,name=get_key,json=getKey" json:"get_key,omitempty"`
195 XXX_unrecognized []byte `json:"-"`
198 func (m *Request) Reset() { *m = Request{} }
199 func (m *Request) String() string { return proto.CompactTextString(m) }
200 func (*Request) ProtoMessage() {}
202 const Default_Request_Hat HatType = HatType_FEDORA
204 var Default_Request_Deadline float32 = float32(math.Inf(1))
206 func (m *Request) GetKey() []int64 {
213 func (m *Request) GetHue() Request_Color {
214 if m != nil && m.Hue != nil {
220 func (m *Request) GetHat() HatType {
221 if m != nil && m.Hat != nil {
224 return Default_Request_Hat
227 func (m *Request) GetDeadline() float32 {
228 if m != nil && m.Deadline != nil {
231 return Default_Request_Deadline
234 func (m *Request) GetSomegroup() *Request_SomeGroup {
241 func (m *Request) GetNameMapping() map[int32]string {
248 func (m *Request) GetMsgMapping() map[int64]*Reply {
255 func (m *Request) GetReset_() int32 {
256 if m != nil && m.Reset_ != nil {
262 func (m *Request) GetGetKey_() string {
263 if m != nil && m.GetKey_ != nil {
269 type Request_SomeGroup struct {
270 GroupField *int32 `protobuf:"varint,9,opt,name=group_field,json=groupField" json:"group_field,omitempty"`
271 XXX_unrecognized []byte `json:"-"`
274 func (m *Request_SomeGroup) Reset() { *m = Request_SomeGroup{} }
275 func (m *Request_SomeGroup) String() string { return proto.CompactTextString(m) }
276 func (*Request_SomeGroup) ProtoMessage() {}
278 func (m *Request_SomeGroup) GetGroupField() int32 {
279 if m != nil && m.GroupField != nil {
286 Found []*Reply_Entry `protobuf:"bytes,1,rep,name=found" json:"found,omitempty"`
287 CompactKeys []int32 `protobuf:"varint,2,rep,packed,name=compact_keys,json=compactKeys" json:"compact_keys,omitempty"`
288 proto.XXX_InternalExtensions `json:"-"`
289 XXX_unrecognized []byte `json:"-"`
292 func (m *Reply) Reset() { *m = Reply{} }
293 func (m *Reply) String() string { return proto.CompactTextString(m) }
294 func (*Reply) ProtoMessage() {}
296 var extRange_Reply = []proto.ExtensionRange{
300 func (*Reply) ExtensionRangeArray() []proto.ExtensionRange {
301 return extRange_Reply
304 func (m *Reply) GetFound() []*Reply_Entry {
311 func (m *Reply) GetCompactKeys() []int32 {
318 type Reply_Entry struct {
319 KeyThatNeeds_1234Camel_CasIng *int64 `protobuf:"varint,1,req,name=key_that_needs_1234camel_CasIng,json=keyThatNeeds1234camelCasIng" json:"key_that_needs_1234camel_CasIng,omitempty"`
320 Value *int64 `protobuf:"varint,2,opt,name=value,def=7" json:"value,omitempty"`
321 XMyFieldName_2 *int64 `protobuf:"varint,3,opt,name=_my_field_name_2,json=MyFieldName2" json:"_my_field_name_2,omitempty"`
322 XXX_unrecognized []byte `json:"-"`
325 func (m *Reply_Entry) Reset() { *m = Reply_Entry{} }
326 func (m *Reply_Entry) String() string { return proto.CompactTextString(m) }
327 func (*Reply_Entry) ProtoMessage() {}
329 const Default_Reply_Entry_Value int64 = 7
331 func (m *Reply_Entry) GetKeyThatNeeds_1234Camel_CasIng() int64 {
332 if m != nil && m.KeyThatNeeds_1234Camel_CasIng != nil {
333 return *m.KeyThatNeeds_1234Camel_CasIng
338 func (m *Reply_Entry) GetValue() int64 {
339 if m != nil && m.Value != nil {
342 return Default_Reply_Entry_Value
345 func (m *Reply_Entry) GetXMyFieldName_2() int64 {
346 if m != nil && m.XMyFieldName_2 != nil {
347 return *m.XMyFieldName_2
352 type OtherBase struct {
353 Name *string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
354 proto.XXX_InternalExtensions `json:"-"`
355 XXX_unrecognized []byte `json:"-"`
358 func (m *OtherBase) Reset() { *m = OtherBase{} }
359 func (m *OtherBase) String() string { return proto.CompactTextString(m) }
360 func (*OtherBase) ProtoMessage() {}
362 var extRange_OtherBase = []proto.ExtensionRange{
366 func (*OtherBase) ExtensionRangeArray() []proto.ExtensionRange {
367 return extRange_OtherBase
370 func (m *OtherBase) GetName() string {
371 if m != nil && m.Name != nil {
377 type ReplyExtensions struct {
378 XXX_unrecognized []byte `json:"-"`
381 func (m *ReplyExtensions) Reset() { *m = ReplyExtensions{} }
382 func (m *ReplyExtensions) String() string { return proto.CompactTextString(m) }
383 func (*ReplyExtensions) ProtoMessage() {}
385 var E_ReplyExtensions_Time = &proto.ExtensionDesc{
386 ExtendedType: (*Reply)(nil),
387 ExtensionType: (*float64)(nil),
389 Name: "my.test.ReplyExtensions.time",
390 Tag: "fixed64,101,opt,name=time",
391 Filename: "my_test/test.proto",
394 var E_ReplyExtensions_Carrot = &proto.ExtensionDesc{
395 ExtendedType: (*Reply)(nil),
396 ExtensionType: (*ReplyExtensions)(nil),
398 Name: "my.test.ReplyExtensions.carrot",
399 Tag: "bytes,105,opt,name=carrot",
400 Filename: "my_test/test.proto",
403 var E_ReplyExtensions_Donut = &proto.ExtensionDesc{
404 ExtendedType: (*OtherBase)(nil),
405 ExtensionType: (*ReplyExtensions)(nil),
407 Name: "my.test.ReplyExtensions.donut",
408 Tag: "bytes,101,opt,name=donut",
409 Filename: "my_test/test.proto",
412 type OtherReplyExtensions struct {
413 Key *int32 `protobuf:"varint,1,opt,name=key" json:"key,omitempty"`
414 XXX_unrecognized []byte `json:"-"`
417 func (m *OtherReplyExtensions) Reset() { *m = OtherReplyExtensions{} }
418 func (m *OtherReplyExtensions) String() string { return proto.CompactTextString(m) }
419 func (*OtherReplyExtensions) ProtoMessage() {}
421 func (m *OtherReplyExtensions) GetKey() int32 {
422 if m != nil && m.Key != nil {
428 type OldReply struct {
429 proto.XXX_InternalExtensions `json:"-"`
430 XXX_unrecognized []byte `json:"-"`
433 func (m *OldReply) Reset() { *m = OldReply{} }
434 func (m *OldReply) String() string { return proto.CompactTextString(m) }
435 func (*OldReply) ProtoMessage() {}
437 func (m *OldReply) Marshal() ([]byte, error) {
438 return proto.MarshalMessageSet(&m.XXX_InternalExtensions)
440 func (m *OldReply) Unmarshal(buf []byte) error {
441 return proto.UnmarshalMessageSet(buf, &m.XXX_InternalExtensions)
443 func (m *OldReply) MarshalJSON() ([]byte, error) {
444 return proto.MarshalMessageSetJSON(&m.XXX_InternalExtensions)
446 func (m *OldReply) UnmarshalJSON(buf []byte) error {
447 return proto.UnmarshalMessageSetJSON(buf, &m.XXX_InternalExtensions)
450 // ensure OldReply satisfies proto.Marshaler and proto.Unmarshaler
451 var _ proto.Marshaler = (*OldReply)(nil)
452 var _ proto.Unmarshaler = (*OldReply)(nil)
454 var extRange_OldReply = []proto.ExtensionRange{
458 func (*OldReply) ExtensionRangeArray() []proto.ExtensionRange {
459 return extRange_OldReply
462 type Communique struct {
463 MakeMeCry *bool `protobuf:"varint,1,opt,name=make_me_cry,json=makeMeCry" json:"make_me_cry,omitempty"`
464 // This is a oneof, called "union".
466 // Types that are valid to be assigned to Union:
467 // *Communique_Number
471 // *Communique_Height
474 // *Communique_Delta_
476 // *Communique_Somegroup
477 Union isCommunique_Union `protobuf_oneof:"union"`
478 XXX_unrecognized []byte `json:"-"`
481 func (m *Communique) Reset() { *m = Communique{} }
482 func (m *Communique) String() string { return proto.CompactTextString(m) }
483 func (*Communique) ProtoMessage() {}
485 type isCommunique_Union interface {
489 type Communique_Number struct {
490 Number int32 `protobuf:"varint,5,opt,name=number,oneof"`
492 type Communique_Name struct {
493 Name string `protobuf:"bytes,6,opt,name=name,oneof"`
495 type Communique_Data struct {
496 Data []byte `protobuf:"bytes,7,opt,name=data,oneof"`
498 type Communique_TempC struct {
499 TempC float64 `protobuf:"fixed64,8,opt,name=temp_c,json=tempC,oneof"`
501 type Communique_Height struct {
502 Height float32 `protobuf:"fixed32,9,opt,name=height,oneof"`
504 type Communique_Today struct {
505 Today Days `protobuf:"varint,10,opt,name=today,enum=my.test.Days,oneof"`
507 type Communique_Maybe struct {
508 Maybe bool `protobuf:"varint,11,opt,name=maybe,oneof"`
510 type Communique_Delta_ struct {
511 Delta int32 `protobuf:"zigzag32,12,opt,name=delta,oneof"`
513 type Communique_Msg struct {
514 Msg *Reply `protobuf:"bytes,13,opt,name=msg,oneof"`
516 type Communique_Somegroup struct {
517 Somegroup *Communique_SomeGroup `protobuf:"group,14,opt,name=SomeGroup,json=somegroup,oneof"`
520 func (*Communique_Number) isCommunique_Union() {}
521 func (*Communique_Name) isCommunique_Union() {}
522 func (*Communique_Data) isCommunique_Union() {}
523 func (*Communique_TempC) isCommunique_Union() {}
524 func (*Communique_Height) isCommunique_Union() {}
525 func (*Communique_Today) isCommunique_Union() {}
526 func (*Communique_Maybe) isCommunique_Union() {}
527 func (*Communique_Delta_) isCommunique_Union() {}
528 func (*Communique_Msg) isCommunique_Union() {}
529 func (*Communique_Somegroup) isCommunique_Union() {}
531 func (m *Communique) GetUnion() isCommunique_Union {
538 func (m *Communique) GetMakeMeCry() bool {
539 if m != nil && m.MakeMeCry != nil {
545 func (m *Communique) GetNumber() int32 {
546 if x, ok := m.GetUnion().(*Communique_Number); ok {
552 func (m *Communique) GetName() string {
553 if x, ok := m.GetUnion().(*Communique_Name); ok {
559 func (m *Communique) GetData() []byte {
560 if x, ok := m.GetUnion().(*Communique_Data); ok {
566 func (m *Communique) GetTempC() float64 {
567 if x, ok := m.GetUnion().(*Communique_TempC); ok {
573 func (m *Communique) GetHeight() float32 {
574 if x, ok := m.GetUnion().(*Communique_Height); ok {
580 func (m *Communique) GetToday() Days {
581 if x, ok := m.GetUnion().(*Communique_Today); ok {
587 func (m *Communique) GetMaybe() bool {
588 if x, ok := m.GetUnion().(*Communique_Maybe); ok {
594 func (m *Communique) GetDelta() int32 {
595 if x, ok := m.GetUnion().(*Communique_Delta_); ok {
601 func (m *Communique) GetMsg() *Reply {
602 if x, ok := m.GetUnion().(*Communique_Msg); ok {
608 func (m *Communique) GetSomegroup() *Communique_SomeGroup {
609 if x, ok := m.GetUnion().(*Communique_Somegroup); ok {
615 // XXX_OneofFuncs is for the internal use of the proto package.
616 func (*Communique) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{}) {
617 return _Communique_OneofMarshaler, _Communique_OneofUnmarshaler, _Communique_OneofSizer, []interface{}{
618 (*Communique_Number)(nil),
619 (*Communique_Name)(nil),
620 (*Communique_Data)(nil),
621 (*Communique_TempC)(nil),
622 (*Communique_Height)(nil),
623 (*Communique_Today)(nil),
624 (*Communique_Maybe)(nil),
625 (*Communique_Delta_)(nil),
626 (*Communique_Msg)(nil),
627 (*Communique_Somegroup)(nil),
631 func _Communique_OneofMarshaler(msg proto.Message, b *proto.Buffer) error {
632 m := msg.(*Communique)
634 switch x := m.Union.(type) {
635 case *Communique_Number:
636 b.EncodeVarint(5<<3 | proto.WireVarint)
637 b.EncodeVarint(uint64(x.Number))
638 case *Communique_Name:
639 b.EncodeVarint(6<<3 | proto.WireBytes)
640 b.EncodeStringBytes(x.Name)
641 case *Communique_Data:
642 b.EncodeVarint(7<<3 | proto.WireBytes)
643 b.EncodeRawBytes(x.Data)
644 case *Communique_TempC:
645 b.EncodeVarint(8<<3 | proto.WireFixed64)
646 b.EncodeFixed64(math.Float64bits(x.TempC))
647 case *Communique_Height:
648 b.EncodeVarint(9<<3 | proto.WireFixed32)
649 b.EncodeFixed32(uint64(math.Float32bits(x.Height)))
650 case *Communique_Today:
651 b.EncodeVarint(10<<3 | proto.WireVarint)
652 b.EncodeVarint(uint64(x.Today))
653 case *Communique_Maybe:
658 b.EncodeVarint(11<<3 | proto.WireVarint)
660 case *Communique_Delta_:
661 b.EncodeVarint(12<<3 | proto.WireVarint)
662 b.EncodeZigzag32(uint64(x.Delta))
663 case *Communique_Msg:
664 b.EncodeVarint(13<<3 | proto.WireBytes)
665 if err := b.EncodeMessage(x.Msg); err != nil {
668 case *Communique_Somegroup:
669 b.EncodeVarint(14<<3 | proto.WireStartGroup)
670 if err := b.Marshal(x.Somegroup); err != nil {
673 b.EncodeVarint(14<<3 | proto.WireEndGroup)
676 return fmt.Errorf("Communique.Union has unexpected type %T", x)
681 func _Communique_OneofUnmarshaler(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error) {
682 m := msg.(*Communique)
684 case 5: // union.number
685 if wire != proto.WireVarint {
686 return true, proto.ErrInternalBadWireType
688 x, err := b.DecodeVarint()
689 m.Union = &Communique_Number{int32(x)}
691 case 6: // union.name
692 if wire != proto.WireBytes {
693 return true, proto.ErrInternalBadWireType
695 x, err := b.DecodeStringBytes()
696 m.Union = &Communique_Name{x}
698 case 7: // union.data
699 if wire != proto.WireBytes {
700 return true, proto.ErrInternalBadWireType
702 x, err := b.DecodeRawBytes(true)
703 m.Union = &Communique_Data{x}
705 case 8: // union.temp_c
706 if wire != proto.WireFixed64 {
707 return true, proto.ErrInternalBadWireType
709 x, err := b.DecodeFixed64()
710 m.Union = &Communique_TempC{math.Float64frombits(x)}
712 case 9: // union.height
713 if wire != proto.WireFixed32 {
714 return true, proto.ErrInternalBadWireType
716 x, err := b.DecodeFixed32()
717 m.Union = &Communique_Height{math.Float32frombits(uint32(x))}
719 case 10: // union.today
720 if wire != proto.WireVarint {
721 return true, proto.ErrInternalBadWireType
723 x, err := b.DecodeVarint()
724 m.Union = &Communique_Today{Days(x)}
726 case 11: // union.maybe
727 if wire != proto.WireVarint {
728 return true, proto.ErrInternalBadWireType
730 x, err := b.DecodeVarint()
731 m.Union = &Communique_Maybe{x != 0}
733 case 12: // union.delta
734 if wire != proto.WireVarint {
735 return true, proto.ErrInternalBadWireType
737 x, err := b.DecodeZigzag32()
738 m.Union = &Communique_Delta_{int32(x)}
740 case 13: // union.msg
741 if wire != proto.WireBytes {
742 return true, proto.ErrInternalBadWireType
745 err := b.DecodeMessage(msg)
746 m.Union = &Communique_Msg{msg}
748 case 14: // union.somegroup
749 if wire != proto.WireStartGroup {
750 return true, proto.ErrInternalBadWireType
752 msg := new(Communique_SomeGroup)
753 err := b.DecodeGroup(msg)
754 m.Union = &Communique_Somegroup{msg}
761 func _Communique_OneofSizer(msg proto.Message) (n int) {
762 m := msg.(*Communique)
764 switch x := m.Union.(type) {
765 case *Communique_Number:
766 n += proto.SizeVarint(5<<3 | proto.WireVarint)
767 n += proto.SizeVarint(uint64(x.Number))
768 case *Communique_Name:
769 n += proto.SizeVarint(6<<3 | proto.WireBytes)
770 n += proto.SizeVarint(uint64(len(x.Name)))
772 case *Communique_Data:
773 n += proto.SizeVarint(7<<3 | proto.WireBytes)
774 n += proto.SizeVarint(uint64(len(x.Data)))
776 case *Communique_TempC:
777 n += proto.SizeVarint(8<<3 | proto.WireFixed64)
779 case *Communique_Height:
780 n += proto.SizeVarint(9<<3 | proto.WireFixed32)
782 case *Communique_Today:
783 n += proto.SizeVarint(10<<3 | proto.WireVarint)
784 n += proto.SizeVarint(uint64(x.Today))
785 case *Communique_Maybe:
786 n += proto.SizeVarint(11<<3 | proto.WireVarint)
788 case *Communique_Delta_:
789 n += proto.SizeVarint(12<<3 | proto.WireVarint)
790 n += proto.SizeVarint(uint64((uint32(x.Delta) << 1) ^ uint32((int32(x.Delta) >> 31))))
791 case *Communique_Msg:
792 s := proto.Size(x.Msg)
793 n += proto.SizeVarint(13<<3 | proto.WireBytes)
794 n += proto.SizeVarint(uint64(s))
796 case *Communique_Somegroup:
797 n += proto.SizeVarint(14<<3 | proto.WireStartGroup)
798 n += proto.Size(x.Somegroup)
799 n += proto.SizeVarint(14<<3 | proto.WireEndGroup)
802 panic(fmt.Sprintf("proto: unexpected type %T in oneof", x))
807 type Communique_SomeGroup struct {
808 Member *string `protobuf:"bytes,15,opt,name=member" json:"member,omitempty"`
809 XXX_unrecognized []byte `json:"-"`
812 func (m *Communique_SomeGroup) Reset() { *m = Communique_SomeGroup{} }
813 func (m *Communique_SomeGroup) String() string { return proto.CompactTextString(m) }
814 func (*Communique_SomeGroup) ProtoMessage() {}
816 func (m *Communique_SomeGroup) GetMember() string {
817 if m != nil && m.Member != nil {
823 type Communique_Delta struct {
824 XXX_unrecognized []byte `json:"-"`
827 func (m *Communique_Delta) Reset() { *m = Communique_Delta{} }
828 func (m *Communique_Delta) String() string { return proto.CompactTextString(m) }
829 func (*Communique_Delta) ProtoMessage() {}
831 var E_Tag = &proto.ExtensionDesc{
832 ExtendedType: (*Reply)(nil),
833 ExtensionType: (*string)(nil),
836 Tag: "bytes,103,opt,name=tag",
837 Filename: "my_test/test.proto",
840 var E_Donut = &proto.ExtensionDesc{
841 ExtendedType: (*Reply)(nil),
842 ExtensionType: (*OtherReplyExtensions)(nil),
844 Name: "my.test.donut",
845 Tag: "bytes,106,opt,name=donut",
846 Filename: "my_test/test.proto",
850 proto.RegisterType((*Request)(nil), "my.test.Request")
851 proto.RegisterType((*Request_SomeGroup)(nil), "my.test.Request.SomeGroup")
852 proto.RegisterType((*Reply)(nil), "my.test.Reply")
853 proto.RegisterType((*Reply_Entry)(nil), "my.test.Reply.Entry")
854 proto.RegisterType((*OtherBase)(nil), "my.test.OtherBase")
855 proto.RegisterType((*ReplyExtensions)(nil), "my.test.ReplyExtensions")
856 proto.RegisterType((*OtherReplyExtensions)(nil), "my.test.OtherReplyExtensions")
857 proto.RegisterType((*OldReply)(nil), "my.test.OldReply")
858 proto.RegisterType((*Communique)(nil), "my.test.Communique")
859 proto.RegisterType((*Communique_SomeGroup)(nil), "my.test.Communique.SomeGroup")
860 proto.RegisterType((*Communique_Delta)(nil), "my.test.Communique.Delta")
861 proto.RegisterEnum("my.test.HatType", HatType_name, HatType_value)
862 proto.RegisterEnum("my.test.Days", Days_name, Days_value)
863 proto.RegisterEnum("my.test.Request_Color", Request_Color_name, Request_Color_value)
864 proto.RegisterEnum("my.test.Reply_Entry_Game", Reply_Entry_Game_name, Reply_Entry_Game_value)
865 proto.RegisterExtension(E_ReplyExtensions_Time)
866 proto.RegisterExtension(E_ReplyExtensions_Carrot)
867 proto.RegisterExtension(E_ReplyExtensions_Donut)
868 proto.RegisterExtension(E_Tag)
869 proto.RegisterExtension(E_Donut)