1// Protocol Buffers - Google's data interchange format 2// Copyright 2008 Google Inc. All rights reserved. 3// https://developers.google.com/protocol-buffers/ 4// 5// Redistribution and use in source and binary forms, with or without 6// modification, are permitted provided that the following conditions are 7// met: 8// 9// * Redistributions of source code must retain the above copyright 10// notice, this list of conditions and the following disclaimer. 11// * Redistributions in binary form must reproduce the above 12// copyright notice, this list of conditions and the following disclaimer 13// in the documentation and/or other materials provided with the 14// distribution. 15// * Neither the name of Google Inc. nor the names of its 16// contributors may be used to endorse or promote products derived from 17// this software without specific prior written permission. 18// 19// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 20// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 21// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 22// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 23// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 24// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 25// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 26// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 27// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 28// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 31// Code generated by protoc-gen-go. DO NOT EDIT. 32// source: google/protobuf/type.proto 33 34package typepb 35 36import ( 37 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 38 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 39 anypb "google.golang.org/protobuf/types/known/anypb" 40 sourcecontextpb "google.golang.org/protobuf/types/known/sourcecontextpb" 41 reflect "reflect" 42 sync "sync" 43) 44 45// The syntax in which a protocol buffer element is defined. 46type Syntax int32 47 48const ( 49 // Syntax `proto2`. 50 Syntax_SYNTAX_PROTO2 Syntax = 0 51 // Syntax `proto3`. 52 Syntax_SYNTAX_PROTO3 Syntax = 1 53) 54 55// Enum value maps for Syntax. 56var ( 57 Syntax_name = map[int32]string{ 58 0: "SYNTAX_PROTO2", 59 1: "SYNTAX_PROTO3", 60 } 61 Syntax_value = map[string]int32{ 62 "SYNTAX_PROTO2": 0, 63 "SYNTAX_PROTO3": 1, 64 } 65) 66 67func (x Syntax) Enum() *Syntax { 68 p := new(Syntax) 69 *p = x 70 return p 71} 72 73func (x Syntax) String() string { 74 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 75} 76 77func (Syntax) Descriptor() protoreflect.EnumDescriptor { 78 return file_google_protobuf_type_proto_enumTypes[0].Descriptor() 79} 80 81func (Syntax) Type() protoreflect.EnumType { 82 return &file_google_protobuf_type_proto_enumTypes[0] 83} 84 85func (x Syntax) Number() protoreflect.EnumNumber { 86 return protoreflect.EnumNumber(x) 87} 88 89// Deprecated: Use Syntax.Descriptor instead. 90func (Syntax) EnumDescriptor() ([]byte, []int) { 91 return file_google_protobuf_type_proto_rawDescGZIP(), []int{0} 92} 93 94// Basic field types. 95type Field_Kind int32 96 97const ( 98 // Field type unknown. 99 Field_TYPE_UNKNOWN Field_Kind = 0 100 // Field type double. 101 Field_TYPE_DOUBLE Field_Kind = 1 102 // Field type float. 103 Field_TYPE_FLOAT Field_Kind = 2 104 // Field type int64. 105 Field_TYPE_INT64 Field_Kind = 3 106 // Field type uint64. 107 Field_TYPE_UINT64 Field_Kind = 4 108 // Field type int32. 109 Field_TYPE_INT32 Field_Kind = 5 110 // Field type fixed64. 111 Field_TYPE_FIXED64 Field_Kind = 6 112 // Field type fixed32. 113 Field_TYPE_FIXED32 Field_Kind = 7 114 // Field type bool. 115 Field_TYPE_BOOL Field_Kind = 8 116 // Field type string. 117 Field_TYPE_STRING Field_Kind = 9 118 // Field type group. Proto2 syntax only, and deprecated. 119 Field_TYPE_GROUP Field_Kind = 10 120 // Field type message. 121 Field_TYPE_MESSAGE Field_Kind = 11 122 // Field type bytes. 123 Field_TYPE_BYTES Field_Kind = 12 124 // Field type uint32. 125 Field_TYPE_UINT32 Field_Kind = 13 126 // Field type enum. 127 Field_TYPE_ENUM Field_Kind = 14 128 // Field type sfixed32. 129 Field_TYPE_SFIXED32 Field_Kind = 15 130 // Field type sfixed64. 131 Field_TYPE_SFIXED64 Field_Kind = 16 132 // Field type sint32. 133 Field_TYPE_SINT32 Field_Kind = 17 134 // Field type sint64. 135 Field_TYPE_SINT64 Field_Kind = 18 136) 137 138// Enum value maps for Field_Kind. 139var ( 140 Field_Kind_name = map[int32]string{ 141 0: "TYPE_UNKNOWN", 142 1: "TYPE_DOUBLE", 143 2: "TYPE_FLOAT", 144 3: "TYPE_INT64", 145 4: "TYPE_UINT64", 146 5: "TYPE_INT32", 147 6: "TYPE_FIXED64", 148 7: "TYPE_FIXED32", 149 8: "TYPE_BOOL", 150 9: "TYPE_STRING", 151 10: "TYPE_GROUP", 152 11: "TYPE_MESSAGE", 153 12: "TYPE_BYTES", 154 13: "TYPE_UINT32", 155 14: "TYPE_ENUM", 156 15: "TYPE_SFIXED32", 157 16: "TYPE_SFIXED64", 158 17: "TYPE_SINT32", 159 18: "TYPE_SINT64", 160 } 161 Field_Kind_value = map[string]int32{ 162 "TYPE_UNKNOWN": 0, 163 "TYPE_DOUBLE": 1, 164 "TYPE_FLOAT": 2, 165 "TYPE_INT64": 3, 166 "TYPE_UINT64": 4, 167 "TYPE_INT32": 5, 168 "TYPE_FIXED64": 6, 169 "TYPE_FIXED32": 7, 170 "TYPE_BOOL": 8, 171 "TYPE_STRING": 9, 172 "TYPE_GROUP": 10, 173 "TYPE_MESSAGE": 11, 174 "TYPE_BYTES": 12, 175 "TYPE_UINT32": 13, 176 "TYPE_ENUM": 14, 177 "TYPE_SFIXED32": 15, 178 "TYPE_SFIXED64": 16, 179 "TYPE_SINT32": 17, 180 "TYPE_SINT64": 18, 181 } 182) 183 184func (x Field_Kind) Enum() *Field_Kind { 185 p := new(Field_Kind) 186 *p = x 187 return p 188} 189 190func (x Field_Kind) String() string { 191 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 192} 193 194func (Field_Kind) Descriptor() protoreflect.EnumDescriptor { 195 return file_google_protobuf_type_proto_enumTypes[1].Descriptor() 196} 197 198func (Field_Kind) Type() protoreflect.EnumType { 199 return &file_google_protobuf_type_proto_enumTypes[1] 200} 201 202func (x Field_Kind) Number() protoreflect.EnumNumber { 203 return protoreflect.EnumNumber(x) 204} 205 206// Deprecated: Use Field_Kind.Descriptor instead. 207func (Field_Kind) EnumDescriptor() ([]byte, []int) { 208 return file_google_protobuf_type_proto_rawDescGZIP(), []int{1, 0} 209} 210 211// Whether a field is optional, required, or repeated. 212type Field_Cardinality int32 213 214const ( 215 // For fields with unknown cardinality. 216 Field_CARDINALITY_UNKNOWN Field_Cardinality = 0 217 // For optional fields. 218 Field_CARDINALITY_OPTIONAL Field_Cardinality = 1 219 // For required fields. Proto2 syntax only. 220 Field_CARDINALITY_REQUIRED Field_Cardinality = 2 221 // For repeated fields. 222 Field_CARDINALITY_REPEATED Field_Cardinality = 3 223) 224 225// Enum value maps for Field_Cardinality. 226var ( 227 Field_Cardinality_name = map[int32]string{ 228 0: "CARDINALITY_UNKNOWN", 229 1: "CARDINALITY_OPTIONAL", 230 2: "CARDINALITY_REQUIRED", 231 3: "CARDINALITY_REPEATED", 232 } 233 Field_Cardinality_value = map[string]int32{ 234 "CARDINALITY_UNKNOWN": 0, 235 "CARDINALITY_OPTIONAL": 1, 236 "CARDINALITY_REQUIRED": 2, 237 "CARDINALITY_REPEATED": 3, 238 } 239) 240 241func (x Field_Cardinality) Enum() *Field_Cardinality { 242 p := new(Field_Cardinality) 243 *p = x 244 return p 245} 246 247func (x Field_Cardinality) String() string { 248 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 249} 250 251func (Field_Cardinality) Descriptor() protoreflect.EnumDescriptor { 252 return file_google_protobuf_type_proto_enumTypes[2].Descriptor() 253} 254 255func (Field_Cardinality) Type() protoreflect.EnumType { 256 return &file_google_protobuf_type_proto_enumTypes[2] 257} 258 259func (x Field_Cardinality) Number() protoreflect.EnumNumber { 260 return protoreflect.EnumNumber(x) 261} 262 263// Deprecated: Use Field_Cardinality.Descriptor instead. 264func (Field_Cardinality) EnumDescriptor() ([]byte, []int) { 265 return file_google_protobuf_type_proto_rawDescGZIP(), []int{1, 1} 266} 267 268// A protocol buffer message type. 269type Type struct { 270 state protoimpl.MessageState 271 sizeCache protoimpl.SizeCache 272 unknownFields protoimpl.UnknownFields 273 274 // The fully qualified message name. 275 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 276 // The list of fields. 277 Fields []*Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` 278 // The list of types appearing in `oneof` definitions in this type. 279 Oneofs []string `protobuf:"bytes,3,rep,name=oneofs,proto3" json:"oneofs,omitempty"` 280 // The protocol buffer options. 281 Options []*Option `protobuf:"bytes,4,rep,name=options,proto3" json:"options,omitempty"` 282 // The source context. 283 SourceContext *sourcecontextpb.SourceContext `protobuf:"bytes,5,opt,name=source_context,json=sourceContext,proto3" json:"source_context,omitempty"` 284 // The source syntax. 285 Syntax Syntax `protobuf:"varint,6,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"` 286} 287 288func (x *Type) Reset() { 289 *x = Type{} 290 if protoimpl.UnsafeEnabled { 291 mi := &file_google_protobuf_type_proto_msgTypes[0] 292 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 293 ms.StoreMessageInfo(mi) 294 } 295} 296 297func (x *Type) String() string { 298 return protoimpl.X.MessageStringOf(x) 299} 300 301func (*Type) ProtoMessage() {} 302 303func (x *Type) ProtoReflect() protoreflect.Message { 304 mi := &file_google_protobuf_type_proto_msgTypes[0] 305 if protoimpl.UnsafeEnabled && x != nil { 306 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 307 if ms.LoadMessageInfo() == nil { 308 ms.StoreMessageInfo(mi) 309 } 310 return ms 311 } 312 return mi.MessageOf(x) 313} 314 315// Deprecated: Use Type.ProtoReflect.Descriptor instead. 316func (*Type) Descriptor() ([]byte, []int) { 317 return file_google_protobuf_type_proto_rawDescGZIP(), []int{0} 318} 319 320func (x *Type) GetName() string { 321 if x != nil { 322 return x.Name 323 } 324 return "" 325} 326 327func (x *Type) GetFields() []*Field { 328 if x != nil { 329 return x.Fields 330 } 331 return nil 332} 333 334func (x *Type) GetOneofs() []string { 335 if x != nil { 336 return x.Oneofs 337 } 338 return nil 339} 340 341func (x *Type) GetOptions() []*Option { 342 if x != nil { 343 return x.Options 344 } 345 return nil 346} 347 348func (x *Type) GetSourceContext() *sourcecontextpb.SourceContext { 349 if x != nil { 350 return x.SourceContext 351 } 352 return nil 353} 354 355func (x *Type) GetSyntax() Syntax { 356 if x != nil { 357 return x.Syntax 358 } 359 return Syntax_SYNTAX_PROTO2 360} 361 362// A single field of a message type. 363type Field struct { 364 state protoimpl.MessageState 365 sizeCache protoimpl.SizeCache 366 unknownFields protoimpl.UnknownFields 367 368 // The field type. 369 Kind Field_Kind `protobuf:"varint,1,opt,name=kind,proto3,enum=google.protobuf.Field_Kind" json:"kind,omitempty"` 370 // The field cardinality. 371 Cardinality Field_Cardinality `protobuf:"varint,2,opt,name=cardinality,proto3,enum=google.protobuf.Field_Cardinality" json:"cardinality,omitempty"` 372 // The field number. 373 Number int32 `protobuf:"varint,3,opt,name=number,proto3" json:"number,omitempty"` 374 // The field name. 375 Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` 376 // The field type URL, without the scheme, for message or enumeration 377 // types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`. 378 TypeUrl string `protobuf:"bytes,6,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` 379 // The index of the field type in `Type.oneofs`, for message or enumeration 380 // types. The first type has index 1; zero means the type is not in the list. 381 OneofIndex int32 `protobuf:"varint,7,opt,name=oneof_index,json=oneofIndex,proto3" json:"oneof_index,omitempty"` 382 // Whether to use alternative packed wire representation. 383 Packed bool `protobuf:"varint,8,opt,name=packed,proto3" json:"packed,omitempty"` 384 // The protocol buffer options. 385 Options []*Option `protobuf:"bytes,9,rep,name=options,proto3" json:"options,omitempty"` 386 // The field JSON name. 387 JsonName string `protobuf:"bytes,10,opt,name=json_name,json=jsonName,proto3" json:"json_name,omitempty"` 388 // The string value of the default value of this field. Proto2 syntax only. 389 DefaultValue string `protobuf:"bytes,11,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` 390} 391 392func (x *Field) Reset() { 393 *x = Field{} 394 if protoimpl.UnsafeEnabled { 395 mi := &file_google_protobuf_type_proto_msgTypes[1] 396 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 397 ms.StoreMessageInfo(mi) 398 } 399} 400 401func (x *Field) String() string { 402 return protoimpl.X.MessageStringOf(x) 403} 404 405func (*Field) ProtoMessage() {} 406 407func (x *Field) ProtoReflect() protoreflect.Message { 408 mi := &file_google_protobuf_type_proto_msgTypes[1] 409 if protoimpl.UnsafeEnabled && x != nil { 410 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 411 if ms.LoadMessageInfo() == nil { 412 ms.StoreMessageInfo(mi) 413 } 414 return ms 415 } 416 return mi.MessageOf(x) 417} 418 419// Deprecated: Use Field.ProtoReflect.Descriptor instead. 420func (*Field) Descriptor() ([]byte, []int) { 421 return file_google_protobuf_type_proto_rawDescGZIP(), []int{1} 422} 423 424func (x *Field) GetKind() Field_Kind { 425 if x != nil { 426 return x.Kind 427 } 428 return Field_TYPE_UNKNOWN 429} 430 431func (x *Field) GetCardinality() Field_Cardinality { 432 if x != nil { 433 return x.Cardinality 434 } 435 return Field_CARDINALITY_UNKNOWN 436} 437 438func (x *Field) GetNumber() int32 { 439 if x != nil { 440 return x.Number 441 } 442 return 0 443} 444 445func (x *Field) GetName() string { 446 if x != nil { 447 return x.Name 448 } 449 return "" 450} 451 452func (x *Field) GetTypeUrl() string { 453 if x != nil { 454 return x.TypeUrl 455 } 456 return "" 457} 458 459func (x *Field) GetOneofIndex() int32 { 460 if x != nil { 461 return x.OneofIndex 462 } 463 return 0 464} 465 466func (x *Field) GetPacked() bool { 467 if x != nil { 468 return x.Packed 469 } 470 return false 471} 472 473func (x *Field) GetOptions() []*Option { 474 if x != nil { 475 return x.Options 476 } 477 return nil 478} 479 480func (x *Field) GetJsonName() string { 481 if x != nil { 482 return x.JsonName 483 } 484 return "" 485} 486 487func (x *Field) GetDefaultValue() string { 488 if x != nil { 489 return x.DefaultValue 490 } 491 return "" 492} 493 494// Enum type definition. 495type Enum struct { 496 state protoimpl.MessageState 497 sizeCache protoimpl.SizeCache 498 unknownFields protoimpl.UnknownFields 499 500 // Enum type name. 501 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 502 // Enum value definitions. 503 Enumvalue []*EnumValue `protobuf:"bytes,2,rep,name=enumvalue,proto3" json:"enumvalue,omitempty"` 504 // Protocol buffer options. 505 Options []*Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` 506 // The source context. 507 SourceContext *sourcecontextpb.SourceContext `protobuf:"bytes,4,opt,name=source_context,json=sourceContext,proto3" json:"source_context,omitempty"` 508 // The source syntax. 509 Syntax Syntax `protobuf:"varint,5,opt,name=syntax,proto3,enum=google.protobuf.Syntax" json:"syntax,omitempty"` 510} 511 512func (x *Enum) Reset() { 513 *x = Enum{} 514 if protoimpl.UnsafeEnabled { 515 mi := &file_google_protobuf_type_proto_msgTypes[2] 516 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 517 ms.StoreMessageInfo(mi) 518 } 519} 520 521func (x *Enum) String() string { 522 return protoimpl.X.MessageStringOf(x) 523} 524 525func (*Enum) ProtoMessage() {} 526 527func (x *Enum) ProtoReflect() protoreflect.Message { 528 mi := &file_google_protobuf_type_proto_msgTypes[2] 529 if protoimpl.UnsafeEnabled && x != nil { 530 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 531 if ms.LoadMessageInfo() == nil { 532 ms.StoreMessageInfo(mi) 533 } 534 return ms 535 } 536 return mi.MessageOf(x) 537} 538 539// Deprecated: Use Enum.ProtoReflect.Descriptor instead. 540func (*Enum) Descriptor() ([]byte, []int) { 541 return file_google_protobuf_type_proto_rawDescGZIP(), []int{2} 542} 543 544func (x *Enum) GetName() string { 545 if x != nil { 546 return x.Name 547 } 548 return "" 549} 550 551func (x *Enum) GetEnumvalue() []*EnumValue { 552 if x != nil { 553 return x.Enumvalue 554 } 555 return nil 556} 557 558func (x *Enum) GetOptions() []*Option { 559 if x != nil { 560 return x.Options 561 } 562 return nil 563} 564 565func (x *Enum) GetSourceContext() *sourcecontextpb.SourceContext { 566 if x != nil { 567 return x.SourceContext 568 } 569 return nil 570} 571 572func (x *Enum) GetSyntax() Syntax { 573 if x != nil { 574 return x.Syntax 575 } 576 return Syntax_SYNTAX_PROTO2 577} 578 579// Enum value definition. 580type EnumValue struct { 581 state protoimpl.MessageState 582 sizeCache protoimpl.SizeCache 583 unknownFields protoimpl.UnknownFields 584 585 // Enum value name. 586 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 587 // Enum value number. 588 Number int32 `protobuf:"varint,2,opt,name=number,proto3" json:"number,omitempty"` 589 // Protocol buffer options. 590 Options []*Option `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"` 591} 592 593func (x *EnumValue) Reset() { 594 *x = EnumValue{} 595 if protoimpl.UnsafeEnabled { 596 mi := &file_google_protobuf_type_proto_msgTypes[3] 597 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 598 ms.StoreMessageInfo(mi) 599 } 600} 601 602func (x *EnumValue) String() string { 603 return protoimpl.X.MessageStringOf(x) 604} 605 606func (*EnumValue) ProtoMessage() {} 607 608func (x *EnumValue) ProtoReflect() protoreflect.Message { 609 mi := &file_google_protobuf_type_proto_msgTypes[3] 610 if protoimpl.UnsafeEnabled && x != nil { 611 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 612 if ms.LoadMessageInfo() == nil { 613 ms.StoreMessageInfo(mi) 614 } 615 return ms 616 } 617 return mi.MessageOf(x) 618} 619 620// Deprecated: Use EnumValue.ProtoReflect.Descriptor instead. 621func (*EnumValue) Descriptor() ([]byte, []int) { 622 return file_google_protobuf_type_proto_rawDescGZIP(), []int{3} 623} 624 625func (x *EnumValue) GetName() string { 626 if x != nil { 627 return x.Name 628 } 629 return "" 630} 631 632func (x *EnumValue) GetNumber() int32 { 633 if x != nil { 634 return x.Number 635 } 636 return 0 637} 638 639func (x *EnumValue) GetOptions() []*Option { 640 if x != nil { 641 return x.Options 642 } 643 return nil 644} 645 646// A protocol buffer option, which can be attached to a message, field, 647// enumeration, etc. 648type Option struct { 649 state protoimpl.MessageState 650 sizeCache protoimpl.SizeCache 651 unknownFields protoimpl.UnknownFields 652 653 // The option's name. For protobuf built-in options (options defined in 654 // descriptor.proto), this is the short name. For example, `"map_entry"`. 655 // For custom options, it should be the fully-qualified name. For example, 656 // `"google.api.http"`. 657 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 658 // The option's value packed in an Any message. If the value is a primitive, 659 // the corresponding wrapper type defined in google/protobuf/wrappers.proto 660 // should be used. If the value is an enum, it should be stored as an int32 661 // value using the google.protobuf.Int32Value type. 662 Value *anypb.Any `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` 663} 664 665func (x *Option) Reset() { 666 *x = Option{} 667 if protoimpl.UnsafeEnabled { 668 mi := &file_google_protobuf_type_proto_msgTypes[4] 669 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 670 ms.StoreMessageInfo(mi) 671 } 672} 673 674func (x *Option) String() string { 675 return protoimpl.X.MessageStringOf(x) 676} 677 678func (*Option) ProtoMessage() {} 679 680func (x *Option) ProtoReflect() protoreflect.Message { 681 mi := &file_google_protobuf_type_proto_msgTypes[4] 682 if protoimpl.UnsafeEnabled && x != nil { 683 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 684 if ms.LoadMessageInfo() == nil { 685 ms.StoreMessageInfo(mi) 686 } 687 return ms 688 } 689 return mi.MessageOf(x) 690} 691 692// Deprecated: Use Option.ProtoReflect.Descriptor instead. 693func (*Option) Descriptor() ([]byte, []int) { 694 return file_google_protobuf_type_proto_rawDescGZIP(), []int{4} 695} 696 697func (x *Option) GetName() string { 698 if x != nil { 699 return x.Name 700 } 701 return "" 702} 703 704func (x *Option) GetValue() *anypb.Any { 705 if x != nil { 706 return x.Value 707 } 708 return nil 709} 710 711var File_google_protobuf_type_proto protoreflect.FileDescriptor 712 713var file_google_protobuf_type_proto_rawDesc = []byte{ 714 0x0a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 715 0x66, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x67, 0x6f, 716 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x1a, 0x19, 0x67, 717 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 718 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 719 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 720 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8d, 721 0x02, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 722 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x06, 0x66, 723 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 724 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 725 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6f, 726 0x6e, 0x65, 0x6f, 0x66, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x6e, 0x65, 727 0x6f, 0x66, 0x73, 0x12, 0x31, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x04, 728 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 729 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 730 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x45, 0x0a, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 731 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 732 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 733 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0d, 734 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x2f, 0x0a, 735 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 736 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 737 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x52, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x22, 0xb4, 738 0x06, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x2f, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 739 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 740 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x4b, 741 0x69, 0x6e, 0x64, 0x52, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x12, 0x44, 0x0a, 0x0b, 0x63, 0x61, 0x72, 742 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 743 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 744 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x69, 745 0x74, 0x79, 0x52, 0x0b, 0x63, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 746 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 747 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 748 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 749 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 750 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x1f, 0x0a, 0x0b, 0x6f, 0x6e, 0x65, 0x6f, 0x66, 0x5f, 751 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x07, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0a, 0x6f, 0x6e, 0x65, 752 0x6f, 0x66, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 753 0x64, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x61, 0x63, 0x6b, 0x65, 0x64, 0x12, 754 0x31, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 755 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 756 0x75, 0x66, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 757 0x6e, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 758 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 759 0x23, 0x0a, 0x0d, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 760 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 761 0x61, 0x6c, 0x75, 0x65, 0x22, 0xc8, 0x02, 0x0a, 0x04, 0x4b, 0x69, 0x6e, 0x64, 0x12, 0x10, 0x0a, 762 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 763 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x01, 764 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x4c, 0x4f, 0x41, 0x54, 0x10, 0x02, 765 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x03, 766 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 767 0x04, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 768 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x58, 0x45, 0x44, 0x36, 769 0x34, 0x10, 0x06, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x46, 0x49, 0x58, 0x45, 770 0x44, 0x33, 0x32, 0x10, 0x07, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x4f, 771 0x4f, 0x4c, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x54, 0x52, 772 0x49, 0x4e, 0x47, 0x10, 0x09, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x47, 0x52, 773 0x4f, 0x55, 0x50, 0x10, 0x0a, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4d, 0x45, 774 0x53, 0x53, 0x41, 0x47, 0x45, 0x10, 0x0b, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 775 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x0c, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 776 0x55, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x0d, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x59, 0x50, 0x45, 777 0x5f, 0x45, 0x4e, 0x55, 0x4d, 0x10, 0x0e, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 0x50, 0x45, 0x5f, 778 0x53, 0x46, 0x49, 0x58, 0x45, 0x44, 0x33, 0x32, 0x10, 0x0f, 0x12, 0x11, 0x0a, 0x0d, 0x54, 0x59, 779 0x50, 0x45, 0x5f, 0x53, 0x46, 0x49, 0x58, 0x45, 0x44, 0x36, 0x34, 0x10, 0x10, 0x12, 0x0f, 0x0a, 780 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, 0x54, 0x33, 0x32, 0x10, 0x11, 0x12, 0x0f, 781 0x0a, 0x0b, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x12, 0x22, 782 0x74, 0x0a, 0x0b, 0x43, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x17, 783 0x0a, 0x13, 0x43, 0x41, 0x52, 0x44, 0x49, 0x4e, 0x41, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 784 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x41, 0x52, 0x44, 0x49, 785 0x4e, 0x41, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x4f, 0x50, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 786 0x01, 0x12, 0x18, 0x0a, 0x14, 0x43, 0x41, 0x52, 0x44, 0x49, 0x4e, 0x41, 0x4c, 0x49, 0x54, 0x59, 787 0x5f, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x43, 788 0x41, 0x52, 0x44, 0x49, 0x4e, 0x41, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x52, 0x45, 0x50, 0x45, 0x41, 789 0x54, 0x45, 0x44, 0x10, 0x03, 0x22, 0xff, 0x01, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12, 0x12, 790 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 791 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 792 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 793 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6e, 0x75, 0x6d, 0x56, 0x61, 0x6c, 0x75, 794 0x65, 0x52, 0x09, 0x65, 0x6e, 0x75, 0x6d, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x31, 0x0a, 0x07, 795 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 796 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 797 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 798 0x45, 0x0a, 0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 799 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 800 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 801 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x52, 0x0d, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 802 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x12, 0x2f, 0x0a, 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 803 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 804 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x52, 805 0x06, 0x73, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x22, 0x6a, 0x0a, 0x09, 0x45, 0x6e, 0x75, 0x6d, 0x56, 806 0x61, 0x6c, 0x75, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 807 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 808 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 809 0x12, 0x31, 0x0a, 0x07, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 810 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 811 0x62, 0x75, 0x66, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x6f, 0x70, 0x74, 0x69, 812 0x6f, 0x6e, 0x73, 0x22, 0x48, 0x0a, 0x06, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 813 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 814 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 815 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 816 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x2a, 0x2e, 0x0a, 817 0x06, 0x53, 0x79, 0x6e, 0x74, 0x61, 0x78, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x59, 0x4e, 0x54, 0x41, 818 0x58, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x32, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x53, 0x59, 819 0x4e, 0x54, 0x41, 0x58, 0x5f, 0x50, 0x52, 0x4f, 0x54, 0x4f, 0x33, 0x10, 0x01, 0x42, 0x7b, 0x0a, 820 0x13, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 821 0x6f, 0x62, 0x75, 0x66, 0x42, 0x09, 0x54, 0x79, 0x70, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 822 0x01, 0x5a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 823 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x79, 824 0x70, 0x65, 0x73, 0x2f, 0x6b, 0x6e, 0x6f, 0x77, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x70, 0x62, 825 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x03, 0x47, 0x50, 0x42, 0xaa, 0x02, 0x1e, 0x47, 0x6f, 0x6f, 0x67, 826 0x6c, 0x65, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x57, 0x65, 0x6c, 0x6c, 827 0x4b, 0x6e, 0x6f, 0x77, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 828 0x6f, 0x33, 829} 830 831var ( 832 file_google_protobuf_type_proto_rawDescOnce sync.Once 833 file_google_protobuf_type_proto_rawDescData = file_google_protobuf_type_proto_rawDesc 834) 835 836func file_google_protobuf_type_proto_rawDescGZIP() []byte { 837 file_google_protobuf_type_proto_rawDescOnce.Do(func() { 838 file_google_protobuf_type_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_protobuf_type_proto_rawDescData) 839 }) 840 return file_google_protobuf_type_proto_rawDescData 841} 842 843var file_google_protobuf_type_proto_enumTypes = make([]protoimpl.EnumInfo, 3) 844var file_google_protobuf_type_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 845var file_google_protobuf_type_proto_goTypes = []interface{}{ 846 (Syntax)(0), // 0: google.protobuf.Syntax 847 (Field_Kind)(0), // 1: google.protobuf.Field.Kind 848 (Field_Cardinality)(0), // 2: google.protobuf.Field.Cardinality 849 (*Type)(nil), // 3: google.protobuf.Type 850 (*Field)(nil), // 4: google.protobuf.Field 851 (*Enum)(nil), // 5: google.protobuf.Enum 852 (*EnumValue)(nil), // 6: google.protobuf.EnumValue 853 (*Option)(nil), // 7: google.protobuf.Option 854 (*sourcecontextpb.SourceContext)(nil), // 8: google.protobuf.SourceContext 855 (*anypb.Any)(nil), // 9: google.protobuf.Any 856} 857var file_google_protobuf_type_proto_depIdxs = []int32{ 858 4, // 0: google.protobuf.Type.fields:type_name -> google.protobuf.Field 859 7, // 1: google.protobuf.Type.options:type_name -> google.protobuf.Option 860 8, // 2: google.protobuf.Type.source_context:type_name -> google.protobuf.SourceContext 861 0, // 3: google.protobuf.Type.syntax:type_name -> google.protobuf.Syntax 862 1, // 4: google.protobuf.Field.kind:type_name -> google.protobuf.Field.Kind 863 2, // 5: google.protobuf.Field.cardinality:type_name -> google.protobuf.Field.Cardinality 864 7, // 6: google.protobuf.Field.options:type_name -> google.protobuf.Option 865 6, // 7: google.protobuf.Enum.enumvalue:type_name -> google.protobuf.EnumValue 866 7, // 8: google.protobuf.Enum.options:type_name -> google.protobuf.Option 867 8, // 9: google.protobuf.Enum.source_context:type_name -> google.protobuf.SourceContext 868 0, // 10: google.protobuf.Enum.syntax:type_name -> google.protobuf.Syntax 869 7, // 11: google.protobuf.EnumValue.options:type_name -> google.protobuf.Option 870 9, // 12: google.protobuf.Option.value:type_name -> google.protobuf.Any 871 13, // [13:13] is the sub-list for method output_type 872 13, // [13:13] is the sub-list for method input_type 873 13, // [13:13] is the sub-list for extension type_name 874 13, // [13:13] is the sub-list for extension extendee 875 0, // [0:13] is the sub-list for field type_name 876} 877 878func init() { file_google_protobuf_type_proto_init() } 879func file_google_protobuf_type_proto_init() { 880 if File_google_protobuf_type_proto != nil { 881 return 882 } 883 if !protoimpl.UnsafeEnabled { 884 file_google_protobuf_type_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 885 switch v := v.(*Type); i { 886 case 0: 887 return &v.state 888 case 1: 889 return &v.sizeCache 890 case 2: 891 return &v.unknownFields 892 default: 893 return nil 894 } 895 } 896 file_google_protobuf_type_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 897 switch v := v.(*Field); i { 898 case 0: 899 return &v.state 900 case 1: 901 return &v.sizeCache 902 case 2: 903 return &v.unknownFields 904 default: 905 return nil 906 } 907 } 908 file_google_protobuf_type_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 909 switch v := v.(*Enum); i { 910 case 0: 911 return &v.state 912 case 1: 913 return &v.sizeCache 914 case 2: 915 return &v.unknownFields 916 default: 917 return nil 918 } 919 } 920 file_google_protobuf_type_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 921 switch v := v.(*EnumValue); i { 922 case 0: 923 return &v.state 924 case 1: 925 return &v.sizeCache 926 case 2: 927 return &v.unknownFields 928 default: 929 return nil 930 } 931 } 932 file_google_protobuf_type_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 933 switch v := v.(*Option); i { 934 case 0: 935 return &v.state 936 case 1: 937 return &v.sizeCache 938 case 2: 939 return &v.unknownFields 940 default: 941 return nil 942 } 943 } 944 } 945 type x struct{} 946 out := protoimpl.TypeBuilder{ 947 File: protoimpl.DescBuilder{ 948 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 949 RawDescriptor: file_google_protobuf_type_proto_rawDesc, 950 NumEnums: 3, 951 NumMessages: 5, 952 NumExtensions: 0, 953 NumServices: 0, 954 }, 955 GoTypes: file_google_protobuf_type_proto_goTypes, 956 DependencyIndexes: file_google_protobuf_type_proto_depIdxs, 957 EnumInfos: file_google_protobuf_type_proto_enumTypes, 958 MessageInfos: file_google_protobuf_type_proto_msgTypes, 959 }.Build() 960 File_google_protobuf_type_proto = out.File 961 file_google_protobuf_type_proto_rawDesc = nil 962 file_google_protobuf_type_proto_goTypes = nil 963 file_google_protobuf_type_proto_depIdxs = nil 964} 965