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 5// Code generated by protoc-gen-go. DO NOT EDIT. 6// source: internal/testprotos/messageset/msetextpb/msetextpb.proto 7 8package msetextpb 9 10import ( 11 messagesetpb "google.golang.org/protobuf/internal/testprotos/messageset/messagesetpb" 12 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 13 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 14 reflect "reflect" 15 sync "sync" 16) 17 18type Ext1 struct { 19 state protoimpl.MessageState 20 sizeCache protoimpl.SizeCache 21 unknownFields protoimpl.UnknownFields 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"` 25} 26 27func (x *Ext1) Reset() { 28 *x = Ext1{} 29 if protoimpl.UnsafeEnabled { 30 mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[0] 31 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 32 ms.StoreMessageInfo(mi) 33 } 34} 35 36func (x *Ext1) String() string { 37 return protoimpl.X.MessageStringOf(x) 38} 39 40func (*Ext1) ProtoMessage() {} 41 42func (x *Ext1) ProtoReflect() protoreflect.Message { 43 mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[0] 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 54// Deprecated: Use Ext1.ProtoReflect.Descriptor instead. 55func (*Ext1) Descriptor() ([]byte, []int) { 56 return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{0} 57} 58 59func (x *Ext1) GetExt1Field1() int32 { 60 if x != nil && x.Ext1Field1 != nil { 61 return *x.Ext1Field1 62 } 63 return 0 64} 65 66func (x *Ext1) GetExt1Field2() int32 { 67 if x != nil && x.Ext1Field2 != nil { 68 return *x.Ext1Field2 69 } 70 return 0 71} 72 73type Ext2 struct { 74 state protoimpl.MessageState 75 sizeCache protoimpl.SizeCache 76 unknownFields protoimpl.UnknownFields 77 78 Ext2Field1 *int32 `protobuf:"varint,1,opt,name=ext2_field1,json=ext2Field1" json:"ext2_field1,omitempty"` 79} 80 81func (x *Ext2) Reset() { 82 *x = Ext2{} 83 if protoimpl.UnsafeEnabled { 84 mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[1] 85 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 86 ms.StoreMessageInfo(mi) 87 } 88} 89 90func (x *Ext2) String() string { 91 return protoimpl.X.MessageStringOf(x) 92} 93 94func (*Ext2) ProtoMessage() {} 95 96func (x *Ext2) ProtoReflect() protoreflect.Message { 97 mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[1] 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 108// Deprecated: Use Ext2.ProtoReflect.Descriptor instead. 109func (*Ext2) Descriptor() ([]byte, []int) { 110 return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{1} 111} 112 113func (x *Ext2) GetExt2Field1() int32 { 114 if x != nil && x.Ext2Field1 != nil { 115 return *x.Ext2Field1 116 } 117 return 0 118} 119 120type 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 128func (x *ExtRequired) Reset() { 129 *x = ExtRequired{} 130 if protoimpl.UnsafeEnabled { 131 mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[2] 132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 133 ms.StoreMessageInfo(mi) 134 } 135} 136 137func (x *ExtRequired) String() string { 138 return protoimpl.X.MessageStringOf(x) 139} 140 141func (*ExtRequired) ProtoMessage() {} 142 143func (x *ExtRequired) ProtoReflect() protoreflect.Message { 144 mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[2] 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. 156func (*ExtRequired) Descriptor() ([]byte, []int) { 157 return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{2} 158} 159 160func (x *ExtRequired) GetRequiredField1() int32 { 161 if x != nil && x.RequiredField1 != nil { 162 return *x.RequiredField1 163 } 164 return 0 165} 166 167type ExtLargeNumber struct { 168 state protoimpl.MessageState 169 sizeCache protoimpl.SizeCache 170 unknownFields protoimpl.UnknownFields 171} 172 173func (x *ExtLargeNumber) Reset() { 174 *x = ExtLargeNumber{} 175 if protoimpl.UnsafeEnabled { 176 mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[3] 177 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 178 ms.StoreMessageInfo(mi) 179 } 180} 181 182func (x *ExtLargeNumber) String() string { 183 return protoimpl.X.MessageStringOf(x) 184} 185 186func (*ExtLargeNumber) ProtoMessage() {} 187 188func (x *ExtLargeNumber) ProtoReflect() protoreflect.Message { 189 mi := &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[3] 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. 201func (*ExtLargeNumber) Descriptor() ([]byte, []int) { 202 return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescGZIP(), []int{3} 203} 204 205var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes = []protoimpl.ExtensionInfo{ 206 { 207 ExtendedType: (*messagesetpb.MessageSet)(nil), 208 ExtensionType: (*Ext1)(nil), 209 Field: 1000, 210 Name: "goproto.proto.messageset.Ext1.message_set_extension", 211 Tag: "bytes,1000,opt,name=message_set_extension", 212 Filename: "internal/testprotos/messageset/msetextpb/msetextpb.proto", 213 }, 214 { 215 ExtendedType: (*messagesetpb.MessageSet)(nil), 216 ExtensionType: (*Ext2)(nil), 217 Field: 1001, 218 Name: "goproto.proto.messageset.Ext2.message_set_extension", 219 Tag: "bytes,1001,opt,name=message_set_extension", 220 Filename: "internal/testprotos/messageset/msetextpb/msetextpb.proto", 221 }, 222 { 223 ExtendedType: (*messagesetpb.MessageSet)(nil), 224 ExtensionType: (*ExtRequired)(nil), 225 Field: 1002, 226 Name: "goproto.proto.messageset.ExtRequired.message_set_extension", 227 Tag: "bytes,1002,opt,name=message_set_extension", 228 Filename: "internal/testprotos/messageset/msetextpb/msetextpb.proto", 229 }, 230 { 231 ExtendedType: (*messagesetpb.MessageSet)(nil), 232 ExtensionType: (*ExtLargeNumber)(nil), 233 Field: 536870912, 234 Name: "goproto.proto.messageset.ExtLargeNumber.message_set_extension", 235 Tag: "bytes,536870912,opt,name=message_set_extension", 236 Filename: "internal/testprotos/messageset/msetextpb/msetextpb.proto", 237 }, 238} 239 240// Extension fields to messagesetpb.MessageSet. 241var ( 242 // optional goproto.proto.messageset.Ext1 message_set_extension = 1000; 243 E_Ext1_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[0] 244 // optional goproto.proto.messageset.Ext2 message_set_extension = 1001; 245 E_Ext2_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[1] 246 // optional goproto.proto.messageset.ExtRequired message_set_extension = 1002; 247 E_ExtRequired_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[2] 248 // optional goproto.proto.messageset.ExtLargeNumber message_set_extension = 536870912; 249 E_ExtLargeNumber_MessageSetExtension = &file_internal_testprotos_messageset_msetextpb_msetextpb_proto_extTypes[3] // 1<<29 250) 251 252var File_internal_testprotos_messageset_msetextpb_msetextpb_proto protoreflect.FileDescriptor 253 254var 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, 259 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 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, 313} 314 315var ( 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 318) 319 320func 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) 323 }) 324 return file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDescData 325} 326 327var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes = make([]protoimpl.MessageInfo, 4) 328var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_goTypes = []interface{}{ 329 (*Ext1)(nil), // 0: goproto.proto.messageset.Ext1 330 (*Ext2)(nil), // 1: goproto.proto.messageset.Ext2 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 334} 335var file_internal_testprotos_messageset_msetextpb_msetextpb_proto_depIdxs = []int32{ 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 348 0, // [0:0] is the sub-list for field type_name 349} 350 351func init() { file_internal_testprotos_messageset_msetextpb_msetextpb_proto_init() } 352func file_internal_testprotos_messageset_msetextpb_msetextpb_proto_init() { 353 if File_internal_testprotos_messageset_msetextpb_msetextpb_proto != nil { 354 return 355 } 356 if !protoimpl.UnsafeEnabled { 357 file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 358 switch v := v.(*Ext1); i { 359 case 0: 360 return &v.state 361 case 1: 362 return &v.sizeCache 363 case 2: 364 return &v.unknownFields 365 default: 366 return nil 367 } 368 } 369 file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 370 switch v := v.(*Ext2); i { 371 case 0: 372 return &v.state 373 case 1: 374 return &v.sizeCache 375 case 2: 376 return &v.unknownFields 377 default: 378 return nil 379 } 380 } 381 file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 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 } 393 file_internal_testprotos_messageset_msetextpb_msetextpb_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 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 } 405 } 406 type x struct{} 407 out := protoimpl.TypeBuilder{ 408 File: protoimpl.DescBuilder{ 409 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 410 RawDescriptor: file_internal_testprotos_messageset_msetextpb_msetextpb_proto_rawDesc, 411 NumEnums: 0, 412 NumMessages: 4, 413 NumExtensions: 4, 414 NumServices: 0, 415 }, 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, 420 }.Build() 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 425} 426