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