OLD | NEW |
1 // Code generated by protoc-gen-go. | 1 // Code generated by protoc-gen-go. |
2 // source: unmarshal_test.proto | 2 // source: unmarshal_test.proto |
3 // DO NOT EDIT! | 3 // DO NOT EDIT! |
4 | 4 |
5 /* | 5 /* |
6 Package flagpb is a generated protocol buffer package. | 6 Package flagpb is a generated protocol buffer package. |
7 | 7 |
8 It is generated from these files: | 8 It is generated from these files: |
9 unmarshal_test.proto | 9 unmarshal_test.proto |
10 | 10 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 func (x E) String() string { | 47 func (x E) String() string { |
48 return proto.EnumName(E_name, int32(x)) | 48 return proto.EnumName(E_name, int32(x)) |
49 } | 49 } |
50 func (E) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } | 50 func (E) EnumDescriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } |
51 | 51 |
52 type M1 struct { | 52 type M1 struct { |
53 S string `protobuf:"bytes,1,opt,name=s" json:"s,omitempty"` | 53 S string `protobuf:"bytes,1,opt,name=s" json:"s,omitempty"` |
54 I int32 `protobuf:"varint,2,opt,name=i" json:"i,omitempty"` | 54 I int32 `protobuf:"varint,2,opt,name=i" json:"i,omitempty"` |
55 Ri []int32 `protobuf:"varint,3,rep,name=ri" json:"ri,omitempty"` | 55 Ri []int32 `protobuf:"varint,3,rep,name=ri" json:"ri,omitempty"` |
56 B bool `protobuf:"varint,4,opt,name=b" json:"b,omitempty"` | 56 B bool `protobuf:"varint,4,opt,name=b" json:"b,omitempty"` |
| 57 Rb []bool `protobuf:"varint,6,rep,name=rb" json:"rb,omitempty"` |
57 Bb []byte `protobuf:"bytes,5,opt,name=bb,proto3" json:"bb,omitempty"` | 58 Bb []byte `protobuf:"bytes,5,opt,name=bb,proto3" json:"bb,omitempty"` |
58 } | 59 } |
59 | 60 |
60 func (m *M1) Reset() { *m = M1{} } | 61 func (m *M1) Reset() { *m = M1{} } |
61 func (m *M1) String() string { return proto.CompactTextString(m) } | 62 func (m *M1) String() string { return proto.CompactTextString(m) } |
62 func (*M1) ProtoMessage() {} | 63 func (*M1) ProtoMessage() {} |
63 func (*M1) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } | 64 func (*M1) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{0} } |
64 | 65 |
65 type M2 struct { | 66 type M2 struct { |
66 M1 *M1 `protobuf:"bytes,1,opt,name=m1" json:"m1,omitempty"` | 67 M1 *M1 `protobuf:"bytes,1,opt,name=m1" json:"m1,omitempty"` |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 } | 108 } |
108 | 109 |
109 func init() { | 110 func init() { |
110 proto.RegisterType((*M1)(nil), "flagpb.M1") | 111 proto.RegisterType((*M1)(nil), "flagpb.M1") |
111 proto.RegisterType((*M2)(nil), "flagpb.M2") | 112 proto.RegisterType((*M2)(nil), "flagpb.M2") |
112 proto.RegisterType((*M3)(nil), "flagpb.M3") | 113 proto.RegisterType((*M3)(nil), "flagpb.M3") |
113 proto.RegisterEnum("flagpb.E", E_name, E_value) | 114 proto.RegisterEnum("flagpb.E", E_name, E_value) |
114 } | 115 } |
115 | 116 |
116 var fileDescriptor0 = []byte{ | 117 var fileDescriptor0 = []byte{ |
117 » // 220 bytes of a gzipped FileDescriptorProto | 118 » // 227 bytes of a gzipped FileDescriptorProto |
118 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x90,
0x41, 0x4f, 0x84, 0x30, | 119 » 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x6c, 0x90,
0x31, 0x4f, 0xc3, 0x30, |
119 » 0x10, 0x85, 0x9d, 0x76, 0x97, 0xb8, 0xe3, 0x66, 0x43, 0xaa, 0x89, 0x8d,
0x27, 0xc2, 0xc9, 0x78, | 120 » 0x10, 0x85, 0x39, 0xbb, 0xb5, 0xda, 0xa3, 0xaa, 0x2a, 0x83, 0x84, 0xc5,
0x54, 0x65, 0x42, 0x0c, |
120 » 0x20, 0xb6, 0x9c, 0xfc, 0x01, 0x1c, 0xf1, 0xd0, 0x83, 0x57, 0x43, 0x13,
0x14, 0x12, 0x10, 0x42, | 121 » 0x11, 0x76, 0x27, 0x7e, 0x40, 0xc7, 0x2e, 0x1e, 0x18, 0x41, 0xb1, 0x14,
0x68, 0xa4, 0x84, 0x44, |
121 » 0xeb, 0xff, 0x77, 0x5a, 0x02, 0xf1, 0xb0, 0xa7, 0xce, 0xeb, 0x97, 0xf7,
0xfa, 0xa6, 0xf8, 0xf0, | 122 » 0xb1, 0xf9, 0xff, 0x9c, 0x2f, 0x4a, 0xc4, 0xc0, 0xe4, 0x7b, 0xfe, 0xf4,
0xfc, 0xde, 0x19, 0xef, |
122 » 0xfb, 0x33, 0x36, 0x8b, 0xeb, 0x9a, 0xe1, 0xd3, 0xb7, 0xce, 0x17, 0xf3,
0x32, 0xf9, 0x49, 0x24, | 123 » 0x7f, 0xbe, 0xbb, 0x6a, 0x8c, 0xd7, 0xaa, 0xfd, 0x48, 0x75, 0x4c, 0xe5,
0x30, 0xf6, 0xa9, 0xd7, |
123 » 0x5f, 0x43, 0xf3, 0x3d, 0xdb, 0xfc, 0x1d, 0x59, 0xad, 0xc4, 0x19, 0xc1,
0x49, 0xc8, 0xe0, 0xf9, | 124 » 0xea, 0xb3, 0xad, 0xbe, 0x86, 0x50, 0xbc, 0xa3, 0xb8, 0x58, 0xbd, 0x43,
0x88, 0x06, 0x8e, 0xf0, |
124 » 0x64, 0xc0, 0x05, 0xd5, 0x4b, 0x46, 0xea, 0x68, 0xa0, 0x17, 0x17, 0x64,
0x4b, 0x2f, 0x79, 0xc6, | 125 » 0xb4, 0xf5, 0x10, 0xb3, 0x6a, 0x8c, 0x20, 0xb5, 0xf6, 0xd0, 0xe8, 0x3d,
0x8a, 0xb1, 0x31, 0xf2, |
125 » 0x49, 0xd2, 0x14, 0xa8, 0x95, 0x07, 0xa2, 0xb7, 0x06, 0x6c, 0xa0, 0xd6,
0xca, 0x23, 0xc9, 0xb3, | 126 » 0x28, 0x49, 0xd2, 0x94, 0x69, 0x30, 0x2b, 0xa2, 0x1b, 0x0f, 0x81, 0x69,
0x30, 0x8a, 0xe8, 0x86, |
126 » 0xa1, 0x29, 0x7f, 0xa3, 0x3c, 0x2d, 0x9e, 0x90, 0x8d, 0x2a, 0x06, 0xde,
0x69, 0x2c, 0xd6, 0xa7, | 127 » 0x28, 0xeb, 0x10, 0xcc, 0x9a, 0xf0, 0xce, 0xd3, 0x54, 0xbc, 0xd2, 0xfb,
0x4e, 0x3f, 0xa2, 0xe8, |
127 » 0x8a, 0x5a, 0x19, 0xba, 0x15, 0x8f, 0x08, 0x6d, 0x4c, 0xbf, 0xe8, 0xd3,
0x86, 0x2a, 0x03, 0x6d, | 128 » 0x2c, 0x07, 0xdc, 0x3a, 0x2c, 0xa7, 0xe8, 0xf2, 0x62, 0x3d, 0xdd, 0xea,
0x07, 0x84, 0x9a, 0xd3, |
128 » 0xde, 0x91, 0xb5, 0xdc, 0xad, 0xfc, 0x8a, 0x35, 0x30, 0x1d, 0xbd, 0xff,
0x99, 0x26, 0xa6, 0xd7, | 129 » 0xf6, 0x6e, 0x3b, 0xa3, 0xb3, 0x87, 0xba, 0xb8, 0x92, 0xf5, 0xb4, 0x58,
0xe5, 0x3f, 0xd6, 0xcc, |
129 » 0x5a, 0x7c, 0xab, 0x15, 0x17, 0x3a, 0x6c, 0x0b, 0x85, 0x92, 0x7e, 0x2f,
0xe9, 0x5f, 0xee, 0x11, | 130 » 0x1c, 0x7b, 0xff, 0x32, 0x47, 0xcc, 0x4d, 0x35, 0xe5, 0x5c, 0x93, 0x17,
0x5c, 0xcd, 0x0b, 0xe6, |
130 » 0x2a, 0x91, 0x20, 0xfb, 0x78, 0x4d, 0x6f, 0xe2, 0xa9, 0x52, 0xb0, 0x49,
0xfc, 0x98, 0xf2, 0x2f, | 131 » 0x92, 0x69, 0x29, 0x99, 0x9e, 0xef, 0x10, 0xce, 0x5a, 0xa1, 0x78, 0x7b,
0x39, 0xdc, 0xf0, 0x69, |
131 » 0x00, 0x00, 0xff, 0xff, 0xfa, 0xb5, 0xe6, 0xe4, 0x30, 0x01, 0x00, 0x00, | 132 » 0x0f, 0x10, 0x14, 0x7f, 0xd4, 0xe9, 0x37, 0x00, 0x00, 0xff, 0xff, 0x02,
0xfe, 0x6a, 0x00, 0x40, |
| 133 » 0x01, 0x00, 0x00, |
132 } | 134 } |
OLD | NEW |