github.com/resonatecoop/user-api@v1.0.0-13.0.20220915120639-05dc9c04014a/proto/protoc-gen-openapiv2/options/openapiv2.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0-devel 4 // protoc v3.13.0 5 // source: protoc-gen-openapiv2/options/openapiv2.proto 6 7 package options 8 9 import ( 10 _struct "github.com/golang/protobuf/ptypes/struct" 11 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 12 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 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 // Scheme describes the schemes supported by the OpenAPI Swagger 25 // and Operation objects. 26 type Scheme int32 27 28 const ( 29 Scheme_UNKNOWN Scheme = 0 30 Scheme_HTTP Scheme = 1 31 Scheme_HTTPS Scheme = 2 32 Scheme_WS Scheme = 3 33 Scheme_WSS Scheme = 4 34 ) 35 36 // Enum value maps for Scheme. 37 var ( 38 Scheme_name = map[int32]string{ 39 0: "UNKNOWN", 40 1: "HTTP", 41 2: "HTTPS", 42 3: "WS", 43 4: "WSS", 44 } 45 Scheme_value = map[string]int32{ 46 "UNKNOWN": 0, 47 "HTTP": 1, 48 "HTTPS": 2, 49 "WS": 3, 50 "WSS": 4, 51 } 52 ) 53 54 func (x Scheme) Enum() *Scheme { 55 p := new(Scheme) 56 *p = x 57 return p 58 } 59 60 func (x Scheme) String() string { 61 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 62 } 63 64 func (Scheme) Descriptor() protoreflect.EnumDescriptor { 65 return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[0].Descriptor() 66 } 67 68 func (Scheme) Type() protoreflect.EnumType { 69 return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[0] 70 } 71 72 func (x Scheme) Number() protoreflect.EnumNumber { 73 return protoreflect.EnumNumber(x) 74 } 75 76 // Deprecated: Use Scheme.Descriptor instead. 77 func (Scheme) EnumDescriptor() ([]byte, []int) { 78 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{0} 79 } 80 81 type JSONSchema_JSONSchemaSimpleTypes int32 82 83 const ( 84 JSONSchema_UNKNOWN JSONSchema_JSONSchemaSimpleTypes = 0 85 JSONSchema_ARRAY JSONSchema_JSONSchemaSimpleTypes = 1 86 JSONSchema_BOOLEAN JSONSchema_JSONSchemaSimpleTypes = 2 87 JSONSchema_INTEGER JSONSchema_JSONSchemaSimpleTypes = 3 88 JSONSchema_NULL JSONSchema_JSONSchemaSimpleTypes = 4 89 JSONSchema_NUMBER JSONSchema_JSONSchemaSimpleTypes = 5 90 JSONSchema_OBJECT JSONSchema_JSONSchemaSimpleTypes = 6 91 JSONSchema_STRING JSONSchema_JSONSchemaSimpleTypes = 7 92 ) 93 94 // Enum value maps for JSONSchema_JSONSchemaSimpleTypes. 95 var ( 96 JSONSchema_JSONSchemaSimpleTypes_name = map[int32]string{ 97 0: "UNKNOWN", 98 1: "ARRAY", 99 2: "BOOLEAN", 100 3: "INTEGER", 101 4: "NULL", 102 5: "NUMBER", 103 6: "OBJECT", 104 7: "STRING", 105 } 106 JSONSchema_JSONSchemaSimpleTypes_value = map[string]int32{ 107 "UNKNOWN": 0, 108 "ARRAY": 1, 109 "BOOLEAN": 2, 110 "INTEGER": 3, 111 "NULL": 4, 112 "NUMBER": 5, 113 "OBJECT": 6, 114 "STRING": 7, 115 } 116 ) 117 118 func (x JSONSchema_JSONSchemaSimpleTypes) Enum() *JSONSchema_JSONSchemaSimpleTypes { 119 p := new(JSONSchema_JSONSchemaSimpleTypes) 120 *p = x 121 return p 122 } 123 124 func (x JSONSchema_JSONSchemaSimpleTypes) String() string { 125 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 126 } 127 128 func (JSONSchema_JSONSchemaSimpleTypes) Descriptor() protoreflect.EnumDescriptor { 129 return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[1].Descriptor() 130 } 131 132 func (JSONSchema_JSONSchemaSimpleTypes) Type() protoreflect.EnumType { 133 return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[1] 134 } 135 136 func (x JSONSchema_JSONSchemaSimpleTypes) Number() protoreflect.EnumNumber { 137 return protoreflect.EnumNumber(x) 138 } 139 140 // Deprecated: Use JSONSchema_JSONSchemaSimpleTypes.Descriptor instead. 141 func (JSONSchema_JSONSchemaSimpleTypes) EnumDescriptor() ([]byte, []int) { 142 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{8, 0} 143 } 144 145 // The type of the security scheme. Valid values are "basic", 146 // "apiKey" or "oauth2". 147 type SecurityScheme_Type int32 148 149 const ( 150 SecurityScheme_TYPE_INVALID SecurityScheme_Type = 0 151 SecurityScheme_TYPE_BASIC SecurityScheme_Type = 1 152 SecurityScheme_TYPE_API_KEY SecurityScheme_Type = 2 153 SecurityScheme_TYPE_OAUTH2 SecurityScheme_Type = 3 154 ) 155 156 // Enum value maps for SecurityScheme_Type. 157 var ( 158 SecurityScheme_Type_name = map[int32]string{ 159 0: "TYPE_INVALID", 160 1: "TYPE_BASIC", 161 2: "TYPE_API_KEY", 162 3: "TYPE_OAUTH2", 163 } 164 SecurityScheme_Type_value = map[string]int32{ 165 "TYPE_INVALID": 0, 166 "TYPE_BASIC": 1, 167 "TYPE_API_KEY": 2, 168 "TYPE_OAUTH2": 3, 169 } 170 ) 171 172 func (x SecurityScheme_Type) Enum() *SecurityScheme_Type { 173 p := new(SecurityScheme_Type) 174 *p = x 175 return p 176 } 177 178 func (x SecurityScheme_Type) String() string { 179 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 180 } 181 182 func (SecurityScheme_Type) Descriptor() protoreflect.EnumDescriptor { 183 return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[2].Descriptor() 184 } 185 186 func (SecurityScheme_Type) Type() protoreflect.EnumType { 187 return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[2] 188 } 189 190 func (x SecurityScheme_Type) Number() protoreflect.EnumNumber { 191 return protoreflect.EnumNumber(x) 192 } 193 194 // Deprecated: Use SecurityScheme_Type.Descriptor instead. 195 func (SecurityScheme_Type) EnumDescriptor() ([]byte, []int) { 196 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{11, 0} 197 } 198 199 // The location of the API key. Valid values are "query" or "header". 200 type SecurityScheme_In int32 201 202 const ( 203 SecurityScheme_IN_INVALID SecurityScheme_In = 0 204 SecurityScheme_IN_QUERY SecurityScheme_In = 1 205 SecurityScheme_IN_HEADER SecurityScheme_In = 2 206 ) 207 208 // Enum value maps for SecurityScheme_In. 209 var ( 210 SecurityScheme_In_name = map[int32]string{ 211 0: "IN_INVALID", 212 1: "IN_QUERY", 213 2: "IN_HEADER", 214 } 215 SecurityScheme_In_value = map[string]int32{ 216 "IN_INVALID": 0, 217 "IN_QUERY": 1, 218 "IN_HEADER": 2, 219 } 220 ) 221 222 func (x SecurityScheme_In) Enum() *SecurityScheme_In { 223 p := new(SecurityScheme_In) 224 *p = x 225 return p 226 } 227 228 func (x SecurityScheme_In) String() string { 229 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 230 } 231 232 func (SecurityScheme_In) Descriptor() protoreflect.EnumDescriptor { 233 return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[3].Descriptor() 234 } 235 236 func (SecurityScheme_In) Type() protoreflect.EnumType { 237 return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[3] 238 } 239 240 func (x SecurityScheme_In) Number() protoreflect.EnumNumber { 241 return protoreflect.EnumNumber(x) 242 } 243 244 // Deprecated: Use SecurityScheme_In.Descriptor instead. 245 func (SecurityScheme_In) EnumDescriptor() ([]byte, []int) { 246 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{11, 1} 247 } 248 249 // The flow used by the OAuth2 security scheme. Valid values are 250 // "implicit", "password", "application" or "accessCode". 251 type SecurityScheme_Flow int32 252 253 const ( 254 SecurityScheme_FLOW_INVALID SecurityScheme_Flow = 0 255 SecurityScheme_FLOW_IMPLICIT SecurityScheme_Flow = 1 256 SecurityScheme_FLOW_PASSWORD SecurityScheme_Flow = 2 257 SecurityScheme_FLOW_APPLICATION SecurityScheme_Flow = 3 258 SecurityScheme_FLOW_ACCESS_CODE SecurityScheme_Flow = 4 259 ) 260 261 // Enum value maps for SecurityScheme_Flow. 262 var ( 263 SecurityScheme_Flow_name = map[int32]string{ 264 0: "FLOW_INVALID", 265 1: "FLOW_IMPLICIT", 266 2: "FLOW_PASSWORD", 267 3: "FLOW_APPLICATION", 268 4: "FLOW_ACCESS_CODE", 269 } 270 SecurityScheme_Flow_value = map[string]int32{ 271 "FLOW_INVALID": 0, 272 "FLOW_IMPLICIT": 1, 273 "FLOW_PASSWORD": 2, 274 "FLOW_APPLICATION": 3, 275 "FLOW_ACCESS_CODE": 4, 276 } 277 ) 278 279 func (x SecurityScheme_Flow) Enum() *SecurityScheme_Flow { 280 p := new(SecurityScheme_Flow) 281 *p = x 282 return p 283 } 284 285 func (x SecurityScheme_Flow) String() string { 286 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 287 } 288 289 func (SecurityScheme_Flow) Descriptor() protoreflect.EnumDescriptor { 290 return file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[4].Descriptor() 291 } 292 293 func (SecurityScheme_Flow) Type() protoreflect.EnumType { 294 return &file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes[4] 295 } 296 297 func (x SecurityScheme_Flow) Number() protoreflect.EnumNumber { 298 return protoreflect.EnumNumber(x) 299 } 300 301 // Deprecated: Use SecurityScheme_Flow.Descriptor instead. 302 func (SecurityScheme_Flow) EnumDescriptor() ([]byte, []int) { 303 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{11, 2} 304 } 305 306 // `Swagger` is a representation of OpenAPI v2 specification's Swagger object. 307 // 308 // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#swaggerObject 309 // 310 // Example: 311 // 312 // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { 313 // info: { 314 // title: "Echo API"; 315 // version: "1.0"; 316 // description: "; 317 // contact: { 318 // name: "gRPC-Gateway project"; 319 // url: "https://github.com/grpc-ecosystem/grpc-gateway"; 320 // email: "none@example.com"; 321 // }; 322 // license: { 323 // name: "BSD 3-Clause License"; 324 // url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt"; 325 // }; 326 // }; 327 // schemes: HTTPS; 328 // consumes: "application/json"; 329 // produces: "application/json"; 330 // }; 331 // 332 type Swagger struct { 333 state protoimpl.MessageState 334 sizeCache protoimpl.SizeCache 335 unknownFields protoimpl.UnknownFields 336 337 // Specifies the OpenAPI Specification version being used. It can be 338 // used by the OpenAPI UI and other clients to interpret the API listing. The 339 // value MUST be "2.0". 340 Swagger string `protobuf:"bytes,1,opt,name=swagger,proto3" json:"swagger,omitempty"` 341 // Provides metadata about the API. The metadata can be used by the 342 // clients if needed. 343 Info *Info `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` 344 // The host (name or ip) serving the API. This MUST be the host only and does 345 // not include the scheme nor sub-paths. It MAY include a port. If the host is 346 // not included, the host serving the documentation is to be used (including 347 // the port). The host does not support path templating. 348 Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` 349 // The base path on which the API is served, which is relative to the host. If 350 // it is not included, the API is served directly under the host. The value 351 // MUST start with a leading slash (/). The basePath does not support path 352 // templating. 353 // Note that using `base_path` does not change the endpoint paths that are 354 // generated in the resulting OpenAPI file. If you wish to use `base_path` 355 // with relatively generated OpenAPI paths, the `base_path` prefix must be 356 // manually removed from your `google.api.http` paths and your code changed to 357 // serve the API from the `base_path`. 358 BasePath string `protobuf:"bytes,4,opt,name=base_path,json=basePath,proto3" json:"base_path,omitempty"` 359 // The transfer protocol of the API. Values MUST be from the list: "http", 360 // "https", "ws", "wss". If the schemes is not included, the default scheme to 361 // be used is the one used to access the OpenAPI definition itself. 362 Schemes []Scheme `protobuf:"varint,5,rep,packed,name=schemes,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.Scheme" json:"schemes,omitempty"` 363 // A list of MIME types the APIs can consume. This is global to all APIs but 364 // can be overridden on specific API calls. Value MUST be as described under 365 // Mime Types. 366 Consumes []string `protobuf:"bytes,6,rep,name=consumes,proto3" json:"consumes,omitempty"` 367 // A list of MIME types the APIs can produce. This is global to all APIs but 368 // can be overridden on specific API calls. Value MUST be as described under 369 // Mime Types. 370 Produces []string `protobuf:"bytes,7,rep,name=produces,proto3" json:"produces,omitempty"` 371 // An object to hold responses that can be used across operations. This 372 // property does not define global responses for all operations. 373 Responses map[string]*Response `protobuf:"bytes,10,rep,name=responses,proto3" json:"responses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 374 // Security scheme definitions that can be used across the specification. 375 SecurityDefinitions *SecurityDefinitions `protobuf:"bytes,11,opt,name=security_definitions,json=securityDefinitions,proto3" json:"security_definitions,omitempty"` 376 // A declaration of which security schemes are applied for the API as a whole. 377 // The list of values describes alternative security schemes that can be used 378 // (that is, there is a logical OR between the security requirements). 379 // Individual operations can override this definition. 380 Security []*SecurityRequirement `protobuf:"bytes,12,rep,name=security,proto3" json:"security,omitempty"` 381 // Additional external documentation. 382 ExternalDocs *ExternalDocumentation `protobuf:"bytes,14,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` 383 Extensions map[string]*_struct.Value `protobuf:"bytes,15,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 384 } 385 386 func (x *Swagger) Reset() { 387 *x = Swagger{} 388 if protoimpl.UnsafeEnabled { 389 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[0] 390 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 391 ms.StoreMessageInfo(mi) 392 } 393 } 394 395 func (x *Swagger) String() string { 396 return protoimpl.X.MessageStringOf(x) 397 } 398 399 func (*Swagger) ProtoMessage() {} 400 401 func (x *Swagger) ProtoReflect() protoreflect.Message { 402 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[0] 403 if protoimpl.UnsafeEnabled && x != nil { 404 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 405 if ms.LoadMessageInfo() == nil { 406 ms.StoreMessageInfo(mi) 407 } 408 return ms 409 } 410 return mi.MessageOf(x) 411 } 412 413 // Deprecated: Use Swagger.ProtoReflect.Descriptor instead. 414 func (*Swagger) Descriptor() ([]byte, []int) { 415 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{0} 416 } 417 418 func (x *Swagger) GetSwagger() string { 419 if x != nil { 420 return x.Swagger 421 } 422 return "" 423 } 424 425 func (x *Swagger) GetInfo() *Info { 426 if x != nil { 427 return x.Info 428 } 429 return nil 430 } 431 432 func (x *Swagger) GetHost() string { 433 if x != nil { 434 return x.Host 435 } 436 return "" 437 } 438 439 func (x *Swagger) GetBasePath() string { 440 if x != nil { 441 return x.BasePath 442 } 443 return "" 444 } 445 446 func (x *Swagger) GetSchemes() []Scheme { 447 if x != nil { 448 return x.Schemes 449 } 450 return nil 451 } 452 453 func (x *Swagger) GetConsumes() []string { 454 if x != nil { 455 return x.Consumes 456 } 457 return nil 458 } 459 460 func (x *Swagger) GetProduces() []string { 461 if x != nil { 462 return x.Produces 463 } 464 return nil 465 } 466 467 func (x *Swagger) GetResponses() map[string]*Response { 468 if x != nil { 469 return x.Responses 470 } 471 return nil 472 } 473 474 func (x *Swagger) GetSecurityDefinitions() *SecurityDefinitions { 475 if x != nil { 476 return x.SecurityDefinitions 477 } 478 return nil 479 } 480 481 func (x *Swagger) GetSecurity() []*SecurityRequirement { 482 if x != nil { 483 return x.Security 484 } 485 return nil 486 } 487 488 func (x *Swagger) GetExternalDocs() *ExternalDocumentation { 489 if x != nil { 490 return x.ExternalDocs 491 } 492 return nil 493 } 494 495 func (x *Swagger) GetExtensions() map[string]*_struct.Value { 496 if x != nil { 497 return x.Extensions 498 } 499 return nil 500 } 501 502 // `Operation` is a representation of OpenAPI v2 specification's Operation object. 503 // 504 // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#operationObject 505 // 506 // Example: 507 // 508 // service EchoService { 509 // rpc Echo(SimpleMessage) returns (SimpleMessage) { 510 // option (google.api.http) = { 511 // get: "/v1/example/echo/{id}" 512 // }; 513 // 514 // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_operation) = { 515 // summary: "Get a message."; 516 // operation_id: "getMessage"; 517 // tags: "echo"; 518 // responses: { 519 // key: "200" 520 // value: { 521 // description: "OK"; 522 // } 523 // } 524 // }; 525 // } 526 // } 527 type Operation struct { 528 state protoimpl.MessageState 529 sizeCache protoimpl.SizeCache 530 unknownFields protoimpl.UnknownFields 531 532 // A list of tags for API documentation control. Tags can be used for logical 533 // grouping of operations by resources or any other qualifier. 534 Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` 535 // A short summary of what the operation does. For maximum readability in the 536 // swagger-ui, this field SHOULD be less than 120 characters. 537 Summary string `protobuf:"bytes,2,opt,name=summary,proto3" json:"summary,omitempty"` 538 // A verbose explanation of the operation behavior. GFM syntax can be used for 539 // rich text representation. 540 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` 541 // Additional external documentation for this operation. 542 ExternalDocs *ExternalDocumentation `protobuf:"bytes,4,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` 543 // Unique string used to identify the operation. The id MUST be unique among 544 // all operations described in the API. Tools and libraries MAY use the 545 // operationId to uniquely identify an operation, therefore, it is recommended 546 // to follow common programming naming conventions. 547 OperationId string `protobuf:"bytes,5,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"` 548 // A list of MIME types the operation can consume. This overrides the consumes 549 // definition at the OpenAPI Object. An empty value MAY be used to clear the 550 // global definition. Value MUST be as described under Mime Types. 551 Consumes []string `protobuf:"bytes,6,rep,name=consumes,proto3" json:"consumes,omitempty"` 552 // A list of MIME types the operation can produce. This overrides the produces 553 // definition at the OpenAPI Object. An empty value MAY be used to clear the 554 // global definition. Value MUST be as described under Mime Types. 555 Produces []string `protobuf:"bytes,7,rep,name=produces,proto3" json:"produces,omitempty"` 556 // The list of possible responses as they are returned from executing this 557 // operation. 558 Responses map[string]*Response `protobuf:"bytes,9,rep,name=responses,proto3" json:"responses,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 559 // The transfer protocol for the operation. Values MUST be from the list: 560 // "http", "https", "ws", "wss". The value overrides the OpenAPI Object 561 // schemes definition. 562 Schemes []Scheme `protobuf:"varint,10,rep,packed,name=schemes,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.Scheme" json:"schemes,omitempty"` 563 // Declares this operation to be deprecated. Usage of the declared operation 564 // should be refrained. Default value is false. 565 Deprecated bool `protobuf:"varint,11,opt,name=deprecated,proto3" json:"deprecated,omitempty"` 566 // A declaration of which security schemes are applied for this operation. The 567 // list of values describes alternative security schemes that can be used 568 // (that is, there is a logical OR between the security requirements). This 569 // definition overrides any declared top-level security. To remove a top-level 570 // security declaration, an empty array can be used. 571 Security []*SecurityRequirement `protobuf:"bytes,12,rep,name=security,proto3" json:"security,omitempty"` 572 Extensions map[string]*_struct.Value `protobuf:"bytes,13,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 573 } 574 575 func (x *Operation) Reset() { 576 *x = Operation{} 577 if protoimpl.UnsafeEnabled { 578 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[1] 579 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 580 ms.StoreMessageInfo(mi) 581 } 582 } 583 584 func (x *Operation) String() string { 585 return protoimpl.X.MessageStringOf(x) 586 } 587 588 func (*Operation) ProtoMessage() {} 589 590 func (x *Operation) ProtoReflect() protoreflect.Message { 591 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[1] 592 if protoimpl.UnsafeEnabled && x != nil { 593 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 594 if ms.LoadMessageInfo() == nil { 595 ms.StoreMessageInfo(mi) 596 } 597 return ms 598 } 599 return mi.MessageOf(x) 600 } 601 602 // Deprecated: Use Operation.ProtoReflect.Descriptor instead. 603 func (*Operation) Descriptor() ([]byte, []int) { 604 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{1} 605 } 606 607 func (x *Operation) GetTags() []string { 608 if x != nil { 609 return x.Tags 610 } 611 return nil 612 } 613 614 func (x *Operation) GetSummary() string { 615 if x != nil { 616 return x.Summary 617 } 618 return "" 619 } 620 621 func (x *Operation) GetDescription() string { 622 if x != nil { 623 return x.Description 624 } 625 return "" 626 } 627 628 func (x *Operation) GetExternalDocs() *ExternalDocumentation { 629 if x != nil { 630 return x.ExternalDocs 631 } 632 return nil 633 } 634 635 func (x *Operation) GetOperationId() string { 636 if x != nil { 637 return x.OperationId 638 } 639 return "" 640 } 641 642 func (x *Operation) GetConsumes() []string { 643 if x != nil { 644 return x.Consumes 645 } 646 return nil 647 } 648 649 func (x *Operation) GetProduces() []string { 650 if x != nil { 651 return x.Produces 652 } 653 return nil 654 } 655 656 func (x *Operation) GetResponses() map[string]*Response { 657 if x != nil { 658 return x.Responses 659 } 660 return nil 661 } 662 663 func (x *Operation) GetSchemes() []Scheme { 664 if x != nil { 665 return x.Schemes 666 } 667 return nil 668 } 669 670 func (x *Operation) GetDeprecated() bool { 671 if x != nil { 672 return x.Deprecated 673 } 674 return false 675 } 676 677 func (x *Operation) GetSecurity() []*SecurityRequirement { 678 if x != nil { 679 return x.Security 680 } 681 return nil 682 } 683 684 func (x *Operation) GetExtensions() map[string]*_struct.Value { 685 if x != nil { 686 return x.Extensions 687 } 688 return nil 689 } 690 691 // `Response` is a representation of OpenAPI v2 specification's Response object. 692 // 693 // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#responseObject 694 // 695 type Response struct { 696 state protoimpl.MessageState 697 sizeCache protoimpl.SizeCache 698 unknownFields protoimpl.UnknownFields 699 700 // `Description` is a short description of the response. 701 // GFM syntax can be used for rich text representation. 702 Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` 703 // `Schema` optionally defines the structure of the response. 704 // If `Schema` is not provided, it means there is no content to the response. 705 Schema *Schema `protobuf:"bytes,2,opt,name=schema,proto3" json:"schema,omitempty"` 706 // `Examples` gives per-mimetype response examples. 707 // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#example-object 708 Examples map[string]string `protobuf:"bytes,4,rep,name=examples,proto3" json:"examples,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 709 Extensions map[string]*_struct.Value `protobuf:"bytes,5,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 710 } 711 712 func (x *Response) Reset() { 713 *x = Response{} 714 if protoimpl.UnsafeEnabled { 715 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[2] 716 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 717 ms.StoreMessageInfo(mi) 718 } 719 } 720 721 func (x *Response) String() string { 722 return protoimpl.X.MessageStringOf(x) 723 } 724 725 func (*Response) ProtoMessage() {} 726 727 func (x *Response) ProtoReflect() protoreflect.Message { 728 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[2] 729 if protoimpl.UnsafeEnabled && x != nil { 730 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 731 if ms.LoadMessageInfo() == nil { 732 ms.StoreMessageInfo(mi) 733 } 734 return ms 735 } 736 return mi.MessageOf(x) 737 } 738 739 // Deprecated: Use Response.ProtoReflect.Descriptor instead. 740 func (*Response) Descriptor() ([]byte, []int) { 741 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{2} 742 } 743 744 func (x *Response) GetDescription() string { 745 if x != nil { 746 return x.Description 747 } 748 return "" 749 } 750 751 func (x *Response) GetSchema() *Schema { 752 if x != nil { 753 return x.Schema 754 } 755 return nil 756 } 757 758 func (x *Response) GetExamples() map[string]string { 759 if x != nil { 760 return x.Examples 761 } 762 return nil 763 } 764 765 func (x *Response) GetExtensions() map[string]*_struct.Value { 766 if x != nil { 767 return x.Extensions 768 } 769 return nil 770 } 771 772 // `Info` is a representation of OpenAPI v2 specification's Info object. 773 // 774 // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#infoObject 775 // 776 // Example: 777 // 778 // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { 779 // info: { 780 // title: "Echo API"; 781 // version: "1.0"; 782 // description: "; 783 // contact: { 784 // name: "gRPC-Gateway project"; 785 // url: "https://github.com/grpc-ecosystem/grpc-gateway"; 786 // email: "none@example.com"; 787 // }; 788 // license: { 789 // name: "BSD 3-Clause License"; 790 // url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt"; 791 // }; 792 // }; 793 // ... 794 // }; 795 // 796 type Info struct { 797 state protoimpl.MessageState 798 sizeCache protoimpl.SizeCache 799 unknownFields protoimpl.UnknownFields 800 801 // The title of the application. 802 Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` 803 // A short description of the application. GFM syntax can be used for rich 804 // text representation. 805 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 806 // The Terms of Service for the API. 807 TermsOfService string `protobuf:"bytes,3,opt,name=terms_of_service,json=termsOfService,proto3" json:"terms_of_service,omitempty"` 808 // The contact information for the exposed API. 809 Contact *Contact `protobuf:"bytes,4,opt,name=contact,proto3" json:"contact,omitempty"` 810 // The license information for the exposed API. 811 License *License `protobuf:"bytes,5,opt,name=license,proto3" json:"license,omitempty"` 812 // Provides the version of the application API (not to be confused 813 // with the specification version). 814 Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` 815 Extensions map[string]*_struct.Value `protobuf:"bytes,7,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 816 } 817 818 func (x *Info) Reset() { 819 *x = Info{} 820 if protoimpl.UnsafeEnabled { 821 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[3] 822 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 823 ms.StoreMessageInfo(mi) 824 } 825 } 826 827 func (x *Info) String() string { 828 return protoimpl.X.MessageStringOf(x) 829 } 830 831 func (*Info) ProtoMessage() {} 832 833 func (x *Info) ProtoReflect() protoreflect.Message { 834 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[3] 835 if protoimpl.UnsafeEnabled && x != nil { 836 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 837 if ms.LoadMessageInfo() == nil { 838 ms.StoreMessageInfo(mi) 839 } 840 return ms 841 } 842 return mi.MessageOf(x) 843 } 844 845 // Deprecated: Use Info.ProtoReflect.Descriptor instead. 846 func (*Info) Descriptor() ([]byte, []int) { 847 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{3} 848 } 849 850 func (x *Info) GetTitle() string { 851 if x != nil { 852 return x.Title 853 } 854 return "" 855 } 856 857 func (x *Info) GetDescription() string { 858 if x != nil { 859 return x.Description 860 } 861 return "" 862 } 863 864 func (x *Info) GetTermsOfService() string { 865 if x != nil { 866 return x.TermsOfService 867 } 868 return "" 869 } 870 871 func (x *Info) GetContact() *Contact { 872 if x != nil { 873 return x.Contact 874 } 875 return nil 876 } 877 878 func (x *Info) GetLicense() *License { 879 if x != nil { 880 return x.License 881 } 882 return nil 883 } 884 885 func (x *Info) GetVersion() string { 886 if x != nil { 887 return x.Version 888 } 889 return "" 890 } 891 892 func (x *Info) GetExtensions() map[string]*_struct.Value { 893 if x != nil { 894 return x.Extensions 895 } 896 return nil 897 } 898 899 // `Contact` is a representation of OpenAPI v2 specification's Contact object. 900 // 901 // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#contactObject 902 // 903 // Example: 904 // 905 // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { 906 // info: { 907 // ... 908 // contact: { 909 // name: "gRPC-Gateway project"; 910 // url: "https://github.com/grpc-ecosystem/grpc-gateway"; 911 // email: "none@example.com"; 912 // }; 913 // ... 914 // }; 915 // ... 916 // }; 917 // 918 type Contact struct { 919 state protoimpl.MessageState 920 sizeCache protoimpl.SizeCache 921 unknownFields protoimpl.UnknownFields 922 923 // The identifying name of the contact person/organization. 924 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 925 // The URL pointing to the contact information. MUST be in the format of a 926 // URL. 927 Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` 928 // The email address of the contact person/organization. MUST be in the format 929 // of an email address. 930 Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` 931 } 932 933 func (x *Contact) Reset() { 934 *x = Contact{} 935 if protoimpl.UnsafeEnabled { 936 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[4] 937 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 938 ms.StoreMessageInfo(mi) 939 } 940 } 941 942 func (x *Contact) String() string { 943 return protoimpl.X.MessageStringOf(x) 944 } 945 946 func (*Contact) ProtoMessage() {} 947 948 func (x *Contact) ProtoReflect() protoreflect.Message { 949 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[4] 950 if protoimpl.UnsafeEnabled && x != nil { 951 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 952 if ms.LoadMessageInfo() == nil { 953 ms.StoreMessageInfo(mi) 954 } 955 return ms 956 } 957 return mi.MessageOf(x) 958 } 959 960 // Deprecated: Use Contact.ProtoReflect.Descriptor instead. 961 func (*Contact) Descriptor() ([]byte, []int) { 962 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{4} 963 } 964 965 func (x *Contact) GetName() string { 966 if x != nil { 967 return x.Name 968 } 969 return "" 970 } 971 972 func (x *Contact) GetUrl() string { 973 if x != nil { 974 return x.Url 975 } 976 return "" 977 } 978 979 func (x *Contact) GetEmail() string { 980 if x != nil { 981 return x.Email 982 } 983 return "" 984 } 985 986 // `License` is a representation of OpenAPI v2 specification's License object. 987 // 988 // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#licenseObject 989 // 990 // Example: 991 // 992 // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { 993 // info: { 994 // ... 995 // license: { 996 // name: "BSD 3-Clause License"; 997 // url: "https://github.com/grpc-ecosystem/grpc-gateway/blob/master/LICENSE.txt"; 998 // }; 999 // ... 1000 // }; 1001 // ... 1002 // }; 1003 // 1004 type License struct { 1005 state protoimpl.MessageState 1006 sizeCache protoimpl.SizeCache 1007 unknownFields protoimpl.UnknownFields 1008 1009 // The license name used for the API. 1010 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 1011 // A URL to the license used for the API. MUST be in the format of a URL. 1012 Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` 1013 } 1014 1015 func (x *License) Reset() { 1016 *x = License{} 1017 if protoimpl.UnsafeEnabled { 1018 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[5] 1019 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1020 ms.StoreMessageInfo(mi) 1021 } 1022 } 1023 1024 func (x *License) String() string { 1025 return protoimpl.X.MessageStringOf(x) 1026 } 1027 1028 func (*License) ProtoMessage() {} 1029 1030 func (x *License) ProtoReflect() protoreflect.Message { 1031 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[5] 1032 if protoimpl.UnsafeEnabled && x != nil { 1033 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1034 if ms.LoadMessageInfo() == nil { 1035 ms.StoreMessageInfo(mi) 1036 } 1037 return ms 1038 } 1039 return mi.MessageOf(x) 1040 } 1041 1042 // Deprecated: Use License.ProtoReflect.Descriptor instead. 1043 func (*License) Descriptor() ([]byte, []int) { 1044 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{5} 1045 } 1046 1047 func (x *License) GetName() string { 1048 if x != nil { 1049 return x.Name 1050 } 1051 return "" 1052 } 1053 1054 func (x *License) GetUrl() string { 1055 if x != nil { 1056 return x.Url 1057 } 1058 return "" 1059 } 1060 1061 // `ExternalDocumentation` is a representation of OpenAPI v2 specification's 1062 // ExternalDocumentation object. 1063 // 1064 // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#externalDocumentationObject 1065 // 1066 // Example: 1067 // 1068 // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_swagger) = { 1069 // ... 1070 // external_docs: { 1071 // description: "More about gRPC-Gateway"; 1072 // url: "https://github.com/grpc-ecosystem/grpc-gateway"; 1073 // } 1074 // ... 1075 // }; 1076 // 1077 type ExternalDocumentation struct { 1078 state protoimpl.MessageState 1079 sizeCache protoimpl.SizeCache 1080 unknownFields protoimpl.UnknownFields 1081 1082 // A short description of the target documentation. GFM syntax can be used for 1083 // rich text representation. 1084 Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"` 1085 // The URL for the target documentation. Value MUST be in the format 1086 // of a URL. 1087 Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"` 1088 } 1089 1090 func (x *ExternalDocumentation) Reset() { 1091 *x = ExternalDocumentation{} 1092 if protoimpl.UnsafeEnabled { 1093 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[6] 1094 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1095 ms.StoreMessageInfo(mi) 1096 } 1097 } 1098 1099 func (x *ExternalDocumentation) String() string { 1100 return protoimpl.X.MessageStringOf(x) 1101 } 1102 1103 func (*ExternalDocumentation) ProtoMessage() {} 1104 1105 func (x *ExternalDocumentation) ProtoReflect() protoreflect.Message { 1106 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[6] 1107 if protoimpl.UnsafeEnabled && x != nil { 1108 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1109 if ms.LoadMessageInfo() == nil { 1110 ms.StoreMessageInfo(mi) 1111 } 1112 return ms 1113 } 1114 return mi.MessageOf(x) 1115 } 1116 1117 // Deprecated: Use ExternalDocumentation.ProtoReflect.Descriptor instead. 1118 func (*ExternalDocumentation) Descriptor() ([]byte, []int) { 1119 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{6} 1120 } 1121 1122 func (x *ExternalDocumentation) GetDescription() string { 1123 if x != nil { 1124 return x.Description 1125 } 1126 return "" 1127 } 1128 1129 func (x *ExternalDocumentation) GetUrl() string { 1130 if x != nil { 1131 return x.Url 1132 } 1133 return "" 1134 } 1135 1136 // `Schema` is a representation of OpenAPI v2 specification's Schema object. 1137 // 1138 // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject 1139 // 1140 type Schema struct { 1141 state protoimpl.MessageState 1142 sizeCache protoimpl.SizeCache 1143 unknownFields protoimpl.UnknownFields 1144 1145 JsonSchema *JSONSchema `protobuf:"bytes,1,opt,name=json_schema,json=jsonSchema,proto3" json:"json_schema,omitempty"` 1146 // Adds support for polymorphism. The discriminator is the schema property 1147 // name that is used to differentiate between other schema that inherit this 1148 // schema. The property name used MUST be defined at this schema and it MUST 1149 // be in the required property list. When used, the value MUST be the name of 1150 // this schema or any schema that inherits it. 1151 Discriminator string `protobuf:"bytes,2,opt,name=discriminator,proto3" json:"discriminator,omitempty"` 1152 // Relevant only for Schema "properties" definitions. Declares the property as 1153 // "read only". This means that it MAY be sent as part of a response but MUST 1154 // NOT be sent as part of the request. Properties marked as readOnly being 1155 // true SHOULD NOT be in the required list of the defined schema. Default 1156 // value is false. 1157 ReadOnly bool `protobuf:"varint,3,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` 1158 // Additional external documentation for this schema. 1159 ExternalDocs *ExternalDocumentation `protobuf:"bytes,5,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` 1160 // A free-form property to include an example of an instance for this schema in JSON. 1161 // This is copied verbatim to the output. 1162 Example string `protobuf:"bytes,6,opt,name=example,proto3" json:"example,omitempty"` 1163 } 1164 1165 func (x *Schema) Reset() { 1166 *x = Schema{} 1167 if protoimpl.UnsafeEnabled { 1168 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[7] 1169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1170 ms.StoreMessageInfo(mi) 1171 } 1172 } 1173 1174 func (x *Schema) String() string { 1175 return protoimpl.X.MessageStringOf(x) 1176 } 1177 1178 func (*Schema) ProtoMessage() {} 1179 1180 func (x *Schema) ProtoReflect() protoreflect.Message { 1181 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[7] 1182 if protoimpl.UnsafeEnabled && x != nil { 1183 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1184 if ms.LoadMessageInfo() == nil { 1185 ms.StoreMessageInfo(mi) 1186 } 1187 return ms 1188 } 1189 return mi.MessageOf(x) 1190 } 1191 1192 // Deprecated: Use Schema.ProtoReflect.Descriptor instead. 1193 func (*Schema) Descriptor() ([]byte, []int) { 1194 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{7} 1195 } 1196 1197 func (x *Schema) GetJsonSchema() *JSONSchema { 1198 if x != nil { 1199 return x.JsonSchema 1200 } 1201 return nil 1202 } 1203 1204 func (x *Schema) GetDiscriminator() string { 1205 if x != nil { 1206 return x.Discriminator 1207 } 1208 return "" 1209 } 1210 1211 func (x *Schema) GetReadOnly() bool { 1212 if x != nil { 1213 return x.ReadOnly 1214 } 1215 return false 1216 } 1217 1218 func (x *Schema) GetExternalDocs() *ExternalDocumentation { 1219 if x != nil { 1220 return x.ExternalDocs 1221 } 1222 return nil 1223 } 1224 1225 func (x *Schema) GetExample() string { 1226 if x != nil { 1227 return x.Example 1228 } 1229 return "" 1230 } 1231 1232 // `JSONSchema` represents properties from JSON Schema taken, and as used, in 1233 // the OpenAPI v2 spec. 1234 // 1235 // This includes changes made by OpenAPI v2. 1236 // 1237 // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#schemaObject 1238 // 1239 // See also: https://cswr.github.io/JsonSchema/spec/basic_types/, 1240 // https://github.com/json-schema-org/json-schema-spec/blob/master/schema.json 1241 // 1242 // Example: 1243 // 1244 // message SimpleMessage { 1245 // option (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_schema) = { 1246 // json_schema: { 1247 // title: "SimpleMessage" 1248 // description: "A simple message." 1249 // required: ["id"] 1250 // } 1251 // }; 1252 // 1253 // // Id represents the message identifier. 1254 // string id = 1; [ 1255 // (grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = { 1256 // {description: "The unique identifier of the simple message." 1257 // }]; 1258 // } 1259 // 1260 type JSONSchema struct { 1261 state protoimpl.MessageState 1262 sizeCache protoimpl.SizeCache 1263 unknownFields protoimpl.UnknownFields 1264 1265 // Ref is used to define an external reference to include in the message. 1266 // This could be a fully qualified proto message reference, and that type must 1267 // be imported into the protofile. If no message is identified, the Ref will 1268 // be used verbatim in the output. 1269 // For example: 1270 // `ref: ".google.protobuf.Timestamp"`. 1271 Ref string `protobuf:"bytes,3,opt,name=ref,proto3" json:"ref,omitempty"` 1272 // The title of the schema. 1273 Title string `protobuf:"bytes,5,opt,name=title,proto3" json:"title,omitempty"` 1274 // A short description of the schema. 1275 Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` 1276 Default string `protobuf:"bytes,7,opt,name=default,proto3" json:"default,omitempty"` 1277 ReadOnly bool `protobuf:"varint,8,opt,name=read_only,json=readOnly,proto3" json:"read_only,omitempty"` 1278 MultipleOf float64 `protobuf:"fixed64,10,opt,name=multiple_of,json=multipleOf,proto3" json:"multiple_of,omitempty"` 1279 // Maximum represents an inclusive upper limit for a numeric instance. The 1280 // value of MUST be a number, 1281 Maximum float64 `protobuf:"fixed64,11,opt,name=maximum,proto3" json:"maximum,omitempty"` 1282 ExclusiveMaximum bool `protobuf:"varint,12,opt,name=exclusive_maximum,json=exclusiveMaximum,proto3" json:"exclusive_maximum,omitempty"` 1283 // minimum represents an inclusive lower limit for a numeric instance. The 1284 // value of MUST be a number, 1285 Minimum float64 `protobuf:"fixed64,13,opt,name=minimum,proto3" json:"minimum,omitempty"` 1286 ExclusiveMinimum bool `protobuf:"varint,14,opt,name=exclusive_minimum,json=exclusiveMinimum,proto3" json:"exclusive_minimum,omitempty"` 1287 MaxLength uint64 `protobuf:"varint,15,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"` 1288 MinLength uint64 `protobuf:"varint,16,opt,name=min_length,json=minLength,proto3" json:"min_length,omitempty"` 1289 Pattern string `protobuf:"bytes,17,opt,name=pattern,proto3" json:"pattern,omitempty"` 1290 MaxItems uint64 `protobuf:"varint,20,opt,name=max_items,json=maxItems,proto3" json:"max_items,omitempty"` 1291 MinItems uint64 `protobuf:"varint,21,opt,name=min_items,json=minItems,proto3" json:"min_items,omitempty"` 1292 UniqueItems bool `protobuf:"varint,22,opt,name=unique_items,json=uniqueItems,proto3" json:"unique_items,omitempty"` 1293 MaxProperties uint64 `protobuf:"varint,24,opt,name=max_properties,json=maxProperties,proto3" json:"max_properties,omitempty"` 1294 MinProperties uint64 `protobuf:"varint,25,opt,name=min_properties,json=minProperties,proto3" json:"min_properties,omitempty"` 1295 Required []string `protobuf:"bytes,26,rep,name=required,proto3" json:"required,omitempty"` 1296 // Items in 'array' must be unique. 1297 Array []string `protobuf:"bytes,34,rep,name=array,proto3" json:"array,omitempty"` 1298 Type []JSONSchema_JSONSchemaSimpleTypes `protobuf:"varint,35,rep,packed,name=type,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.JSONSchema_JSONSchemaSimpleTypes" json:"type,omitempty"` 1299 } 1300 1301 func (x *JSONSchema) Reset() { 1302 *x = JSONSchema{} 1303 if protoimpl.UnsafeEnabled { 1304 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[8] 1305 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1306 ms.StoreMessageInfo(mi) 1307 } 1308 } 1309 1310 func (x *JSONSchema) String() string { 1311 return protoimpl.X.MessageStringOf(x) 1312 } 1313 1314 func (*JSONSchema) ProtoMessage() {} 1315 1316 func (x *JSONSchema) ProtoReflect() protoreflect.Message { 1317 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[8] 1318 if protoimpl.UnsafeEnabled && x != nil { 1319 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1320 if ms.LoadMessageInfo() == nil { 1321 ms.StoreMessageInfo(mi) 1322 } 1323 return ms 1324 } 1325 return mi.MessageOf(x) 1326 } 1327 1328 // Deprecated: Use JSONSchema.ProtoReflect.Descriptor instead. 1329 func (*JSONSchema) Descriptor() ([]byte, []int) { 1330 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{8} 1331 } 1332 1333 func (x *JSONSchema) GetRef() string { 1334 if x != nil { 1335 return x.Ref 1336 } 1337 return "" 1338 } 1339 1340 func (x *JSONSchema) GetTitle() string { 1341 if x != nil { 1342 return x.Title 1343 } 1344 return "" 1345 } 1346 1347 func (x *JSONSchema) GetDescription() string { 1348 if x != nil { 1349 return x.Description 1350 } 1351 return "" 1352 } 1353 1354 func (x *JSONSchema) GetDefault() string { 1355 if x != nil { 1356 return x.Default 1357 } 1358 return "" 1359 } 1360 1361 func (x *JSONSchema) GetReadOnly() bool { 1362 if x != nil { 1363 return x.ReadOnly 1364 } 1365 return false 1366 } 1367 1368 func (x *JSONSchema) GetMultipleOf() float64 { 1369 if x != nil { 1370 return x.MultipleOf 1371 } 1372 return 0 1373 } 1374 1375 func (x *JSONSchema) GetMaximum() float64 { 1376 if x != nil { 1377 return x.Maximum 1378 } 1379 return 0 1380 } 1381 1382 func (x *JSONSchema) GetExclusiveMaximum() bool { 1383 if x != nil { 1384 return x.ExclusiveMaximum 1385 } 1386 return false 1387 } 1388 1389 func (x *JSONSchema) GetMinimum() float64 { 1390 if x != nil { 1391 return x.Minimum 1392 } 1393 return 0 1394 } 1395 1396 func (x *JSONSchema) GetExclusiveMinimum() bool { 1397 if x != nil { 1398 return x.ExclusiveMinimum 1399 } 1400 return false 1401 } 1402 1403 func (x *JSONSchema) GetMaxLength() uint64 { 1404 if x != nil { 1405 return x.MaxLength 1406 } 1407 return 0 1408 } 1409 1410 func (x *JSONSchema) GetMinLength() uint64 { 1411 if x != nil { 1412 return x.MinLength 1413 } 1414 return 0 1415 } 1416 1417 func (x *JSONSchema) GetPattern() string { 1418 if x != nil { 1419 return x.Pattern 1420 } 1421 return "" 1422 } 1423 1424 func (x *JSONSchema) GetMaxItems() uint64 { 1425 if x != nil { 1426 return x.MaxItems 1427 } 1428 return 0 1429 } 1430 1431 func (x *JSONSchema) GetMinItems() uint64 { 1432 if x != nil { 1433 return x.MinItems 1434 } 1435 return 0 1436 } 1437 1438 func (x *JSONSchema) GetUniqueItems() bool { 1439 if x != nil { 1440 return x.UniqueItems 1441 } 1442 return false 1443 } 1444 1445 func (x *JSONSchema) GetMaxProperties() uint64 { 1446 if x != nil { 1447 return x.MaxProperties 1448 } 1449 return 0 1450 } 1451 1452 func (x *JSONSchema) GetMinProperties() uint64 { 1453 if x != nil { 1454 return x.MinProperties 1455 } 1456 return 0 1457 } 1458 1459 func (x *JSONSchema) GetRequired() []string { 1460 if x != nil { 1461 return x.Required 1462 } 1463 return nil 1464 } 1465 1466 func (x *JSONSchema) GetArray() []string { 1467 if x != nil { 1468 return x.Array 1469 } 1470 return nil 1471 } 1472 1473 func (x *JSONSchema) GetType() []JSONSchema_JSONSchemaSimpleTypes { 1474 if x != nil { 1475 return x.Type 1476 } 1477 return nil 1478 } 1479 1480 // `Tag` is a representation of OpenAPI v2 specification's Tag object. 1481 // 1482 // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#tagObject 1483 // 1484 type Tag struct { 1485 state protoimpl.MessageState 1486 sizeCache protoimpl.SizeCache 1487 unknownFields protoimpl.UnknownFields 1488 1489 // A short description for the tag. GFM syntax can be used for rich text 1490 // representation. 1491 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 1492 // Additional external documentation for this tag. 1493 ExternalDocs *ExternalDocumentation `protobuf:"bytes,3,opt,name=external_docs,json=externalDocs,proto3" json:"external_docs,omitempty"` 1494 } 1495 1496 func (x *Tag) Reset() { 1497 *x = Tag{} 1498 if protoimpl.UnsafeEnabled { 1499 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[9] 1500 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1501 ms.StoreMessageInfo(mi) 1502 } 1503 } 1504 1505 func (x *Tag) String() string { 1506 return protoimpl.X.MessageStringOf(x) 1507 } 1508 1509 func (*Tag) ProtoMessage() {} 1510 1511 func (x *Tag) ProtoReflect() protoreflect.Message { 1512 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[9] 1513 if protoimpl.UnsafeEnabled && x != nil { 1514 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1515 if ms.LoadMessageInfo() == nil { 1516 ms.StoreMessageInfo(mi) 1517 } 1518 return ms 1519 } 1520 return mi.MessageOf(x) 1521 } 1522 1523 // Deprecated: Use Tag.ProtoReflect.Descriptor instead. 1524 func (*Tag) Descriptor() ([]byte, []int) { 1525 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{9} 1526 } 1527 1528 func (x *Tag) GetDescription() string { 1529 if x != nil { 1530 return x.Description 1531 } 1532 return "" 1533 } 1534 1535 func (x *Tag) GetExternalDocs() *ExternalDocumentation { 1536 if x != nil { 1537 return x.ExternalDocs 1538 } 1539 return nil 1540 } 1541 1542 // `SecurityDefinitions` is a representation of OpenAPI v2 specification's 1543 // Security Definitions object. 1544 // 1545 // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securityDefinitionsObject 1546 // 1547 // A declaration of the security schemes available to be used in the 1548 // specification. This does not enforce the security schemes on the operations 1549 // and only serves to provide the relevant details for each scheme. 1550 type SecurityDefinitions struct { 1551 state protoimpl.MessageState 1552 sizeCache protoimpl.SizeCache 1553 unknownFields protoimpl.UnknownFields 1554 1555 // A single security scheme definition, mapping a "name" to the scheme it 1556 // defines. 1557 Security map[string]*SecurityScheme `protobuf:"bytes,1,rep,name=security,proto3" json:"security,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1558 } 1559 1560 func (x *SecurityDefinitions) Reset() { 1561 *x = SecurityDefinitions{} 1562 if protoimpl.UnsafeEnabled { 1563 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[10] 1564 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1565 ms.StoreMessageInfo(mi) 1566 } 1567 } 1568 1569 func (x *SecurityDefinitions) String() string { 1570 return protoimpl.X.MessageStringOf(x) 1571 } 1572 1573 func (*SecurityDefinitions) ProtoMessage() {} 1574 1575 func (x *SecurityDefinitions) ProtoReflect() protoreflect.Message { 1576 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[10] 1577 if protoimpl.UnsafeEnabled && x != nil { 1578 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1579 if ms.LoadMessageInfo() == nil { 1580 ms.StoreMessageInfo(mi) 1581 } 1582 return ms 1583 } 1584 return mi.MessageOf(x) 1585 } 1586 1587 // Deprecated: Use SecurityDefinitions.ProtoReflect.Descriptor instead. 1588 func (*SecurityDefinitions) Descriptor() ([]byte, []int) { 1589 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{10} 1590 } 1591 1592 func (x *SecurityDefinitions) GetSecurity() map[string]*SecurityScheme { 1593 if x != nil { 1594 return x.Security 1595 } 1596 return nil 1597 } 1598 1599 // `SecurityScheme` is a representation of OpenAPI v2 specification's 1600 // Security Scheme object. 1601 // 1602 // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securitySchemeObject 1603 // 1604 // Allows the definition of a security scheme that can be used by the 1605 // operations. Supported schemes are basic authentication, an API key (either as 1606 // a header or as a query parameter) and OAuth2's common flows (implicit, 1607 // password, application and access code). 1608 type SecurityScheme struct { 1609 state protoimpl.MessageState 1610 sizeCache protoimpl.SizeCache 1611 unknownFields protoimpl.UnknownFields 1612 1613 // The type of the security scheme. Valid values are "basic", 1614 // "apiKey" or "oauth2". 1615 Type SecurityScheme_Type `protobuf:"varint,1,opt,name=type,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme_Type" json:"type,omitempty"` 1616 // A short description for security scheme. 1617 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 1618 // The name of the header or query parameter to be used. 1619 // Valid for apiKey. 1620 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 1621 // The location of the API key. Valid values are "query" or 1622 // "header". 1623 // Valid for apiKey. 1624 In SecurityScheme_In `protobuf:"varint,4,opt,name=in,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme_In" json:"in,omitempty"` 1625 // The flow used by the OAuth2 security scheme. Valid values are 1626 // "implicit", "password", "application" or "accessCode". 1627 // Valid for oauth2. 1628 Flow SecurityScheme_Flow `protobuf:"varint,5,opt,name=flow,proto3,enum=grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme_Flow" json:"flow,omitempty"` 1629 // The authorization URL to be used for this flow. This SHOULD be in 1630 // the form of a URL. 1631 // Valid for oauth2/implicit and oauth2/accessCode. 1632 AuthorizationUrl string `protobuf:"bytes,6,opt,name=authorization_url,json=authorizationUrl,proto3" json:"authorization_url,omitempty"` 1633 // The token URL to be used for this flow. This SHOULD be in the 1634 // form of a URL. 1635 // Valid for oauth2/password, oauth2/application and oauth2/accessCode. 1636 TokenUrl string `protobuf:"bytes,7,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"` 1637 // The available scopes for the OAuth2 security scheme. 1638 // Valid for oauth2. 1639 Scopes *Scopes `protobuf:"bytes,8,opt,name=scopes,proto3" json:"scopes,omitempty"` 1640 Extensions map[string]*_struct.Value `protobuf:"bytes,9,rep,name=extensions,proto3" json:"extensions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1641 } 1642 1643 func (x *SecurityScheme) Reset() { 1644 *x = SecurityScheme{} 1645 if protoimpl.UnsafeEnabled { 1646 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[11] 1647 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1648 ms.StoreMessageInfo(mi) 1649 } 1650 } 1651 1652 func (x *SecurityScheme) String() string { 1653 return protoimpl.X.MessageStringOf(x) 1654 } 1655 1656 func (*SecurityScheme) ProtoMessage() {} 1657 1658 func (x *SecurityScheme) ProtoReflect() protoreflect.Message { 1659 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[11] 1660 if protoimpl.UnsafeEnabled && x != nil { 1661 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1662 if ms.LoadMessageInfo() == nil { 1663 ms.StoreMessageInfo(mi) 1664 } 1665 return ms 1666 } 1667 return mi.MessageOf(x) 1668 } 1669 1670 // Deprecated: Use SecurityScheme.ProtoReflect.Descriptor instead. 1671 func (*SecurityScheme) Descriptor() ([]byte, []int) { 1672 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{11} 1673 } 1674 1675 func (x *SecurityScheme) GetType() SecurityScheme_Type { 1676 if x != nil { 1677 return x.Type 1678 } 1679 return SecurityScheme_TYPE_INVALID 1680 } 1681 1682 func (x *SecurityScheme) GetDescription() string { 1683 if x != nil { 1684 return x.Description 1685 } 1686 return "" 1687 } 1688 1689 func (x *SecurityScheme) GetName() string { 1690 if x != nil { 1691 return x.Name 1692 } 1693 return "" 1694 } 1695 1696 func (x *SecurityScheme) GetIn() SecurityScheme_In { 1697 if x != nil { 1698 return x.In 1699 } 1700 return SecurityScheme_IN_INVALID 1701 } 1702 1703 func (x *SecurityScheme) GetFlow() SecurityScheme_Flow { 1704 if x != nil { 1705 return x.Flow 1706 } 1707 return SecurityScheme_FLOW_INVALID 1708 } 1709 1710 func (x *SecurityScheme) GetAuthorizationUrl() string { 1711 if x != nil { 1712 return x.AuthorizationUrl 1713 } 1714 return "" 1715 } 1716 1717 func (x *SecurityScheme) GetTokenUrl() string { 1718 if x != nil { 1719 return x.TokenUrl 1720 } 1721 return "" 1722 } 1723 1724 func (x *SecurityScheme) GetScopes() *Scopes { 1725 if x != nil { 1726 return x.Scopes 1727 } 1728 return nil 1729 } 1730 1731 func (x *SecurityScheme) GetExtensions() map[string]*_struct.Value { 1732 if x != nil { 1733 return x.Extensions 1734 } 1735 return nil 1736 } 1737 1738 // `SecurityRequirement` is a representation of OpenAPI v2 specification's 1739 // Security Requirement object. 1740 // 1741 // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#securityRequirementObject 1742 // 1743 // Lists the required security schemes to execute this operation. The object can 1744 // have multiple security schemes declared in it which are all required (that 1745 // is, there is a logical AND between the schemes). 1746 // 1747 // The name used for each property MUST correspond to a security scheme 1748 // declared in the Security Definitions. 1749 type SecurityRequirement struct { 1750 state protoimpl.MessageState 1751 sizeCache protoimpl.SizeCache 1752 unknownFields protoimpl.UnknownFields 1753 1754 // Each name must correspond to a security scheme which is declared in 1755 // the Security Definitions. If the security scheme is of type "oauth2", 1756 // then the value is a list of scope names required for the execution. 1757 // For other security scheme types, the array MUST be empty. 1758 SecurityRequirement map[string]*SecurityRequirement_SecurityRequirementValue `protobuf:"bytes,1,rep,name=security_requirement,json=securityRequirement,proto3" json:"security_requirement,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1759 } 1760 1761 func (x *SecurityRequirement) Reset() { 1762 *x = SecurityRequirement{} 1763 if protoimpl.UnsafeEnabled { 1764 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[12] 1765 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1766 ms.StoreMessageInfo(mi) 1767 } 1768 } 1769 1770 func (x *SecurityRequirement) String() string { 1771 return protoimpl.X.MessageStringOf(x) 1772 } 1773 1774 func (*SecurityRequirement) ProtoMessage() {} 1775 1776 func (x *SecurityRequirement) ProtoReflect() protoreflect.Message { 1777 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[12] 1778 if protoimpl.UnsafeEnabled && x != nil { 1779 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1780 if ms.LoadMessageInfo() == nil { 1781 ms.StoreMessageInfo(mi) 1782 } 1783 return ms 1784 } 1785 return mi.MessageOf(x) 1786 } 1787 1788 // Deprecated: Use SecurityRequirement.ProtoReflect.Descriptor instead. 1789 func (*SecurityRequirement) Descriptor() ([]byte, []int) { 1790 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{12} 1791 } 1792 1793 func (x *SecurityRequirement) GetSecurityRequirement() map[string]*SecurityRequirement_SecurityRequirementValue { 1794 if x != nil { 1795 return x.SecurityRequirement 1796 } 1797 return nil 1798 } 1799 1800 // `Scopes` is a representation of OpenAPI v2 specification's Scopes object. 1801 // 1802 // See: https://github.com/OAI/OpenAPI-Specification/blob/3.0.0/versions/2.0.md#scopesObject 1803 // 1804 // Lists the available scopes for an OAuth2 security scheme. 1805 type Scopes struct { 1806 state protoimpl.MessageState 1807 sizeCache protoimpl.SizeCache 1808 unknownFields protoimpl.UnknownFields 1809 1810 // Maps between a name of a scope to a short description of it (as the value 1811 // of the property). 1812 Scope map[string]string `protobuf:"bytes,1,rep,name=scope,proto3" json:"scope,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 1813 } 1814 1815 func (x *Scopes) Reset() { 1816 *x = Scopes{} 1817 if protoimpl.UnsafeEnabled { 1818 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[13] 1819 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1820 ms.StoreMessageInfo(mi) 1821 } 1822 } 1823 1824 func (x *Scopes) String() string { 1825 return protoimpl.X.MessageStringOf(x) 1826 } 1827 1828 func (*Scopes) ProtoMessage() {} 1829 1830 func (x *Scopes) ProtoReflect() protoreflect.Message { 1831 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[13] 1832 if protoimpl.UnsafeEnabled && x != nil { 1833 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1834 if ms.LoadMessageInfo() == nil { 1835 ms.StoreMessageInfo(mi) 1836 } 1837 return ms 1838 } 1839 return mi.MessageOf(x) 1840 } 1841 1842 // Deprecated: Use Scopes.ProtoReflect.Descriptor instead. 1843 func (*Scopes) Descriptor() ([]byte, []int) { 1844 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{13} 1845 } 1846 1847 func (x *Scopes) GetScope() map[string]string { 1848 if x != nil { 1849 return x.Scope 1850 } 1851 return nil 1852 } 1853 1854 // If the security scheme is of type "oauth2", then the value is a list of 1855 // scope names required for the execution. For other security scheme types, 1856 // the array MUST be empty. 1857 type SecurityRequirement_SecurityRequirementValue struct { 1858 state protoimpl.MessageState 1859 sizeCache protoimpl.SizeCache 1860 unknownFields protoimpl.UnknownFields 1861 1862 Scope []string `protobuf:"bytes,1,rep,name=scope,proto3" json:"scope,omitempty"` 1863 } 1864 1865 func (x *SecurityRequirement_SecurityRequirementValue) Reset() { 1866 *x = SecurityRequirement_SecurityRequirementValue{} 1867 if protoimpl.UnsafeEnabled { 1868 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[23] 1869 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1870 ms.StoreMessageInfo(mi) 1871 } 1872 } 1873 1874 func (x *SecurityRequirement_SecurityRequirementValue) String() string { 1875 return protoimpl.X.MessageStringOf(x) 1876 } 1877 1878 func (*SecurityRequirement_SecurityRequirementValue) ProtoMessage() {} 1879 1880 func (x *SecurityRequirement_SecurityRequirementValue) ProtoReflect() protoreflect.Message { 1881 mi := &file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[23] 1882 if protoimpl.UnsafeEnabled && x != nil { 1883 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 1884 if ms.LoadMessageInfo() == nil { 1885 ms.StoreMessageInfo(mi) 1886 } 1887 return ms 1888 } 1889 return mi.MessageOf(x) 1890 } 1891 1892 // Deprecated: Use SecurityRequirement_SecurityRequirementValue.ProtoReflect.Descriptor instead. 1893 func (*SecurityRequirement_SecurityRequirementValue) Descriptor() ([]byte, []int) { 1894 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP(), []int{12, 0} 1895 } 1896 1897 func (x *SecurityRequirement_SecurityRequirementValue) GetScope() []string { 1898 if x != nil { 1899 return x.Scope 1900 } 1901 return nil 1902 } 1903 1904 var File_protoc_gen_openapiv2_options_openapiv2_proto protoreflect.FileDescriptor 1905 1906 var file_protoc_gen_openapiv2_options_openapiv2_proto_rawDesc = []byte{ 1907 0x0a, 0x2c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 0x2d, 0x6f, 0x70, 0x65, 1908 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6f, 1909 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x29, 1910 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 1911 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 1912 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 1913 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 1914 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xf5, 0x07, 0x0a, 0x07, 0x53, 0x77, 0x61, 0x67, 1915 0x67, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x18, 0x01, 1916 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x12, 0x43, 0x0a, 1917 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x72, 1918 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1919 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 1920 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 1921 0x66, 0x6f, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 1922 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x70, 1923 0x61, 0x74, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x61, 0x73, 0x65, 0x50, 1924 0x61, 0x74, 0x68, 0x12, 0x4b, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x73, 0x18, 0x05, 1925 0x20, 0x03, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 1926 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 1927 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 1928 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x73, 1929 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 1930 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 0x6d, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 1931 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 1932 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x73, 0x12, 0x5f, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x70, 1933 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 0x67, 0x72, 1934 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 1935 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 1936 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x2e, 1937 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 1938 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x12, 0x71, 0x0a, 0x14, 0x73, 0x65, 0x63, 1939 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x64, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 1940 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 1941 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 1942 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 1943 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x44, 0x65, 0x66, 0x69, 1944 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x13, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 1945 0x79, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5a, 0x0a, 0x08, 1946 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3e, 1947 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 1948 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 1949 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 1950 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x08, 1951 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x12, 0x65, 0x0a, 0x0d, 0x65, 0x78, 0x74, 0x65, 1952 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 1953 0x40, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 1954 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 1955 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x45, 0x78, 0x74, 0x65, 1956 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 1957 0x6e, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x73, 0x12, 1958 0x62, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 1959 0x03, 0x28, 0x0b, 0x32, 0x42, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 1960 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 1961 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 1962 0x53, 0x77, 0x61, 0x67, 0x67, 0x65, 0x72, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 1963 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 1964 0x6f, 0x6e, 0x73, 0x1a, 0x71, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 1965 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 1966 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x49, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 1967 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 1968 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 1969 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 1970 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 1971 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x55, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 1972 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 1973 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 1974 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 1975 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 1976 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 1977 0x08, 0x10, 0x09, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x4a, 0x04, 0x08, 0x0d, 0x10, 0x0e, 0x22, 1978 0xff, 0x06, 0x0a, 0x09, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 1979 0x04, 0x74, 0x61, 0x67, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x74, 0x61, 0x67, 1980 0x73, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 1981 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x20, 0x0a, 0x0b, 0x64, 1982 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 1983 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x65, 0x0a, 1984 0x0d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x04, 1985 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 1986 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 1987 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 1988 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 1989 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 1990 0x44, 0x6f, 0x63, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 1991 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x65, 0x72, 1992 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 1993 0x6d, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x63, 0x6f, 0x6e, 0x73, 0x75, 1994 0x6d, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x73, 0x18, 1995 0x07, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x65, 0x73, 0x12, 1996 0x61, 0x0a, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 1997 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 1998 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 1999 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 2000 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 2001 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x09, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 2002 0x65, 0x73, 0x12, 0x4b, 0x0a, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x73, 0x18, 0x0a, 0x20, 2003 0x03, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 2004 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 2005 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 2006 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x52, 0x07, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x73, 0x12, 2007 0x1e, 0x0a, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x18, 0x0b, 0x20, 2008 0x01, 0x28, 0x08, 0x52, 0x0a, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x65, 0x64, 0x12, 2009 0x5a, 0x0a, 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x18, 0x0c, 0x20, 0x03, 0x28, 2010 0x0b, 0x32, 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 2011 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 2012 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 2013 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 2014 0x74, 0x52, 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x12, 0x64, 0x0a, 0x0a, 0x65, 2015 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0d, 0x20, 0x03, 0x28, 0x0b, 0x32, 2016 0x44, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 2017 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 2018 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x4f, 0x70, 0x65, 0x72, 2019 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 2020 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 2021 0x73, 0x1a, 0x71, 0x0a, 0x0e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x45, 0x6e, 2022 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 2023 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x49, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 2024 0x20, 0x01, 0x28, 0x0b, 0x32, 0x33, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 2025 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 2026 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 2027 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 2028 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x55, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 2029 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 2030 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 2031 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 2032 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 2033 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x08, 0x10, 2034 0x09, 0x22, 0xd5, 0x03, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x20, 2035 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 2036 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 2037 0x12, 0x49, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 2038 0x32, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 2039 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 2040 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x63, 0x68, 2041 0x65, 0x6d, 0x61, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x5d, 0x0a, 0x08, 0x65, 2042 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x41, 0x2e, 2043 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 2044 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 2045 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 2046 0x73, 0x65, 0x2e, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 2047 0x52, 0x08, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x12, 0x63, 0x0a, 0x0a, 0x65, 0x78, 2048 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x43, 2049 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 2050 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 2051 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 2052 0x6e, 0x73, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 2053 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 2054 0x3b, 0x0a, 0x0d, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 2055 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 2056 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 2057 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x55, 0x0a, 0x0f, 2058 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 2059 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 2060 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 2061 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 2062 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 2063 0x02, 0x38, 0x01, 0x4a, 0x04, 0x08, 0x03, 0x10, 0x04, 0x22, 0xd6, 0x03, 0x0a, 0x04, 0x49, 0x6e, 2064 0x66, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 2065 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 2066 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 2067 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x28, 0x0a, 0x10, 0x74, 0x65, 2068 0x72, 0x6d, 0x73, 0x5f, 0x6f, 0x66, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x03, 2069 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x74, 0x65, 0x72, 0x6d, 0x73, 0x4f, 0x66, 0x53, 0x65, 0x72, 2070 0x76, 0x69, 0x63, 0x65, 0x12, 0x4c, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x18, 2071 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 2072 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 2073 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 2074 0x73, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x61, 2075 0x63, 0x74, 0x12, 0x4c, 0x0a, 0x07, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x18, 0x05, 0x20, 2076 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 2077 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 2078 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 2079 0x4c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x52, 0x07, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 2080 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 2081 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x5f, 0x0a, 0x0a, 0x65, 0x78, 2082 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3f, 2083 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 2084 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 2085 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x49, 0x6e, 0x66, 0x6f, 0x2e, 2086 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 2087 0x0a, 0x65, 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x55, 0x0a, 0x0f, 0x45, 2088 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 2089 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 2090 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 2091 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 2092 0x66, 0x2e, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 2093 0x38, 0x01, 0x22, 0x45, 0x0a, 0x07, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x12, 0x12, 0x0a, 2094 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 2095 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 2096 0x75, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 2097 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x22, 0x2f, 0x0a, 0x07, 0x4c, 0x69, 0x63, 2098 0x65, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 2099 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 2100 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x4b, 0x0a, 0x15, 0x45, 0x78, 2101 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 2102 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 2103 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 2104 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 2105 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0xaa, 0x02, 0x0a, 0x06, 0x53, 0x63, 0x68, 0x65, 2106 0x6d, 0x61, 0x12, 0x56, 0x0a, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 2107 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 2108 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 2109 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 2110 0x6f, 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x0a, 2111 0x6a, 0x73, 0x6f, 0x6e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x24, 0x0a, 0x0d, 0x64, 0x69, 2112 0x73, 0x63, 0x72, 0x69, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 2113 0x09, 0x52, 0x0d, 0x64, 0x69, 0x73, 0x63, 0x72, 0x69, 0x6d, 0x69, 0x6e, 0x61, 0x74, 0x6f, 0x72, 2114 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 2115 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x65, 0x0a, 2116 0x0d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x63, 0x73, 0x18, 0x05, 2117 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 2118 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 2119 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 2120 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 2121 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 2122 0x44, 0x6f, 0x63, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x18, 2123 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x4a, 0x04, 2124 0x08, 0x04, 0x10, 0x05, 0x22, 0x9f, 0x07, 0x0a, 0x0a, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 2125 0x65, 0x6d, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x72, 0x65, 0x66, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 2126 0x52, 0x03, 0x72, 0x65, 0x66, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x05, 2127 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 2128 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 2129 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 2130 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 2131 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x64, 0x5f, 2132 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x61, 0x64, 2133 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x70, 0x6c, 0x65, 2134 0x5f, 0x6f, 0x66, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x01, 0x52, 0x0a, 0x6d, 0x75, 0x6c, 0x74, 0x69, 2135 0x70, 0x6c, 0x65, 0x4f, 0x66, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 2136 0x18, 0x0b, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x6d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x12, 2137 0x2b, 0x0a, 0x11, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x61, 0x78, 2138 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x65, 0x78, 0x63, 0x6c, 2139 0x75, 0x73, 0x69, 0x76, 0x65, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x18, 0x0a, 0x07, 2140 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x01, 0x52, 0x07, 0x6d, 2141 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x12, 0x2b, 0x0a, 0x11, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 2142 0x69, 0x76, 0x65, 0x5f, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x18, 0x0e, 0x20, 0x01, 0x28, 2143 0x08, 0x52, 0x10, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x73, 0x69, 0x76, 0x65, 0x4d, 0x69, 0x6e, 0x69, 2144 0x6d, 0x75, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 2145 0x68, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x4c, 0x65, 0x6e, 0x67, 2146 0x74, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x69, 0x6e, 0x5f, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 2147 0x18, 0x10, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x6d, 0x69, 0x6e, 0x4c, 0x65, 0x6e, 0x67, 0x74, 2148 0x68, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x18, 0x11, 0x20, 0x01, 2149 0x28, 0x09, 0x52, 0x07, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 2150 0x61, 0x78, 0x5f, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x14, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 2151 0x6d, 0x61, 0x78, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6e, 0x5f, 2152 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x15, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x6d, 0x69, 0x6e, 2153 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x75, 0x6e, 0x69, 0x71, 0x75, 0x65, 0x5f, 2154 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x16, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x75, 0x6e, 0x69, 2155 0x71, 0x75, 0x65, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x6d, 0x61, 0x78, 0x5f, 2156 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x18, 0x20, 0x01, 0x28, 0x04, 2157 0x52, 0x0d, 0x6d, 0x61, 0x78, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 2158 0x25, 0x0a, 0x0e, 0x6d, 0x69, 0x6e, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 2159 0x73, 0x18, 0x19, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0d, 0x6d, 0x69, 0x6e, 0x50, 0x72, 0x6f, 0x70, 2160 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 2161 0x65, 0x64, 0x18, 0x1a, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 2162 0x65, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x72, 0x72, 0x61, 0x79, 0x18, 0x22, 0x20, 0x03, 0x28, 2163 0x09, 0x52, 0x05, 0x61, 0x72, 0x72, 0x61, 0x79, 0x12, 0x5f, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 2164 0x18, 0x23, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x4b, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 2165 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 2166 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 2167 0x6e, 0x73, 0x2e, 0x4a, 0x53, 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x4a, 0x53, 2168 0x4f, 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x54, 0x79, 2169 0x70, 0x65, 0x73, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x77, 0x0a, 0x15, 0x4a, 0x53, 0x4f, 2170 0x4e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x54, 0x79, 0x70, 2171 0x65, 0x73, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 2172 0x09, 0x0a, 0x05, 0x41, 0x52, 0x52, 0x41, 0x59, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x42, 0x4f, 2173 0x4f, 0x4c, 0x45, 0x41, 0x4e, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x4e, 0x54, 0x45, 0x47, 2174 0x45, 0x52, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x55, 0x4c, 0x4c, 0x10, 0x04, 0x12, 0x0a, 2175 0x0a, 0x06, 0x4e, 0x55, 0x4d, 0x42, 0x45, 0x52, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x42, 2176 0x4a, 0x45, 0x43, 0x54, 0x10, 0x06, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 2177 0x10, 0x07, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x4a, 0x04, 0x08, 0x02, 0x10, 0x03, 0x4a, 0x04, 2178 0x08, 0x04, 0x10, 0x05, 0x4a, 0x04, 0x08, 0x09, 0x10, 0x0a, 0x4a, 0x04, 0x08, 0x12, 0x10, 0x13, 2179 0x4a, 0x04, 0x08, 0x13, 0x10, 0x14, 0x4a, 0x04, 0x08, 0x17, 0x10, 0x18, 0x4a, 0x04, 0x08, 0x1b, 2180 0x10, 0x1c, 0x4a, 0x04, 0x08, 0x1c, 0x10, 0x1d, 0x4a, 0x04, 0x08, 0x1d, 0x10, 0x1e, 0x4a, 0x04, 2181 0x08, 0x1e, 0x10, 0x22, 0x4a, 0x04, 0x08, 0x24, 0x10, 0x2a, 0x4a, 0x04, 0x08, 0x2a, 0x10, 0x2b, 2182 0x4a, 0x04, 0x08, 0x2b, 0x10, 0x2e, 0x22, 0x94, 0x01, 0x0a, 0x03, 0x54, 0x61, 0x67, 0x12, 0x20, 2183 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 2184 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 2185 0x12, 0x65, 0x0a, 0x0d, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x64, 0x6f, 0x63, 2186 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 2187 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 2188 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 2189 0x6f, 0x6e, 0x73, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x75, 2190 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x65, 0x78, 0x74, 0x65, 0x72, 2191 0x6e, 0x61, 0x6c, 0x44, 0x6f, 0x63, 0x73, 0x4a, 0x04, 0x08, 0x01, 0x10, 0x02, 0x22, 0xf7, 0x01, 2192 0x0a, 0x13, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 2193 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x68, 0x0a, 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 2194 0x79, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 2195 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 2196 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 2197 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x44, 0x65, 0x66, 0x69, 2198 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 2199 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x1a, 2200 0x76, 0x0a, 0x0d, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x45, 0x6e, 0x74, 0x72, 0x79, 2201 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 2202 0x65, 0x79, 0x12, 0x4f, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 2203 0x0b, 0x32, 0x39, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 2204 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 2205 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 2206 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x52, 0x05, 0x76, 0x61, 2207 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xff, 0x06, 0x0a, 0x0e, 0x53, 0x65, 0x63, 0x75, 2208 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x52, 0x0a, 0x04, 0x74, 0x79, 2209 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 2210 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 2211 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 2212 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 2213 0x65, 0x6d, 0x65, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x20, 2214 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 2215 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 2216 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 2217 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4c, 0x0a, 0x02, 0x69, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 2218 0x32, 0x3c, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 2219 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 2220 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 2221 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x2e, 0x49, 0x6e, 0x52, 0x02, 2222 0x69, 0x6e, 0x12, 0x52, 0x0a, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 2223 0x32, 0x3e, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 2224 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 2225 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 2226 0x75, 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x2e, 0x46, 0x6c, 0x6f, 0x77, 2227 0x52, 0x04, 0x66, 0x6c, 0x6f, 0x77, 0x12, 0x2b, 0x0a, 0x11, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 2228 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 2229 0x09, 0x52, 0x10, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 2230 0x55, 0x72, 0x6c, 0x12, 0x1b, 0x0a, 0x09, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x5f, 0x75, 0x72, 0x6c, 2231 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x55, 0x72, 0x6c, 2232 0x12, 0x49, 0x0a, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 2233 0x32, 0x31, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 2234 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 2235 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x63, 0x6f, 2236 0x70, 0x65, 0x73, 0x52, 0x06, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x69, 0x0a, 0x0a, 0x65, 2237 0x78, 0x74, 0x65, 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 2238 0x49, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 2239 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 2240 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 2241 0x72, 0x69, 0x74, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x65, 0x2e, 0x45, 0x78, 0x74, 0x65, 0x6e, 2242 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 2243 0x6e, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0x55, 0x0a, 0x0f, 0x45, 0x78, 0x74, 0x65, 0x6e, 0x73, 2244 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 2245 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 2246 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 2247 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x56, 0x61, 0x6c, 2248 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x4b, 0x0a, 2249 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x49, 0x4e, 2250 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x59, 0x50, 0x45, 0x5f, 2251 0x42, 0x41, 0x53, 0x49, 0x43, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 0x54, 0x59, 0x50, 0x45, 0x5f, 2252 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x54, 0x59, 0x50, 2253 0x45, 0x5f, 0x4f, 0x41, 0x55, 0x54, 0x48, 0x32, 0x10, 0x03, 0x22, 0x31, 0x0a, 0x02, 0x49, 0x6e, 2254 0x12, 0x0e, 0x0a, 0x0a, 0x49, 0x4e, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 2255 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x5f, 0x51, 0x55, 0x45, 0x52, 0x59, 0x10, 0x01, 0x12, 0x0d, 2256 0x0a, 0x09, 0x49, 0x4e, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x10, 0x02, 0x22, 0x6a, 0x0a, 2257 0x04, 0x46, 0x6c, 0x6f, 0x77, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x49, 0x4e, 2258 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 2259 0x49, 0x4d, 0x50, 0x4c, 0x49, 0x43, 0x49, 0x54, 0x10, 0x01, 0x12, 0x11, 0x0a, 0x0d, 0x46, 0x4c, 2260 0x4f, 0x57, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x57, 0x4f, 0x52, 0x44, 0x10, 0x02, 0x12, 0x14, 0x0a, 2261 0x10, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x41, 0x50, 0x50, 0x4c, 0x49, 0x43, 0x41, 0x54, 0x49, 0x4f, 2262 0x4e, 0x10, 0x03, 0x12, 0x14, 0x0a, 0x10, 0x46, 0x4c, 0x4f, 0x57, 0x5f, 0x41, 0x43, 0x43, 0x45, 2263 0x53, 0x53, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x04, 0x22, 0xf6, 0x02, 0x0a, 0x13, 0x53, 0x65, 2264 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 2265 0x74, 0x12, 0x8a, 0x01, 0x0a, 0x14, 0x73, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x72, 2266 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 2267 0x32, 0x57, 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 2268 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 2269 0x70, 0x69, 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 2270 0x75, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 2271 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 2272 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x13, 0x73, 0x65, 0x63, 0x75, 0x72, 2273 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x1a, 0x30, 2274 0x0a, 0x18, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 2275 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x63, 2276 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 2277 0x1a, 0x9f, 0x01, 0x0a, 0x18, 0x53, 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 2278 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 2279 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 2280 0x6d, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x57, 2281 0x2e, 0x67, 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 2282 0x6f, 0x74, 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 2283 0x76, 0x32, 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x65, 0x63, 0x75, 0x72, 2284 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x53, 2285 0x65, 0x63, 0x75, 0x72, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x6d, 0x65, 2286 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 2287 0x38, 0x01, 0x22, 0x96, 0x01, 0x0a, 0x06, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x12, 0x52, 0x0a, 2288 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 2289 0x72, 0x70, 0x63, 0x2e, 0x67, 0x61, 0x74, 0x65, 0x77, 0x61, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 2290 0x6f, 0x63, 0x5f, 0x67, 0x65, 0x6e, 0x5f, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 2291 0x2e, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x73, 0x2e, 2292 0x53, 0x63, 0x6f, 0x70, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x73, 0x63, 0x6f, 0x70, 2293 0x65, 0x1a, 0x38, 0x0a, 0x0a, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 2294 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 2295 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 2296 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x2a, 0x3b, 0x0a, 0x06, 0x53, 2297 0x63, 0x68, 0x65, 0x6d, 0x65, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 2298 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 2299 0x48, 0x54, 0x54, 0x50, 0x53, 0x10, 0x02, 0x12, 0x06, 0x0a, 0x02, 0x57, 0x53, 0x10, 0x03, 0x12, 2300 0x07, 0x0a, 0x03, 0x57, 0x53, 0x53, 0x10, 0x04, 0x42, 0x48, 0x5a, 0x46, 0x67, 0x69, 0x74, 0x68, 2301 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x65, 0x63, 0x6f, 0x73, 2302 0x79, 0x73, 0x74, 0x65, 0x6d, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x2d, 0x67, 0x61, 0x74, 0x65, 0x77, 2303 0x61, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x2d, 0x67, 0x65, 0x6e, 2304 0x2d, 0x6f, 0x70, 0x65, 0x6e, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 2305 0x6e, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 2306 } 2307 2308 var ( 2309 file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescOnce sync.Once 2310 file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescData = file_protoc_gen_openapiv2_options_openapiv2_proto_rawDesc 2311 ) 2312 2313 func file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescGZIP() []byte { 2314 file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescOnce.Do(func() { 2315 file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescData = protoimpl.X.CompressGZIP(file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescData) 2316 }) 2317 return file_protoc_gen_openapiv2_options_openapiv2_proto_rawDescData 2318 } 2319 2320 var file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes = make([]protoimpl.EnumInfo, 5) 2321 var file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes = make([]protoimpl.MessageInfo, 26) 2322 var file_protoc_gen_openapiv2_options_openapiv2_proto_goTypes = []interface{}{ 2323 (Scheme)(0), // 0: grpc.gateway.protoc_gen_openapiv2.options.Scheme 2324 (JSONSchema_JSONSchemaSimpleTypes)(0), // 1: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes 2325 (SecurityScheme_Type)(0), // 2: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type 2326 (SecurityScheme_In)(0), // 3: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In 2327 (SecurityScheme_Flow)(0), // 4: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow 2328 (*Swagger)(nil), // 5: grpc.gateway.protoc_gen_openapiv2.options.Swagger 2329 (*Operation)(nil), // 6: grpc.gateway.protoc_gen_openapiv2.options.Operation 2330 (*Response)(nil), // 7: grpc.gateway.protoc_gen_openapiv2.options.Response 2331 (*Info)(nil), // 8: grpc.gateway.protoc_gen_openapiv2.options.Info 2332 (*Contact)(nil), // 9: grpc.gateway.protoc_gen_openapiv2.options.Contact 2333 (*License)(nil), // 10: grpc.gateway.protoc_gen_openapiv2.options.License 2334 (*ExternalDocumentation)(nil), // 11: grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation 2335 (*Schema)(nil), // 12: grpc.gateway.protoc_gen_openapiv2.options.Schema 2336 (*JSONSchema)(nil), // 13: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema 2337 (*Tag)(nil), // 14: grpc.gateway.protoc_gen_openapiv2.options.Tag 2338 (*SecurityDefinitions)(nil), // 15: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions 2339 (*SecurityScheme)(nil), // 16: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme 2340 (*SecurityRequirement)(nil), // 17: grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement 2341 (*Scopes)(nil), // 18: grpc.gateway.protoc_gen_openapiv2.options.Scopes 2342 nil, // 19: grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry 2343 nil, // 20: grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry 2344 nil, // 21: grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry 2345 nil, // 22: grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry 2346 nil, // 23: grpc.gateway.protoc_gen_openapiv2.options.Response.ExamplesEntry 2347 nil, // 24: grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry 2348 nil, // 25: grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry 2349 nil, // 26: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry 2350 nil, // 27: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry 2351 (*SecurityRequirement_SecurityRequirementValue)(nil), // 28: grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue 2352 nil, // 29: grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry 2353 nil, // 30: grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry 2354 (*_struct.Value)(nil), // 31: google.protobuf.Value 2355 } 2356 var file_protoc_gen_openapiv2_options_openapiv2_proto_depIdxs = []int32{ 2357 8, // 0: grpc.gateway.protoc_gen_openapiv2.options.Swagger.info:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Info 2358 0, // 1: grpc.gateway.protoc_gen_openapiv2.options.Swagger.schemes:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Scheme 2359 19, // 2: grpc.gateway.protoc_gen_openapiv2.options.Swagger.responses:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry 2360 15, // 3: grpc.gateway.protoc_gen_openapiv2.options.Swagger.security_definitions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions 2361 17, // 4: grpc.gateway.protoc_gen_openapiv2.options.Swagger.security:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement 2362 11, // 5: grpc.gateway.protoc_gen_openapiv2.options.Swagger.external_docs:type_name -> grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation 2363 20, // 6: grpc.gateway.protoc_gen_openapiv2.options.Swagger.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry 2364 11, // 7: grpc.gateway.protoc_gen_openapiv2.options.Operation.external_docs:type_name -> grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation 2365 21, // 8: grpc.gateway.protoc_gen_openapiv2.options.Operation.responses:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry 2366 0, // 9: grpc.gateway.protoc_gen_openapiv2.options.Operation.schemes:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Scheme 2367 17, // 10: grpc.gateway.protoc_gen_openapiv2.options.Operation.security:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement 2368 22, // 11: grpc.gateway.protoc_gen_openapiv2.options.Operation.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry 2369 12, // 12: grpc.gateway.protoc_gen_openapiv2.options.Response.schema:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Schema 2370 23, // 13: grpc.gateway.protoc_gen_openapiv2.options.Response.examples:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Response.ExamplesEntry 2371 24, // 14: grpc.gateway.protoc_gen_openapiv2.options.Response.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry 2372 9, // 15: grpc.gateway.protoc_gen_openapiv2.options.Info.contact:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Contact 2373 10, // 16: grpc.gateway.protoc_gen_openapiv2.options.Info.license:type_name -> grpc.gateway.protoc_gen_openapiv2.options.License 2374 25, // 17: grpc.gateway.protoc_gen_openapiv2.options.Info.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry 2375 13, // 18: grpc.gateway.protoc_gen_openapiv2.options.Schema.json_schema:type_name -> grpc.gateway.protoc_gen_openapiv2.options.JSONSchema 2376 11, // 19: grpc.gateway.protoc_gen_openapiv2.options.Schema.external_docs:type_name -> grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation 2377 1, // 20: grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.type:type_name -> grpc.gateway.protoc_gen_openapiv2.options.JSONSchema.JSONSchemaSimpleTypes 2378 11, // 21: grpc.gateway.protoc_gen_openapiv2.options.Tag.external_docs:type_name -> grpc.gateway.protoc_gen_openapiv2.options.ExternalDocumentation 2379 26, // 22: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.security:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry 2380 2, // 23: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.type:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Type 2381 3, // 24: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.in:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.In 2382 4, // 25: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.flow:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.Flow 2383 18, // 26: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.scopes:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Scopes 2384 27, // 27: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.extensions:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry 2385 29, // 28: grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.security_requirement:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry 2386 30, // 29: grpc.gateway.protoc_gen_openapiv2.options.Scopes.scope:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Scopes.ScopeEntry 2387 7, // 30: grpc.gateway.protoc_gen_openapiv2.options.Swagger.ResponsesEntry.value:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Response 2388 31, // 31: grpc.gateway.protoc_gen_openapiv2.options.Swagger.ExtensionsEntry.value:type_name -> google.protobuf.Value 2389 7, // 32: grpc.gateway.protoc_gen_openapiv2.options.Operation.ResponsesEntry.value:type_name -> grpc.gateway.protoc_gen_openapiv2.options.Response 2390 31, // 33: grpc.gateway.protoc_gen_openapiv2.options.Operation.ExtensionsEntry.value:type_name -> google.protobuf.Value 2391 31, // 34: grpc.gateway.protoc_gen_openapiv2.options.Response.ExtensionsEntry.value:type_name -> google.protobuf.Value 2392 31, // 35: grpc.gateway.protoc_gen_openapiv2.options.Info.ExtensionsEntry.value:type_name -> google.protobuf.Value 2393 16, // 36: grpc.gateway.protoc_gen_openapiv2.options.SecurityDefinitions.SecurityEntry.value:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme 2394 31, // 37: grpc.gateway.protoc_gen_openapiv2.options.SecurityScheme.ExtensionsEntry.value:type_name -> google.protobuf.Value 2395 28, // 38: grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementEntry.value:type_name -> grpc.gateway.protoc_gen_openapiv2.options.SecurityRequirement.SecurityRequirementValue 2396 39, // [39:39] is the sub-list for method output_type 2397 39, // [39:39] is the sub-list for method input_type 2398 39, // [39:39] is the sub-list for extension type_name 2399 39, // [39:39] is the sub-list for extension extendee 2400 0, // [0:39] is the sub-list for field type_name 2401 } 2402 2403 func init() { file_protoc_gen_openapiv2_options_openapiv2_proto_init() } 2404 func file_protoc_gen_openapiv2_options_openapiv2_proto_init() { 2405 if File_protoc_gen_openapiv2_options_openapiv2_proto != nil { 2406 return 2407 } 2408 if !protoimpl.UnsafeEnabled { 2409 file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 2410 switch v := v.(*Swagger); i { 2411 case 0: 2412 return &v.state 2413 case 1: 2414 return &v.sizeCache 2415 case 2: 2416 return &v.unknownFields 2417 default: 2418 return nil 2419 } 2420 } 2421 file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 2422 switch v := v.(*Operation); i { 2423 case 0: 2424 return &v.state 2425 case 1: 2426 return &v.sizeCache 2427 case 2: 2428 return &v.unknownFields 2429 default: 2430 return nil 2431 } 2432 } 2433 file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 2434 switch v := v.(*Response); i { 2435 case 0: 2436 return &v.state 2437 case 1: 2438 return &v.sizeCache 2439 case 2: 2440 return &v.unknownFields 2441 default: 2442 return nil 2443 } 2444 } 2445 file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 2446 switch v := v.(*Info); i { 2447 case 0: 2448 return &v.state 2449 case 1: 2450 return &v.sizeCache 2451 case 2: 2452 return &v.unknownFields 2453 default: 2454 return nil 2455 } 2456 } 2457 file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 2458 switch v := v.(*Contact); i { 2459 case 0: 2460 return &v.state 2461 case 1: 2462 return &v.sizeCache 2463 case 2: 2464 return &v.unknownFields 2465 default: 2466 return nil 2467 } 2468 } 2469 file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 2470 switch v := v.(*License); i { 2471 case 0: 2472 return &v.state 2473 case 1: 2474 return &v.sizeCache 2475 case 2: 2476 return &v.unknownFields 2477 default: 2478 return nil 2479 } 2480 } 2481 file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { 2482 switch v := v.(*ExternalDocumentation); i { 2483 case 0: 2484 return &v.state 2485 case 1: 2486 return &v.sizeCache 2487 case 2: 2488 return &v.unknownFields 2489 default: 2490 return nil 2491 } 2492 } 2493 file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { 2494 switch v := v.(*Schema); i { 2495 case 0: 2496 return &v.state 2497 case 1: 2498 return &v.sizeCache 2499 case 2: 2500 return &v.unknownFields 2501 default: 2502 return nil 2503 } 2504 } 2505 file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { 2506 switch v := v.(*JSONSchema); i { 2507 case 0: 2508 return &v.state 2509 case 1: 2510 return &v.sizeCache 2511 case 2: 2512 return &v.unknownFields 2513 default: 2514 return nil 2515 } 2516 } 2517 file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { 2518 switch v := v.(*Tag); i { 2519 case 0: 2520 return &v.state 2521 case 1: 2522 return &v.sizeCache 2523 case 2: 2524 return &v.unknownFields 2525 default: 2526 return nil 2527 } 2528 } 2529 file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { 2530 switch v := v.(*SecurityDefinitions); i { 2531 case 0: 2532 return &v.state 2533 case 1: 2534 return &v.sizeCache 2535 case 2: 2536 return &v.unknownFields 2537 default: 2538 return nil 2539 } 2540 } 2541 file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { 2542 switch v := v.(*SecurityScheme); i { 2543 case 0: 2544 return &v.state 2545 case 1: 2546 return &v.sizeCache 2547 case 2: 2548 return &v.unknownFields 2549 default: 2550 return nil 2551 } 2552 } 2553 file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { 2554 switch v := v.(*SecurityRequirement); i { 2555 case 0: 2556 return &v.state 2557 case 1: 2558 return &v.sizeCache 2559 case 2: 2560 return &v.unknownFields 2561 default: 2562 return nil 2563 } 2564 } 2565 file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { 2566 switch v := v.(*Scopes); i { 2567 case 0: 2568 return &v.state 2569 case 1: 2570 return &v.sizeCache 2571 case 2: 2572 return &v.unknownFields 2573 default: 2574 return nil 2575 } 2576 } 2577 file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { 2578 switch v := v.(*SecurityRequirement_SecurityRequirementValue); i { 2579 case 0: 2580 return &v.state 2581 case 1: 2582 return &v.sizeCache 2583 case 2: 2584 return &v.unknownFields 2585 default: 2586 return nil 2587 } 2588 } 2589 } 2590 type x struct{} 2591 out := protoimpl.TypeBuilder{ 2592 File: protoimpl.DescBuilder{ 2593 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 2594 RawDescriptor: file_protoc_gen_openapiv2_options_openapiv2_proto_rawDesc, 2595 NumEnums: 5, 2596 NumMessages: 26, 2597 NumExtensions: 0, 2598 NumServices: 0, 2599 }, 2600 GoTypes: file_protoc_gen_openapiv2_options_openapiv2_proto_goTypes, 2601 DependencyIndexes: file_protoc_gen_openapiv2_options_openapiv2_proto_depIdxs, 2602 EnumInfos: file_protoc_gen_openapiv2_options_openapiv2_proto_enumTypes, 2603 MessageInfos: file_protoc_gen_openapiv2_options_openapiv2_proto_msgTypes, 2604 }.Build() 2605 File_protoc_gen_openapiv2_options_openapiv2_proto = out.File 2606 file_protoc_gen_openapiv2_options_openapiv2_proto_rawDesc = nil 2607 file_protoc_gen_openapiv2_options_openapiv2_proto_goTypes = nil 2608 file_protoc_gen_openapiv2_options_openapiv2_proto_depIdxs = nil 2609 }