Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 1 | // Copyright 2019 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 5 | // Code generated by protoc-gen-go. DO NOT EDIT. |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 6 | // source: internal/testprotos/messageset/msetextpb/msetextpb.proto |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 7 | |
| 8 | package msetextpb |
| 9 | |
| 10 | import ( |
| 11 | messagesetpb "google.golang.org/protobuf/internal/testprotos/messageset/messagesetpb" |
| 12 | protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 13 | protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 14 | reflect "reflect" |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 15 | sync "sync" |
| 16 | ) |
| 17 | |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 18 | type Ext1 struct { |
| 19 | state protoimpl.MessageState |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 20 | sizeCache protoimpl.SizeCache |
| 21 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 22 | |
| 23 | Ext1Field1 *int32 `protobuf:"varint,1,opt,name=ext1_field1,json=ext1Field1" json:"ext1_field1,omitempty"` |
| 24 | Ext1Field2 *int32 `protobuf:"varint,2,opt,name=ext1_field2,json=ext1Field2" json:"ext1_field2,omitempty"` |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 25 | } |
| 26 | |
| 27 | func (x *Ext1) Reset() { |
| 28 | *x = Ext1{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 29 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 30 | mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[0] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 31 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 32 | ms.StoreMessageInfo(mi) |
| 33 | } |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 34 | } |
| 35 | |
| 36 | func (x *Ext1) String() string { |
| 37 | return protoimpl.X.MessageStringOf(x) |
| 38 | } |
| 39 | |
| 40 | func (*Ext1) ProtoMessage() {} |
| 41 | |
| 42 | func (x *Ext1) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 43 | mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[0] |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 44 | if protoimpl.UnsafeEnabled && x != nil { |
| 45 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 46 | if ms.LoadMessageInfo() == nil { |
| 47 | ms.StoreMessageInfo(mi) |
| 48 | } |
| 49 | return ms |
| 50 | } |
| 51 | return mi.MessageOf(x) |
| 52 | } |
| 53 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 54 | // Deprecated: Use Ext1.ProtoReflect.Descriptor instead. |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 55 | func (*Ext1) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 56 | return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{0} |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 57 | } |
| 58 | |
| 59 | func (x *Ext1) GetExt1Field1() int32 { |
| 60 | if x != nil && x.Ext1Field1 != nil { |
| 61 | return *x.Ext1Field1 |
| 62 | } |
| 63 | return 0 |
| 64 | } |
| 65 | |
| 66 | func (x *Ext1) GetExt1Field2() int32 { |
| 67 | if x != nil && x.Ext1Field2 != nil { |
| 68 | return *x.Ext1Field2 |
| 69 | } |
| 70 | return 0 |
| 71 | } |
| 72 | |
| 73 | type Ext2 struct { |
| 74 | state protoimpl.MessageState |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 75 | sizeCache protoimpl.SizeCache |
| 76 | unknownFields protoimpl.UnknownFields |
Joe Tsai | 8d5e6d6 | 2019-08-06 01:15:48 -0700 | [diff] [blame] | 77 | |
| 78 | Ext2Field1 *int32 `protobuf:"varint,1,opt,name=ext2_field1,json=ext2Field1" json:"ext2_field1,omitempty"` |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 79 | } |
| 80 | |
| 81 | func (x *Ext2) Reset() { |
| 82 | *x = Ext2{} |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 83 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 84 | mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[1] |
Joe Tsai | ae313d4 | 2019-10-16 10:25:54 -0700 | [diff] [blame] | 85 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 86 | ms.StoreMessageInfo(mi) |
| 87 | } |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 88 | } |
| 89 | |
| 90 | func (x *Ext2) String() string { |
| 91 | return protoimpl.X.MessageStringOf(x) |
| 92 | } |
| 93 | |
| 94 | func (*Ext2) ProtoMessage() {} |
| 95 | |
| 96 | func (x *Ext2) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 97 | mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[1] |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 98 | if protoimpl.UnsafeEnabled && x != nil { |
| 99 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 100 | if ms.LoadMessageInfo() == nil { |
| 101 | ms.StoreMessageInfo(mi) |
| 102 | } |
| 103 | return ms |
| 104 | } |
| 105 | return mi.MessageOf(x) |
| 106 | } |
| 107 | |
Joe Tsai | 43761bd | 2019-07-17 18:06:47 -0700 | [diff] [blame] | 108 | // Deprecated: Use Ext2.ProtoReflect.Descriptor instead. |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 109 | func (*Ext2) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 110 | return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{1} |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 111 | } |
| 112 | |
| 113 | func (x *Ext2) GetExt2Field1() int32 { |
| 114 | if x != nil && x.Ext2Field1 != nil { |
| 115 | return *x.Ext2Field1 |
| 116 | } |
| 117 | return 0 |
| 118 | } |
| 119 | |
Damien Neil | 0bf97b7 | 2020-01-24 09:00:33 -0800 | [diff] [blame] | 120 | type ExtRequired struct { |
| 121 | state protoimpl.MessageState |
| 122 | sizeCache protoimpl.SizeCache |
| 123 | unknownFields protoimpl.UnknownFields |
| 124 | |
| 125 | RequiredField1 *int32 `protobuf:"varint,1,req,name=required_field1,json=requiredField1" json:"required_field1,omitempty"` |
| 126 | } |
| 127 | |
| 128 | func (x *ExtRequired) Reset() { |
| 129 | *x = ExtRequired{} |
| 130 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 131 | mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[2] |
Damien Neil | 0bf97b7 | 2020-01-24 09:00:33 -0800 | [diff] [blame] | 132 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 133 | ms.StoreMessageInfo(mi) |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | func (x *ExtRequired) String() string { |
| 138 | return protoimpl.X.MessageStringOf(x) |
| 139 | } |
| 140 | |
| 141 | func (*ExtRequired) ProtoMessage() {} |
| 142 | |
| 143 | func (x *ExtRequired) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 144 | mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[2] |
Damien Neil | 0bf97b7 | 2020-01-24 09:00:33 -0800 | [diff] [blame] | 145 | if protoimpl.UnsafeEnabled && x != nil { |
| 146 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 147 | if ms.LoadMessageInfo() == nil { |
| 148 | ms.StoreMessageInfo(mi) |
| 149 | } |
| 150 | return ms |
| 151 | } |
| 152 | return mi.MessageOf(x) |
| 153 | } |
| 154 | |
| 155 | // Deprecated: Use ExtRequired.ProtoReflect.Descriptor instead. |
| 156 | func (*ExtRequired) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 157 | return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{2} |
Damien Neil | 0bf97b7 | 2020-01-24 09:00:33 -0800 | [diff] [blame] | 158 | } |
| 159 | |
| 160 | func (x *ExtRequired) GetRequiredField1() int32 { |
| 161 | if x != nil && x.RequiredField1 != nil { |
| 162 | return *x.RequiredField1 |
| 163 | } |
| 164 | return 0 |
| 165 | } |
| 166 | |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame] | 167 | type ExtLargeNumber struct { |
| 168 | state protoimpl.MessageState |
| 169 | sizeCache protoimpl.SizeCache |
| 170 | unknownFields protoimpl.UnknownFields |
| 171 | } |
| 172 | |
| 173 | func (x *ExtLargeNumber) Reset() { |
| 174 | *x = ExtLargeNumber{} |
| 175 | if protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 176 | mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[3] |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame] | 177 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 178 | ms.StoreMessageInfo(mi) |
| 179 | } |
| 180 | } |
| 181 | |
| 182 | func (x *ExtLargeNumber) String() string { |
| 183 | return protoimpl.X.MessageStringOf(x) |
| 184 | } |
| 185 | |
| 186 | func (*ExtLargeNumber) ProtoMessage() {} |
| 187 | |
| 188 | func (x *ExtLargeNumber) ProtoReflect() protoreflect.Message { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 189 | mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[3] |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame] | 190 | if protoimpl.UnsafeEnabled && x != nil { |
| 191 | ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 192 | if ms.LoadMessageInfo() == nil { |
| 193 | ms.StoreMessageInfo(mi) |
| 194 | } |
| 195 | return ms |
| 196 | } |
| 197 | return mi.MessageOf(x) |
| 198 | } |
| 199 | |
| 200 | // Deprecated: Use ExtLargeNumber.ProtoReflect.Descriptor instead. |
| 201 | func (*ExtLargeNumber) Descriptor() ([]byte, []int) { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 202 | return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{3} |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame] | 203 | } |
| 204 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 205 | var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes = []protoimpl.ExtensionInfo{ |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 206 | { |
| 207 | ExtendedType: (*messagesetpb.MessageSet)(nil), |
| 208 | ExtensionType: (*Ext1)(nil), |
| 209 | Field: 1000, |
Joe Tsai | 945a170 | 2019-07-20 14:57:56 -0700 | [diff] [blame] | 210 | Name: "goproto.proto.messageset.Ext1", |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 211 | Tag: "bytes,1000,opt,name=message_set_extension", |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 212 | Filename: "internal/testprotos/messageset/msetextpb/msetextpb.proto", |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 213 | }, |
| 214 | { |
| 215 | ExtendedType: (*messagesetpb.MessageSet)(nil), |
| 216 | ExtensionType: (*Ext2)(nil), |
| 217 | Field: 1001, |
Joe Tsai | 945a170 | 2019-07-20 14:57:56 -0700 | [diff] [blame] | 218 | Name: "goproto.proto.messageset.Ext2", |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 219 | Tag: "bytes,1001,opt,name=message_set_extension", |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 220 | Filename: "internal/testprotos/messageset/msetextpb/msetextpb.proto", |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 221 | }, |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame] | 222 | { |
| 223 | ExtendedType: (*messagesetpb.MessageSet)(nil), |
Damien Neil | 0bf97b7 | 2020-01-24 09:00:33 -0800 | [diff] [blame] | 224 | ExtensionType: (*ExtRequired)(nil), |
| 225 | Field: 1002, |
| 226 | Name: "goproto.proto.messageset.ExtRequired", |
| 227 | Tag: "bytes,1002,opt,name=message_set_extension", |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 228 | Filename: "internal/testprotos/messageset/msetextpb/msetextpb.proto", |
Damien Neil | 0bf97b7 | 2020-01-24 09:00:33 -0800 | [diff] [blame] | 229 | }, |
| 230 | { |
| 231 | ExtendedType: (*messagesetpb.MessageSet)(nil), |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame] | 232 | ExtensionType: (*ExtLargeNumber)(nil), |
| 233 | Field: 536870912, |
| 234 | Name: "goproto.proto.messageset.ExtLargeNumber", |
| 235 | Tag: "bytes,536870912,opt,name=message_set_extension", |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 236 | Filename: "internal/testprotos/messageset/msetextpb/msetextpb.proto", |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame] | 237 | }, |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 238 | } |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 239 | |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 240 | // Extension fields to messagesetpb.MessageSet. |
| 241 | var ( |
| 242 | // optional goproto.proto.messageset.Ext1 message_set_extension = 1000; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 243 | E_Ext1_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[0] |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 244 | // optional goproto.proto.messageset.Ext2 message_set_extension = 1001; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 245 | E_Ext2_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[1] |
Damien Neil | 0bf97b7 | 2020-01-24 09:00:33 -0800 | [diff] [blame] | 246 | // optional goproto.proto.messageset.ExtRequired message_set_extension = 1002; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 247 | E_ExtRequired_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[2] |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame] | 248 | // optional goproto.proto.messageset.ExtLargeNumber message_set_extension = 536870912; |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 249 | E_ExtLargeNumber_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[3] // 1<<29 |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 250 | ) |
Joe Tsai | 4a7d633 | 2019-08-06 16:45:11 -0700 | [diff] [blame] | 251 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 252 | var File_internal_testprotos_messageset_msetextpb_msetextpb_proto protoreflect.FileDescriptor |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 253 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 254 | var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDesc = []byte{ |
| 255 | 0x0a, 0x38, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, |
| 256 | 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, |
| 257 | 0x2f, 0x6d, 0x73, 0x65, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, 0x2f, 0x6d, 0x73, 0x65, 0x74, 0x65, |
| 258 | 0x78, 0x74, 0x70, 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x70, 0x72, |
Damien Neil | 0bf97b7 | 2020-01-24 09:00:33 -0800 | [diff] [blame] | 259 | 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 260 | 0x65, 0x73, 0x65, 0x74, 0x1a, 0x3d, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, |
| 261 | 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, |
| 262 | 0x65, 0x73, 0x65, 0x74, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x70, |
| 263 | 0x62, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x2e, 0x70, 0x72, |
| 264 | 0x6f, 0x74, 0x6f, 0x22, 0xc3, 0x01, 0x0a, 0x04, 0x45, 0x78, 0x74, 0x31, 0x12, 0x1f, 0x0a, 0x0b, |
| 265 | 0x65, 0x78, 0x74, 0x31, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, |
| 266 | 0x05, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x31, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x12, 0x1f, 0x0a, |
| 267 | 0x0b, 0x65, 0x78, 0x74, 0x31, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x18, 0x02, 0x20, 0x01, |
| 268 | 0x28, 0x05, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x31, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x32, 0x32, 0x79, |
| 269 | 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, |
| 270 | 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, |
| 271 | 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, |
| 272 | 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0xe8, 0x07, |
| 273 | 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, |
| 274 | 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, |
| 275 | 0x45, 0x78, 0x74, 0x31, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, |
| 276 | 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xa2, 0x01, 0x0a, 0x04, 0x45, 0x78, |
| 277 | 0x74, 0x32, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x78, 0x74, 0x32, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, |
| 278 | 0x31, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x32, 0x46, 0x69, 0x65, |
| 279 | 0x6c, 0x64, 0x31, 0x32, 0x79, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, |
| 280 | 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x67, |
| 281 | 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, |
| 282 | 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, |
| 283 | 0x65, 0x74, 0x18, 0xe9, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x70, 0x72, |
| 284 | 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, |
| 285 | 0x65, 0x73, 0x65, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x32, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, |
| 286 | 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xb9, |
| 287 | 0x01, 0x0a, 0x0b, 0x45, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x27, |
| 288 | 0x0a, 0x0f, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x65, 0x6c, 0x64, |
| 289 | 0x31, 0x18, 0x01, 0x20, 0x02, 0x28, 0x05, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, |
| 290 | 0x64, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x31, 0x32, 0x80, 0x01, 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, |
| 291 | 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, |
| 292 | 0x6e, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, |
| 293 | 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, |
| 294 | 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0xea, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, |
| 295 | 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, |
| 296 | 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x65, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x52, 0x65, 0x71, |
| 297 | 0x75, 0x69, 0x72, 0x65, 0x64, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, |
| 298 | 0x74, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x99, 0x01, 0x0a, 0x0e, 0x45, |
| 299 | 0x78, 0x74, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x32, 0x86, 0x01, |
| 300 | 0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x74, 0x5f, 0x65, 0x78, |
| 301 | 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x24, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, |
| 302 | 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, |
| 303 | 0x65, 0x74, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x18, 0x80, 0x80, |
| 304 | 0x80, 0x80, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, |
| 305 | 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, |
| 306 | 0x65, 0x74, 0x2e, 0x45, 0x78, 0x74, 0x4c, 0x61, 0x72, 0x67, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, |
| 307 | 0x72, 0x52, 0x13, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x53, 0x65, 0x74, 0x45, 0x78, 0x74, |
| 308 | 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x45, 0x5a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, |
| 309 | 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, |
| 310 | 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, |
| 311 | 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, |
| 312 | 0x73, 0x65, 0x74, 0x2f, 0x6d, 0x73, 0x65, 0x74, 0x65, 0x78, 0x74, 0x70, 0x62, |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 313 | } |
| 314 | |
| 315 | var ( |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 316 | file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescOnce sync.Once |
| 317 | file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescData = file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDesc |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 318 | ) |
| 319 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 320 | func file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP() []byte { |
| 321 | file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescOnce.Do(func() { |
| 322 | file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescData) |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 323 | }) |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 324 | return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescData |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 325 | } |
| 326 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 327 | var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes = make([]protoimpl.MessageInfo, 4) |
| 328 | var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_goTypes = []interface{}{ |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 329 | (*Ext1)(nil), // 0: goproto.proto.messageset.Ext1 |
| 330 | (*Ext2)(nil), // 1: goproto.proto.messageset.Ext2 |
Damien Neil | 0bf97b7 | 2020-01-24 09:00:33 -0800 | [diff] [blame] | 331 | (*ExtRequired)(nil), // 2: goproto.proto.messageset.ExtRequired |
| 332 | (*ExtLargeNumber)(nil), // 3: goproto.proto.messageset.ExtLargeNumber |
| 333 | (*messagesetpb.MessageSet)(nil), // 4: goproto.proto.messageset.MessageSet |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 334 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 335 | var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_depIdxs = []int32{ |
Damien Neil | 0bf97b7 | 2020-01-24 09:00:33 -0800 | [diff] [blame] | 336 | 4, // 0: goproto.proto.messageset.Ext1.message_set_extension:extendee -> goproto.proto.messageset.MessageSet |
| 337 | 4, // 1: goproto.proto.messageset.Ext2.message_set_extension:extendee -> goproto.proto.messageset.MessageSet |
| 338 | 4, // 2: goproto.proto.messageset.ExtRequired.message_set_extension:extendee -> goproto.proto.messageset.MessageSet |
| 339 | 4, // 3: goproto.proto.messageset.ExtLargeNumber.message_set_extension:extendee -> goproto.proto.messageset.MessageSet |
| 340 | 0, // 4: goproto.proto.messageset.Ext1.message_set_extension:type_name -> goproto.proto.messageset.Ext1 |
| 341 | 1, // 5: goproto.proto.messageset.Ext2.message_set_extension:type_name -> goproto.proto.messageset.Ext2 |
| 342 | 2, // 6: goproto.proto.messageset.ExtRequired.message_set_extension:type_name -> goproto.proto.messageset.ExtRequired |
| 343 | 3, // 7: goproto.proto.messageset.ExtLargeNumber.message_set_extension:type_name -> goproto.proto.messageset.ExtLargeNumber |
| 344 | 8, // [8:8] is the sub-list for method output_type |
| 345 | 8, // [8:8] is the sub-list for method input_type |
| 346 | 4, // [4:8] is the sub-list for extension type_name |
| 347 | 0, // [0:4] is the sub-list for extension extendee |
Joe Tsai | 7328839 | 2019-08-14 11:55:31 -0700 | [diff] [blame] | 348 | 0, // [0:0] is the sub-list for field type_name |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 349 | } |
| 350 | |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 351 | func init() { file_internal_testprotos_messageset_msetextpb_msetextpb_proto_init() } |
| 352 | func file_internal_testprotos_messageset_msetextpb_msetextpb_proto_init() { |
| 353 | if File_internal_testprotos_messageset_msetextpb_msetextpb_proto != nil { |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 354 | return |
| 355 | } |
| 356 | if !protoimpl.UnsafeEnabled { |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 357 | file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 358 | switch v := v.(*Ext1); i { |
| 359 | case 0: |
| 360 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 361 | case 1: |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 362 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 363 | case 2: |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 364 | return &v.unknownFields |
| 365 | default: |
| 366 | return nil |
| 367 | } |
| 368 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 369 | file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 370 | switch v := v.(*Ext2); i { |
| 371 | case 0: |
| 372 | return &v.state |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 373 | case 1: |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 374 | return &v.sizeCache |
Joe Tsai | 38b6196 | 2019-08-05 13:09:30 -0700 | [diff] [blame] | 375 | case 2: |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 376 | return &v.unknownFields |
| 377 | default: |
| 378 | return nil |
| 379 | } |
| 380 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 381 | file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { |
Damien Neil | 0bf97b7 | 2020-01-24 09:00:33 -0800 | [diff] [blame] | 382 | switch v := v.(*ExtRequired); i { |
| 383 | case 0: |
| 384 | return &v.state |
| 385 | case 1: |
| 386 | return &v.sizeCache |
| 387 | case 2: |
| 388 | return &v.unknownFields |
| 389 | default: |
| 390 | return nil |
| 391 | } |
| 392 | } |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 393 | file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { |
Damien Neil | fe15dd4 | 2019-12-06 15:36:03 -0800 | [diff] [blame] | 394 | switch v := v.(*ExtLargeNumber); i { |
| 395 | case 0: |
| 396 | return &v.state |
| 397 | case 1: |
| 398 | return &v.sizeCache |
| 399 | case 2: |
| 400 | return &v.unknownFields |
| 401 | default: |
| 402 | return nil |
| 403 | } |
| 404 | } |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 405 | } |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 406 | type x struct{} |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 407 | out := protoimpl.TypeBuilder{ |
| 408 | File: protoimpl.DescBuilder{ |
Joe Tsai | af57087 | 2019-07-14 23:04:40 -0700 | [diff] [blame] | 409 | GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 410 | RawDescriptor: file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDesc, |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 411 | NumEnums: 0, |
Damien Neil | 0bf97b7 | 2020-01-24 09:00:33 -0800 | [diff] [blame] | 412 | NumMessages: 4, |
| 413 | NumExtensions: 4, |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 414 | NumServices: 0, |
| 415 | }, |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 416 | GoTypes: file_internal_testprotos_messageset_msetextpb_msetextpb_proto_goTypes, |
| 417 | DependencyIndexes: file_internal_testprotos_messageset_msetextpb_msetextpb_proto_depIdxs, |
| 418 | MessageInfos: file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes, |
| 419 | ExtensionInfos: file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes, |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 420 | }.Build() |
Damien Neil | 3c5fb5f | 2020-02-04 15:03:30 -0800 | [diff] [blame] | 421 | File_internal_testprotos_messageset_msetextpb_msetextpb_proto = out.File |
| 422 | file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDesc = nil |
| 423 | file_internal_testprotos_messageset_msetextpb_msetextpb_proto_goTypes = nil |
| 424 | file_internal_testprotos_messageset_msetextpb_msetextpb_proto_depIdxs = nil |
Damien Neil | 302cb32 | 2019-06-19 15:22:13 -0700 | [diff] [blame] | 425 | } |