github.com/jhump/protocompile@v0.0.0-20221021153901-4f6f732835e8/internal/testprotos/desc_test_options.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.27.0 4 // protoc v3.14.0 5 // source: desc_test_options.proto 6 7 package testprotos 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 descriptorpb "google.golang.org/protobuf/types/descriptorpb" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 // Test enum used by custom options 25 type ReallySimpleEnum int32 26 27 const ( 28 ReallySimpleEnum_VALUE ReallySimpleEnum = 1 29 ) 30 31 // Enum value maps for ReallySimpleEnum. 32 var ( 33 ReallySimpleEnum_name = map[int32]string{ 34 1: "VALUE", 35 } 36 ReallySimpleEnum_value = map[string]int32{ 37 "VALUE": 1, 38 } 39 ) 40 41 func (x ReallySimpleEnum) Enum() *ReallySimpleEnum { 42 p := new(ReallySimpleEnum) 43 *p = x 44 return p 45 } 46 47 func (x ReallySimpleEnum) String() string { 48 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 49 } 50 51 func (ReallySimpleEnum) Descriptor() protoreflect.EnumDescriptor { 52 return file_desc_test_options_proto_enumTypes[0].Descriptor() 53 } 54 55 func (ReallySimpleEnum) Type() protoreflect.EnumType { 56 return &file_desc_test_options_proto_enumTypes[0] 57 } 58 59 func (x ReallySimpleEnum) Number() protoreflect.EnumNumber { 60 return protoreflect.EnumNumber(x) 61 } 62 63 // Deprecated: Do not use. 64 func (x *ReallySimpleEnum) UnmarshalJSON(b []byte) error { 65 num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b) 66 if err != nil { 67 return err 68 } 69 *x = ReallySimpleEnum(num) 70 return nil 71 } 72 73 // Deprecated: Use ReallySimpleEnum.Descriptor instead. 74 func (ReallySimpleEnum) EnumDescriptor() ([]byte, []int) { 75 return file_desc_test_options_proto_rawDescGZIP(), []int{0} 76 } 77 78 // Test message used by custom options 79 type ReallySimpleMessage struct { 80 state protoimpl.MessageState 81 sizeCache protoimpl.SizeCache 82 unknownFields protoimpl.UnknownFields 83 84 Id *uint64 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"` 85 Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` 86 } 87 88 func (x *ReallySimpleMessage) Reset() { 89 *x = ReallySimpleMessage{} 90 if protoimpl.UnsafeEnabled { 91 mi := &file_desc_test_options_proto_msgTypes[0] 92 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 93 ms.StoreMessageInfo(mi) 94 } 95 } 96 97 func (x *ReallySimpleMessage) String() string { 98 return protoimpl.X.MessageStringOf(x) 99 } 100 101 func (*ReallySimpleMessage) ProtoMessage() {} 102 103 func (x *ReallySimpleMessage) ProtoReflect() protoreflect.Message { 104 mi := &file_desc_test_options_proto_msgTypes[0] 105 if protoimpl.UnsafeEnabled && x != nil { 106 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 107 if ms.LoadMessageInfo() == nil { 108 ms.StoreMessageInfo(mi) 109 } 110 return ms 111 } 112 return mi.MessageOf(x) 113 } 114 115 // Deprecated: Use ReallySimpleMessage.ProtoReflect.Descriptor instead. 116 func (*ReallySimpleMessage) Descriptor() ([]byte, []int) { 117 return file_desc_test_options_proto_rawDescGZIP(), []int{0} 118 } 119 120 func (x *ReallySimpleMessage) GetId() uint64 { 121 if x != nil && x.Id != nil { 122 return *x.Id 123 } 124 return 0 125 } 126 127 func (x *ReallySimpleMessage) GetName() string { 128 if x != nil && x.Name != nil { 129 return *x.Name 130 } 131 return "" 132 } 133 134 var file_desc_test_options_proto_extTypes = []protoimpl.ExtensionInfo{ 135 { 136 ExtendedType: (*descriptorpb.MessageOptions)(nil), 137 ExtensionType: (*bool)(nil), 138 Field: 10101, 139 Name: "testprotos.mfubar", 140 Tag: "varint,10101,opt,name=mfubar", 141 Filename: "desc_test_options.proto", 142 }, 143 { 144 ExtendedType: (*descriptorpb.FieldOptions)(nil), 145 ExtensionType: ([]string)(nil), 146 Field: 10101, 147 Name: "testprotos.ffubar", 148 Tag: "bytes,10101,rep,name=ffubar", 149 Filename: "desc_test_options.proto", 150 }, 151 { 152 ExtendedType: (*descriptorpb.FieldOptions)(nil), 153 ExtensionType: ([]byte)(nil), 154 Field: 10102, 155 Name: "testprotos.ffubarb", 156 Tag: "bytes,10102,opt,name=ffubarb", 157 Filename: "desc_test_options.proto", 158 }, 159 { 160 ExtendedType: (*descriptorpb.EnumOptions)(nil), 161 ExtensionType: (*int32)(nil), 162 Field: 10101, 163 Name: "testprotos.efubar", 164 Tag: "varint,10101,opt,name=efubar", 165 Filename: "desc_test_options.proto", 166 }, 167 { 168 ExtendedType: (*descriptorpb.EnumOptions)(nil), 169 ExtensionType: (*int32)(nil), 170 Field: 10102, 171 Name: "testprotos.efubars", 172 Tag: "zigzag32,10102,opt,name=efubars", 173 Filename: "desc_test_options.proto", 174 }, 175 { 176 ExtendedType: (*descriptorpb.EnumOptions)(nil), 177 ExtensionType: (*int32)(nil), 178 Field: 10103, 179 Name: "testprotos.efubarsf", 180 Tag: "fixed32,10103,opt,name=efubarsf", 181 Filename: "desc_test_options.proto", 182 }, 183 { 184 ExtendedType: (*descriptorpb.EnumOptions)(nil), 185 ExtensionType: (*uint32)(nil), 186 Field: 10104, 187 Name: "testprotos.efubaru", 188 Tag: "varint,10104,opt,name=efubaru", 189 Filename: "desc_test_options.proto", 190 }, 191 { 192 ExtendedType: (*descriptorpb.EnumOptions)(nil), 193 ExtensionType: (*uint32)(nil), 194 Field: 10105, 195 Name: "testprotos.efubaruf", 196 Tag: "fixed32,10105,opt,name=efubaruf", 197 Filename: "desc_test_options.proto", 198 }, 199 { 200 ExtendedType: (*descriptorpb.EnumValueOptions)(nil), 201 ExtensionType: (*int64)(nil), 202 Field: 10101, 203 Name: "testprotos.evfubar", 204 Tag: "varint,10101,opt,name=evfubar", 205 Filename: "desc_test_options.proto", 206 }, 207 { 208 ExtendedType: (*descriptorpb.EnumValueOptions)(nil), 209 ExtensionType: (*int64)(nil), 210 Field: 10102, 211 Name: "testprotos.evfubars", 212 Tag: "zigzag64,10102,opt,name=evfubars", 213 Filename: "desc_test_options.proto", 214 }, 215 { 216 ExtendedType: (*descriptorpb.EnumValueOptions)(nil), 217 ExtensionType: (*int64)(nil), 218 Field: 10103, 219 Name: "testprotos.evfubarsf", 220 Tag: "fixed64,10103,opt,name=evfubarsf", 221 Filename: "desc_test_options.proto", 222 }, 223 { 224 ExtendedType: (*descriptorpb.EnumValueOptions)(nil), 225 ExtensionType: (*uint64)(nil), 226 Field: 10104, 227 Name: "testprotos.evfubaru", 228 Tag: "varint,10104,opt,name=evfubaru", 229 Filename: "desc_test_options.proto", 230 }, 231 { 232 ExtendedType: (*descriptorpb.EnumValueOptions)(nil), 233 ExtensionType: (*uint64)(nil), 234 Field: 10105, 235 Name: "testprotos.evfubaruf", 236 Tag: "fixed64,10105,opt,name=evfubaruf", 237 Filename: "desc_test_options.proto", 238 }, 239 { 240 ExtendedType: (*descriptorpb.ServiceOptions)(nil), 241 ExtensionType: (*ReallySimpleMessage)(nil), 242 Field: 10101, 243 Name: "testprotos.sfubar", 244 Tag: "bytes,10101,opt,name=sfubar", 245 Filename: "desc_test_options.proto", 246 }, 247 { 248 ExtendedType: (*descriptorpb.ServiceOptions)(nil), 249 ExtensionType: (*ReallySimpleEnum)(nil), 250 Field: 10102, 251 Name: "testprotos.sfubare", 252 Tag: "varint,10102,opt,name=sfubare,enum=testprotos.ReallySimpleEnum", 253 Filename: "desc_test_options.proto", 254 }, 255 { 256 ExtendedType: (*descriptorpb.MethodOptions)(nil), 257 ExtensionType: ([]float32)(nil), 258 Field: 10101, 259 Name: "testprotos.mtfubar", 260 Tag: "fixed32,10101,rep,name=mtfubar", 261 Filename: "desc_test_options.proto", 262 }, 263 { 264 ExtendedType: (*descriptorpb.MethodOptions)(nil), 265 ExtensionType: (*float64)(nil), 266 Field: 10102, 267 Name: "testprotos.mtfubard", 268 Tag: "fixed64,10102,opt,name=mtfubard", 269 Filename: "desc_test_options.proto", 270 }, 271 { 272 ExtendedType: (*descriptorpb.ExtensionRangeOptions)(nil), 273 ExtensionType: ([]string)(nil), 274 Field: 10101, 275 Name: "testprotos.exfubar", 276 Tag: "bytes,10101,rep,name=exfubar", 277 Filename: "desc_test_options.proto", 278 }, 279 { 280 ExtendedType: (*descriptorpb.ExtensionRangeOptions)(nil), 281 ExtensionType: ([]byte)(nil), 282 Field: 10102, 283 Name: "testprotos.exfubarb", 284 Tag: "bytes,10102,opt,name=exfubarb", 285 Filename: "desc_test_options.proto", 286 }, 287 { 288 ExtendedType: (*descriptorpb.OneofOptions)(nil), 289 ExtensionType: ([]string)(nil), 290 Field: 10101, 291 Name: "testprotos.oofubar", 292 Tag: "bytes,10101,rep,name=oofubar", 293 Filename: "desc_test_options.proto", 294 }, 295 { 296 ExtendedType: (*descriptorpb.OneofOptions)(nil), 297 ExtensionType: ([]byte)(nil), 298 Field: 10102, 299 Name: "testprotos.oofubarb", 300 Tag: "bytes,10102,opt,name=oofubarb", 301 Filename: "desc_test_options.proto", 302 }, 303 } 304 305 // Extension fields to descriptorpb.MessageOptions. 306 var ( 307 // optional bool mfubar = 10101; 308 E_Mfubar = &file_desc_test_options_proto_extTypes[0] 309 ) 310 311 // Extension fields to descriptorpb.FieldOptions. 312 var ( 313 // repeated string ffubar = 10101; 314 E_Ffubar = &file_desc_test_options_proto_extTypes[1] 315 // optional bytes ffubarb = 10102; 316 E_Ffubarb = &file_desc_test_options_proto_extTypes[2] 317 ) 318 319 // Extension fields to descriptorpb.EnumOptions. 320 var ( 321 // optional int32 efubar = 10101; 322 E_Efubar = &file_desc_test_options_proto_extTypes[3] 323 // optional sint32 efubars = 10102; 324 E_Efubars = &file_desc_test_options_proto_extTypes[4] 325 // optional sfixed32 efubarsf = 10103; 326 E_Efubarsf = &file_desc_test_options_proto_extTypes[5] 327 // optional uint32 efubaru = 10104; 328 E_Efubaru = &file_desc_test_options_proto_extTypes[6] 329 // optional fixed32 efubaruf = 10105; 330 E_Efubaruf = &file_desc_test_options_proto_extTypes[7] 331 ) 332 333 // Extension fields to descriptorpb.EnumValueOptions. 334 var ( 335 // optional int64 evfubar = 10101; 336 E_Evfubar = &file_desc_test_options_proto_extTypes[8] 337 // optional sint64 evfubars = 10102; 338 E_Evfubars = &file_desc_test_options_proto_extTypes[9] 339 // optional sfixed64 evfubarsf = 10103; 340 E_Evfubarsf = &file_desc_test_options_proto_extTypes[10] 341 // optional uint64 evfubaru = 10104; 342 E_Evfubaru = &file_desc_test_options_proto_extTypes[11] 343 // optional fixed64 evfubaruf = 10105; 344 E_Evfubaruf = &file_desc_test_options_proto_extTypes[12] 345 ) 346 347 // Extension fields to descriptorpb.ServiceOptions. 348 var ( 349 // optional testprotos.ReallySimpleMessage sfubar = 10101; 350 E_Sfubar = &file_desc_test_options_proto_extTypes[13] 351 // optional testprotos.ReallySimpleEnum sfubare = 10102; 352 E_Sfubare = &file_desc_test_options_proto_extTypes[14] 353 ) 354 355 // Extension fields to descriptorpb.MethodOptions. 356 var ( 357 // repeated float mtfubar = 10101; 358 E_Mtfubar = &file_desc_test_options_proto_extTypes[15] 359 // optional double mtfubard = 10102; 360 E_Mtfubard = &file_desc_test_options_proto_extTypes[16] 361 ) 362 363 // Extension fields to descriptorpb.ExtensionRangeOptions. 364 var ( 365 // repeated string exfubar = 10101; 366 E_Exfubar = &file_desc_test_options_proto_extTypes[17] 367 // optional bytes exfubarb = 10102; 368 E_Exfubarb = &file_desc_test_options_proto_extTypes[18] 369 ) 370 371 // Extension fields to descriptorpb.OneofOptions. 372 var ( 373 // repeated string oofubar = 10101; 374 E_Oofubar = &file_desc_test_options_proto_extTypes[19] 375 // optional bytes oofubarb = 10102; 376 E_Oofubarb = &file_desc_test_options_proto_extTypes[20] 377 ) 378 379 var File_desc_test_options_proto protoreflect.FileDescriptor 380 381 var file_desc_test_options_proto_rawDesc = []byte{ 382 0x0a, 0x17, 0x64, 0x65, 0x73, 0x63, 0x5f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x6f, 0x70, 0x74, 0x69, 383 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x74, 0x65, 0x73, 0x74, 0x70, 384 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 385 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 386 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x39, 0x0a, 0x13, 0x52, 0x65, 0x61, 0x6c, 0x6c, 387 0x79, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x0e, 388 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 389 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 390 0x6d, 0x65, 0x2a, 0x1d, 0x0a, 0x10, 0x52, 0x65, 0x61, 0x6c, 0x6c, 0x79, 0x53, 0x69, 0x6d, 0x70, 391 0x6c, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x09, 0x0a, 0x05, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 392 0x01, 0x3a, 0x38, 0x0a, 0x06, 0x6d, 0x66, 0x75, 0x62, 0x61, 0x72, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 393 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 394 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf5, 0x4e, 0x20, 395 0x01, 0x28, 0x08, 0x52, 0x06, 0x6d, 0x66, 0x75, 0x62, 0x61, 0x72, 0x3a, 0x36, 0x0a, 0x06, 0x66, 396 0x66, 0x75, 0x62, 0x61, 0x72, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 397 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 398 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf5, 0x4e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x66, 0x66, 0x75, 399 0x62, 0x61, 0x72, 0x3a, 0x38, 0x0a, 0x07, 0x66, 0x66, 0x75, 0x62, 0x61, 0x72, 0x62, 0x12, 0x1d, 400 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 401 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf6, 0x4e, 402 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x66, 0x66, 0x75, 0x62, 0x61, 0x72, 0x62, 0x3a, 0x35, 0x0a, 403 0x06, 0x65, 0x66, 0x75, 0x62, 0x61, 0x72, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 404 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 405 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf5, 0x4e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x65, 0x66, 406 0x75, 0x62, 0x61, 0x72, 0x3a, 0x37, 0x0a, 0x07, 0x65, 0x66, 0x75, 0x62, 0x61, 0x72, 0x73, 0x12, 407 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 408 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf6, 0x4e, 409 0x20, 0x01, 0x28, 0x11, 0x52, 0x07, 0x65, 0x66, 0x75, 0x62, 0x61, 0x72, 0x73, 0x3a, 0x39, 0x0a, 410 0x08, 0x65, 0x66, 0x75, 0x62, 0x61, 0x72, 0x73, 0x66, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 411 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 412 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf7, 0x4e, 0x20, 0x01, 0x28, 0x0f, 0x52, 0x08, 413 0x65, 0x66, 0x75, 0x62, 0x61, 0x72, 0x73, 0x66, 0x3a, 0x37, 0x0a, 0x07, 0x65, 0x66, 0x75, 0x62, 414 0x61, 0x72, 0x75, 0x12, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 415 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 416 0x73, 0x18, 0xf8, 0x4e, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x07, 0x65, 0x66, 0x75, 0x62, 0x61, 0x72, 417 0x75, 0x3a, 0x39, 0x0a, 0x08, 0x65, 0x66, 0x75, 0x62, 0x61, 0x72, 0x75, 0x66, 0x12, 0x1c, 0x2e, 418 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 419 0x45, 0x6e, 0x75, 0x6d, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf9, 0x4e, 0x20, 0x01, 420 0x28, 0x07, 0x52, 0x08, 0x65, 0x66, 0x75, 0x62, 0x61, 0x72, 0x75, 0x66, 0x3a, 0x3c, 0x0a, 0x07, 421 0x65, 0x76, 0x66, 0x75, 0x62, 0x61, 0x72, 0x12, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 422 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 423 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf5, 0x4e, 0x20, 0x01, 0x28, 424 0x03, 0x52, 0x07, 0x65, 0x76, 0x66, 0x75, 0x62, 0x61, 0x72, 0x3a, 0x3e, 0x0a, 0x08, 0x65, 0x76, 425 0x66, 0x75, 0x62, 0x61, 0x72, 0x73, 0x12, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 426 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 427 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf6, 0x4e, 0x20, 0x01, 0x28, 0x12, 428 0x52, 0x08, 0x65, 0x76, 0x66, 0x75, 0x62, 0x61, 0x72, 0x73, 0x3a, 0x40, 0x0a, 0x09, 0x65, 0x76, 429 0x66, 0x75, 0x62, 0x61, 0x72, 0x73, 0x66, 0x12, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 430 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 431 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf7, 0x4e, 0x20, 0x01, 0x28, 432 0x10, 0x52, 0x09, 0x65, 0x76, 0x66, 0x75, 0x62, 0x61, 0x72, 0x73, 0x66, 0x3a, 0x3e, 0x0a, 0x08, 433 0x65, 0x76, 0x66, 0x75, 0x62, 0x61, 0x72, 0x75, 0x12, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 434 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 435 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf8, 0x4e, 0x20, 0x01, 436 0x28, 0x04, 0x52, 0x08, 0x65, 0x76, 0x66, 0x75, 0x62, 0x61, 0x72, 0x75, 0x3a, 0x40, 0x0a, 0x09, 437 0x65, 0x76, 0x66, 0x75, 0x62, 0x61, 0x72, 0x75, 0x66, 0x12, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 438 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 439 0x56, 0x61, 0x6c, 0x75, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf9, 0x4e, 0x20, 440 0x01, 0x28, 0x06, 0x52, 0x09, 0x65, 0x76, 0x66, 0x75, 0x62, 0x61, 0x72, 0x75, 0x66, 0x3a, 0x59, 441 0x0a, 0x06, 0x73, 0x66, 0x75, 0x62, 0x61, 0x72, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 442 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 443 0x63, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf5, 0x4e, 0x20, 0x01, 0x28, 0x0b, 444 0x32, 0x1f, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x52, 0x65, 445 0x61, 0x6c, 0x6c, 0x79, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 446 0x65, 0x52, 0x06, 0x73, 0x66, 0x75, 0x62, 0x61, 0x72, 0x3a, 0x58, 0x0a, 0x07, 0x73, 0x66, 0x75, 447 0x62, 0x61, 0x72, 0x65, 0x12, 0x1f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 448 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x4f, 0x70, 449 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf6, 0x4e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x74, 450 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2e, 0x52, 0x65, 0x61, 0x6c, 0x6c, 0x79, 451 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x45, 0x6e, 0x75, 0x6d, 0x52, 0x07, 0x73, 0x66, 0x75, 0x62, 452 0x61, 0x72, 0x65, 0x3a, 0x39, 0x0a, 0x07, 0x6d, 0x74, 0x66, 0x75, 0x62, 0x61, 0x72, 0x12, 0x1e, 453 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 454 0x2e, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf5, 455 0x4e, 0x20, 0x03, 0x28, 0x02, 0x52, 0x07, 0x6d, 0x74, 0x66, 0x75, 0x62, 0x61, 0x72, 0x3a, 0x3b, 456 0x0a, 0x08, 0x6d, 0x74, 0x66, 0x75, 0x62, 0x61, 0x72, 0x64, 0x12, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 457 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4d, 0x65, 0x74, 458 0x68, 0x6f, 0x64, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf6, 0x4e, 0x20, 0x01, 0x28, 459 0x01, 0x52, 0x08, 0x6d, 0x74, 0x66, 0x75, 0x62, 0x61, 0x72, 0x64, 0x3a, 0x41, 0x0a, 0x07, 0x65, 460 0x78, 0x66, 0x75, 0x62, 0x61, 0x72, 0x12, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 461 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 462 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf5, 463 0x4e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x65, 0x78, 0x66, 0x75, 0x62, 0x61, 0x72, 0x3a, 0x43, 464 0x0a, 0x08, 0x65, 0x78, 0x66, 0x75, 0x62, 0x61, 0x72, 0x62, 0x12, 0x26, 0x2e, 0x67, 0x6f, 0x6f, 465 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x78, 0x74, 466 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x4f, 0x70, 0x74, 0x69, 0x6f, 467 0x6e, 0x73, 0x18, 0xf6, 0x4e, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x08, 0x65, 0x78, 0x66, 0x75, 0x62, 468 0x61, 0x72, 0x62, 0x3a, 0x38, 0x0a, 0x07, 0x6f, 0x6f, 0x66, 0x75, 0x62, 0x61, 0x72, 0x12, 0x1d, 469 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 470 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf5, 0x4e, 471 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x6f, 0x6f, 0x66, 0x75, 0x62, 0x61, 0x72, 0x3a, 0x3a, 0x0a, 472 0x08, 0x6f, 0x6f, 0x66, 0x75, 0x62, 0x61, 0x72, 0x62, 0x12, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 473 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x6e, 0x65, 0x6f, 474 0x66, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0xf6, 0x4e, 0x20, 0x01, 0x28, 0x0c, 0x52, 475 0x08, 0x6f, 0x6f, 0x66, 0x75, 0x62, 0x61, 0x72, 0x62, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x69, 0x74, 476 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6a, 0x68, 0x75, 0x6d, 0x70, 0x2f, 0x70, 0x72, 477 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 478 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 479 } 480 481 var ( 482 file_desc_test_options_proto_rawDescOnce sync.Once 483 file_desc_test_options_proto_rawDescData = file_desc_test_options_proto_rawDesc 484 ) 485 486 func file_desc_test_options_proto_rawDescGZIP() []byte { 487 file_desc_test_options_proto_rawDescOnce.Do(func() { 488 file_desc_test_options_proto_rawDescData = protoimpl.X.CompressGZIP(file_desc_test_options_proto_rawDescData) 489 }) 490 return file_desc_test_options_proto_rawDescData 491 } 492 493 var file_desc_test_options_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 494 var file_desc_test_options_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 495 var file_desc_test_options_proto_goTypes = []interface{}{ 496 (ReallySimpleEnum)(0), // 0: testprotos.ReallySimpleEnum 497 (*ReallySimpleMessage)(nil), // 1: testprotos.ReallySimpleMessage 498 (*descriptorpb.MessageOptions)(nil), // 2: google.protobuf.MessageOptions 499 (*descriptorpb.FieldOptions)(nil), // 3: google.protobuf.FieldOptions 500 (*descriptorpb.EnumOptions)(nil), // 4: google.protobuf.EnumOptions 501 (*descriptorpb.EnumValueOptions)(nil), // 5: google.protobuf.EnumValueOptions 502 (*descriptorpb.ServiceOptions)(nil), // 6: google.protobuf.ServiceOptions 503 (*descriptorpb.MethodOptions)(nil), // 7: google.protobuf.MethodOptions 504 (*descriptorpb.ExtensionRangeOptions)(nil), // 8: google.protobuf.ExtensionRangeOptions 505 (*descriptorpb.OneofOptions)(nil), // 9: google.protobuf.OneofOptions 506 } 507 var file_desc_test_options_proto_depIdxs = []int32{ 508 2, // 0: testprotos.mfubar:extendee -> google.protobuf.MessageOptions 509 3, // 1: testprotos.ffubar:extendee -> google.protobuf.FieldOptions 510 3, // 2: testprotos.ffubarb:extendee -> google.protobuf.FieldOptions 511 4, // 3: testprotos.efubar:extendee -> google.protobuf.EnumOptions 512 4, // 4: testprotos.efubars:extendee -> google.protobuf.EnumOptions 513 4, // 5: testprotos.efubarsf:extendee -> google.protobuf.EnumOptions 514 4, // 6: testprotos.efubaru:extendee -> google.protobuf.EnumOptions 515 4, // 7: testprotos.efubaruf:extendee -> google.protobuf.EnumOptions 516 5, // 8: testprotos.evfubar:extendee -> google.protobuf.EnumValueOptions 517 5, // 9: testprotos.evfubars:extendee -> google.protobuf.EnumValueOptions 518 5, // 10: testprotos.evfubarsf:extendee -> google.protobuf.EnumValueOptions 519 5, // 11: testprotos.evfubaru:extendee -> google.protobuf.EnumValueOptions 520 5, // 12: testprotos.evfubaruf:extendee -> google.protobuf.EnumValueOptions 521 6, // 13: testprotos.sfubar:extendee -> google.protobuf.ServiceOptions 522 6, // 14: testprotos.sfubare:extendee -> google.protobuf.ServiceOptions 523 7, // 15: testprotos.mtfubar:extendee -> google.protobuf.MethodOptions 524 7, // 16: testprotos.mtfubard:extendee -> google.protobuf.MethodOptions 525 8, // 17: testprotos.exfubar:extendee -> google.protobuf.ExtensionRangeOptions 526 8, // 18: testprotos.exfubarb:extendee -> google.protobuf.ExtensionRangeOptions 527 9, // 19: testprotos.oofubar:extendee -> google.protobuf.OneofOptions 528 9, // 20: testprotos.oofubarb:extendee -> google.protobuf.OneofOptions 529 1, // 21: testprotos.sfubar:type_name -> testprotos.ReallySimpleMessage 530 0, // 22: testprotos.sfubare:type_name -> testprotos.ReallySimpleEnum 531 23, // [23:23] is the sub-list for method output_type 532 23, // [23:23] is the sub-list for method input_type 533 21, // [21:23] is the sub-list for extension type_name 534 0, // [0:21] is the sub-list for extension extendee 535 0, // [0:0] is the sub-list for field type_name 536 } 537 538 func init() { file_desc_test_options_proto_init() } 539 func file_desc_test_options_proto_init() { 540 if File_desc_test_options_proto != nil { 541 return 542 } 543 if !protoimpl.UnsafeEnabled { 544 file_desc_test_options_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 545 switch v := v.(*ReallySimpleMessage); i { 546 case 0: 547 return &v.state 548 case 1: 549 return &v.sizeCache 550 case 2: 551 return &v.unknownFields 552 default: 553 return nil 554 } 555 } 556 } 557 type x struct{} 558 out := protoimpl.TypeBuilder{ 559 File: protoimpl.DescBuilder{ 560 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 561 RawDescriptor: file_desc_test_options_proto_rawDesc, 562 NumEnums: 1, 563 NumMessages: 1, 564 NumExtensions: 21, 565 NumServices: 0, 566 }, 567 GoTypes: file_desc_test_options_proto_goTypes, 568 DependencyIndexes: file_desc_test_options_proto_depIdxs, 569 EnumInfos: file_desc_test_options_proto_enumTypes, 570 MessageInfos: file_desc_test_options_proto_msgTypes, 571 ExtensionInfos: file_desc_test_options_proto_extTypes, 572 }.Build() 573 File_desc_test_options_proto = out.File 574 file_desc_test_options_proto_rawDesc = nil 575 file_desc_test_options_proto_goTypes = nil 576 file_desc_test_options_proto_depIdxs = nil 577 }