gitee.com/ks-custle/core-gm@v0.0.0-20230922171213-b83bdd97b62c/go-control-plane/envoy/api/v2/core/config_source.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.25.0 4 // protoc v3.16.0 5 // source: envoy/api/v2/core/config_source.proto 6 7 package envoy_api_v2_core 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 _ "gitee.com/ks-custle/core-gm/go-control-plane/envoy/annotations" 12 _ "github.com/envoyproxy/protoc-gen-validate/validate" 13 proto "github.com/golang/protobuf/proto" 14 duration "github.com/golang/protobuf/ptypes/duration" 15 wrappers "github.com/golang/protobuf/ptypes/wrappers" 16 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 17 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 18 reflect "reflect" 19 sync "sync" 20 ) 21 22 const ( 23 // Verify that this generated code is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 25 // Verify that runtime/protoimpl is sufficiently up-to-date. 26 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 27 ) 28 29 // This is a compile-time assertion that a sufficiently up-to-date version 30 // of the legacy proto package is being used. 31 const _ = proto.ProtoPackageIsVersion4 32 33 // xDS API version. This is used to describe both resource and transport 34 // protocol versions (in distinct configuration fields). 35 type ApiVersion int32 36 37 const ( 38 // When not specified, we assume v2, to ease migration to Envoy's stable API 39 // versioning. If a client does not support v2 (e.g. due to deprecation), this 40 // is an invalid value. 41 // 42 // Deprecated: Do not use. 43 ApiVersion_AUTO ApiVersion = 0 44 // Use xDS v2 API. 45 // 46 // Deprecated: Do not use. 47 ApiVersion_V2 ApiVersion = 1 48 // Use xDS v3 API. 49 ApiVersion_V3 ApiVersion = 2 50 ) 51 52 // Enum value maps for ApiVersion. 53 var ( 54 ApiVersion_name = map[int32]string{ 55 0: "AUTO", 56 1: "V2", 57 2: "V3", 58 } 59 ApiVersion_value = map[string]int32{ 60 "AUTO": 0, 61 "V2": 1, 62 "V3": 2, 63 } 64 ) 65 66 func (x ApiVersion) Enum() *ApiVersion { 67 p := new(ApiVersion) 68 *p = x 69 return p 70 } 71 72 func (x ApiVersion) String() string { 73 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 74 } 75 76 func (ApiVersion) Descriptor() protoreflect.EnumDescriptor { 77 return file_envoy_api_v2_core_config_source_proto_enumTypes[0].Descriptor() 78 } 79 80 func (ApiVersion) Type() protoreflect.EnumType { 81 return &file_envoy_api_v2_core_config_source_proto_enumTypes[0] 82 } 83 84 func (x ApiVersion) Number() protoreflect.EnumNumber { 85 return protoreflect.EnumNumber(x) 86 } 87 88 // Deprecated: Use ApiVersion.Descriptor instead. 89 func (ApiVersion) EnumDescriptor() ([]byte, []int) { 90 return file_envoy_api_v2_core_config_source_proto_rawDescGZIP(), []int{0} 91 } 92 93 // APIs may be fetched via either REST or gRPC. 94 type ApiConfigSource_ApiType int32 95 96 const ( 97 // Ideally this would be 'reserved 0' but one can't reserve the default 98 // value. Instead we throw an exception if this is ever used. 99 // 100 // Deprecated: Do not use. 101 ApiConfigSource_UNSUPPORTED_REST_LEGACY ApiConfigSource_ApiType = 0 102 // REST-JSON v2 API. The `canonical JSON encoding 103 // <https://developers.google.com/protocol-buffers/docs/proto3#json>`_ for 104 // the v2 protos is used. 105 ApiConfigSource_REST ApiConfigSource_ApiType = 1 106 // gRPC v2 API. 107 ApiConfigSource_GRPC ApiConfigSource_ApiType = 2 108 // Using the delta xDS gRPC service, i.e. DeltaDiscovery{Request,Response} 109 // rather than Discovery{Request,Response}. Rather than sending Envoy the entire state 110 // with every update, the xDS server only sends what has changed since the last update. 111 ApiConfigSource_DELTA_GRPC ApiConfigSource_ApiType = 3 112 ) 113 114 // Enum value maps for ApiConfigSource_ApiType. 115 var ( 116 ApiConfigSource_ApiType_name = map[int32]string{ 117 0: "UNSUPPORTED_REST_LEGACY", 118 1: "REST", 119 2: "GRPC", 120 3: "DELTA_GRPC", 121 } 122 ApiConfigSource_ApiType_value = map[string]int32{ 123 "UNSUPPORTED_REST_LEGACY": 0, 124 "REST": 1, 125 "GRPC": 2, 126 "DELTA_GRPC": 3, 127 } 128 ) 129 130 func (x ApiConfigSource_ApiType) Enum() *ApiConfigSource_ApiType { 131 p := new(ApiConfigSource_ApiType) 132 *p = x 133 return p 134 } 135 136 func (x ApiConfigSource_ApiType) String() string { 137 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 138 } 139 140 func (ApiConfigSource_ApiType) Descriptor() protoreflect.EnumDescriptor { 141 return file_envoy_api_v2_core_config_source_proto_enumTypes[1].Descriptor() 142 } 143 144 func (ApiConfigSource_ApiType) Type() protoreflect.EnumType { 145 return &file_envoy_api_v2_core_config_source_proto_enumTypes[1] 146 } 147 148 func (x ApiConfigSource_ApiType) Number() protoreflect.EnumNumber { 149 return protoreflect.EnumNumber(x) 150 } 151 152 // Deprecated: Use ApiConfigSource_ApiType.Descriptor instead. 153 func (ApiConfigSource_ApiType) EnumDescriptor() ([]byte, []int) { 154 return file_envoy_api_v2_core_config_source_proto_rawDescGZIP(), []int{0, 0} 155 } 156 157 // API configuration source. This identifies the API type and cluster that Envoy 158 // will use to fetch an xDS API. 159 // [#next-free-field: 9] 160 type ApiConfigSource struct { 161 state protoimpl.MessageState 162 sizeCache protoimpl.SizeCache 163 unknownFields protoimpl.UnknownFields 164 165 // API type (gRPC, REST, delta gRPC) 166 ApiType ApiConfigSource_ApiType `protobuf:"varint,1,opt,name=api_type,json=apiType,proto3,enum=envoy.api.v2.core.ApiConfigSource_ApiType" json:"api_type,omitempty"` 167 // API version for xDS transport protocol. This describes the xDS gRPC/REST 168 // endpoint and version of [Delta]DiscoveryRequest/Response used on the wire. 169 TransportApiVersion ApiVersion `protobuf:"varint,8,opt,name=transport_api_version,json=transportApiVersion,proto3,enum=envoy.api.v2.core.ApiVersion" json:"transport_api_version,omitempty"` 170 // Cluster names should be used only with REST. If > 1 171 // cluster is defined, clusters will be cycled through if any kind of failure 172 // occurs. 173 // 174 // .. note:: 175 // 176 // The cluster with name ``cluster_name`` must be statically defined and its 177 // type must not be ``EDS``. 178 ClusterNames []string `protobuf:"bytes,2,rep,name=cluster_names,json=clusterNames,proto3" json:"cluster_names,omitempty"` 179 // Multiple gRPC services be provided for GRPC. If > 1 cluster is defined, 180 // services will be cycled through if any kind of failure occurs. 181 GrpcServices []*GrpcService `protobuf:"bytes,4,rep,name=grpc_services,json=grpcServices,proto3" json:"grpc_services,omitempty"` 182 // For REST APIs, the delay between successive polls. 183 RefreshDelay *duration.Duration `protobuf:"bytes,3,opt,name=refresh_delay,json=refreshDelay,proto3" json:"refresh_delay,omitempty"` 184 // For REST APIs, the request timeout. If not set, a default value of 1s will be used. 185 RequestTimeout *duration.Duration `protobuf:"bytes,5,opt,name=request_timeout,json=requestTimeout,proto3" json:"request_timeout,omitempty"` 186 // For GRPC APIs, the rate limit settings. If present, discovery requests made by Envoy will be 187 // rate limited. 188 RateLimitSettings *RateLimitSettings `protobuf:"bytes,6,opt,name=rate_limit_settings,json=rateLimitSettings,proto3" json:"rate_limit_settings,omitempty"` 189 // Skip the node identifier in subsequent discovery requests for streaming gRPC config types. 190 SetNodeOnFirstMessageOnly bool `protobuf:"varint,7,opt,name=set_node_on_first_message_only,json=setNodeOnFirstMessageOnly,proto3" json:"set_node_on_first_message_only,omitempty"` 191 } 192 193 func (x *ApiConfigSource) Reset() { 194 *x = ApiConfigSource{} 195 if protoimpl.UnsafeEnabled { 196 mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[0] 197 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 198 ms.StoreMessageInfo(mi) 199 } 200 } 201 202 func (x *ApiConfigSource) String() string { 203 return protoimpl.X.MessageStringOf(x) 204 } 205 206 func (*ApiConfigSource) ProtoMessage() {} 207 208 func (x *ApiConfigSource) ProtoReflect() protoreflect.Message { 209 mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[0] 210 if protoimpl.UnsafeEnabled && x != nil { 211 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 212 if ms.LoadMessageInfo() == nil { 213 ms.StoreMessageInfo(mi) 214 } 215 return ms 216 } 217 return mi.MessageOf(x) 218 } 219 220 // Deprecated: Use ApiConfigSource.ProtoReflect.Descriptor instead. 221 func (*ApiConfigSource) Descriptor() ([]byte, []int) { 222 return file_envoy_api_v2_core_config_source_proto_rawDescGZIP(), []int{0} 223 } 224 225 func (x *ApiConfigSource) GetApiType() ApiConfigSource_ApiType { 226 if x != nil { 227 return x.ApiType 228 } 229 return ApiConfigSource_UNSUPPORTED_REST_LEGACY 230 } 231 232 func (x *ApiConfigSource) GetTransportApiVersion() ApiVersion { 233 if x != nil { 234 return x.TransportApiVersion 235 } 236 return ApiVersion_AUTO 237 } 238 239 func (x *ApiConfigSource) GetClusterNames() []string { 240 if x != nil { 241 return x.ClusterNames 242 } 243 return nil 244 } 245 246 func (x *ApiConfigSource) GetGrpcServices() []*GrpcService { 247 if x != nil { 248 return x.GrpcServices 249 } 250 return nil 251 } 252 253 func (x *ApiConfigSource) GetRefreshDelay() *duration.Duration { 254 if x != nil { 255 return x.RefreshDelay 256 } 257 return nil 258 } 259 260 func (x *ApiConfigSource) GetRequestTimeout() *duration.Duration { 261 if x != nil { 262 return x.RequestTimeout 263 } 264 return nil 265 } 266 267 func (x *ApiConfigSource) GetRateLimitSettings() *RateLimitSettings { 268 if x != nil { 269 return x.RateLimitSettings 270 } 271 return nil 272 } 273 274 func (x *ApiConfigSource) GetSetNodeOnFirstMessageOnly() bool { 275 if x != nil { 276 return x.SetNodeOnFirstMessageOnly 277 } 278 return false 279 } 280 281 // Aggregated Discovery Service (ADS) options. This is currently empty, but when 282 // set in :ref:`ConfigSource <envoy_api_msg_core.ConfigSource>` can be used to 283 // specify that ADS is to be used. 284 type AggregatedConfigSource struct { 285 state protoimpl.MessageState 286 sizeCache protoimpl.SizeCache 287 unknownFields protoimpl.UnknownFields 288 } 289 290 func (x *AggregatedConfigSource) Reset() { 291 *x = AggregatedConfigSource{} 292 if protoimpl.UnsafeEnabled { 293 mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[1] 294 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 295 ms.StoreMessageInfo(mi) 296 } 297 } 298 299 func (x *AggregatedConfigSource) String() string { 300 return protoimpl.X.MessageStringOf(x) 301 } 302 303 func (*AggregatedConfigSource) ProtoMessage() {} 304 305 func (x *AggregatedConfigSource) ProtoReflect() protoreflect.Message { 306 mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[1] 307 if protoimpl.UnsafeEnabled && x != nil { 308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 309 if ms.LoadMessageInfo() == nil { 310 ms.StoreMessageInfo(mi) 311 } 312 return ms 313 } 314 return mi.MessageOf(x) 315 } 316 317 // Deprecated: Use AggregatedConfigSource.ProtoReflect.Descriptor instead. 318 func (*AggregatedConfigSource) Descriptor() ([]byte, []int) { 319 return file_envoy_api_v2_core_config_source_proto_rawDescGZIP(), []int{1} 320 } 321 322 // [#not-implemented-hide:] 323 // Self-referencing config source options. This is currently empty, but when 324 // set in :ref:`ConfigSource <envoy_api_msg_core.ConfigSource>` can be used to 325 // specify that other data can be obtained from the same server. 326 type SelfConfigSource struct { 327 state protoimpl.MessageState 328 sizeCache protoimpl.SizeCache 329 unknownFields protoimpl.UnknownFields 330 331 // API version for xDS transport protocol. This describes the xDS gRPC/REST 332 // endpoint and version of [Delta]DiscoveryRequest/Response used on the wire. 333 TransportApiVersion ApiVersion `protobuf:"varint,1,opt,name=transport_api_version,json=transportApiVersion,proto3,enum=envoy.api.v2.core.ApiVersion" json:"transport_api_version,omitempty"` 334 } 335 336 func (x *SelfConfigSource) Reset() { 337 *x = SelfConfigSource{} 338 if protoimpl.UnsafeEnabled { 339 mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[2] 340 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 341 ms.StoreMessageInfo(mi) 342 } 343 } 344 345 func (x *SelfConfigSource) String() string { 346 return protoimpl.X.MessageStringOf(x) 347 } 348 349 func (*SelfConfigSource) ProtoMessage() {} 350 351 func (x *SelfConfigSource) ProtoReflect() protoreflect.Message { 352 mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[2] 353 if protoimpl.UnsafeEnabled && x != nil { 354 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 355 if ms.LoadMessageInfo() == nil { 356 ms.StoreMessageInfo(mi) 357 } 358 return ms 359 } 360 return mi.MessageOf(x) 361 } 362 363 // Deprecated: Use SelfConfigSource.ProtoReflect.Descriptor instead. 364 func (*SelfConfigSource) Descriptor() ([]byte, []int) { 365 return file_envoy_api_v2_core_config_source_proto_rawDescGZIP(), []int{2} 366 } 367 368 func (x *SelfConfigSource) GetTransportApiVersion() ApiVersion { 369 if x != nil { 370 return x.TransportApiVersion 371 } 372 return ApiVersion_AUTO 373 } 374 375 // Rate Limit settings to be applied for discovery requests made by Envoy. 376 type RateLimitSettings struct { 377 state protoimpl.MessageState 378 sizeCache protoimpl.SizeCache 379 unknownFields protoimpl.UnknownFields 380 381 // Maximum number of tokens to be used for rate limiting discovery request calls. If not set, a 382 // default value of 100 will be used. 383 MaxTokens *wrappers.UInt32Value `protobuf:"bytes,1,opt,name=max_tokens,json=maxTokens,proto3" json:"max_tokens,omitempty"` 384 // Rate at which tokens will be filled per second. If not set, a default fill rate of 10 tokens 385 // per second will be used. 386 FillRate *wrappers.DoubleValue `protobuf:"bytes,2,opt,name=fill_rate,json=fillRate,proto3" json:"fill_rate,omitempty"` 387 } 388 389 func (x *RateLimitSettings) Reset() { 390 *x = RateLimitSettings{} 391 if protoimpl.UnsafeEnabled { 392 mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[3] 393 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 394 ms.StoreMessageInfo(mi) 395 } 396 } 397 398 func (x *RateLimitSettings) String() string { 399 return protoimpl.X.MessageStringOf(x) 400 } 401 402 func (*RateLimitSettings) ProtoMessage() {} 403 404 func (x *RateLimitSettings) ProtoReflect() protoreflect.Message { 405 mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[3] 406 if protoimpl.UnsafeEnabled && x != nil { 407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 408 if ms.LoadMessageInfo() == nil { 409 ms.StoreMessageInfo(mi) 410 } 411 return ms 412 } 413 return mi.MessageOf(x) 414 } 415 416 // Deprecated: Use RateLimitSettings.ProtoReflect.Descriptor instead. 417 func (*RateLimitSettings) Descriptor() ([]byte, []int) { 418 return file_envoy_api_v2_core_config_source_proto_rawDescGZIP(), []int{3} 419 } 420 421 func (x *RateLimitSettings) GetMaxTokens() *wrappers.UInt32Value { 422 if x != nil { 423 return x.MaxTokens 424 } 425 return nil 426 } 427 428 func (x *RateLimitSettings) GetFillRate() *wrappers.DoubleValue { 429 if x != nil { 430 return x.FillRate 431 } 432 return nil 433 } 434 435 // Configuration for :ref:`listeners <config_listeners>`, :ref:`clusters 436 // <config_cluster_manager>`, :ref:`routes 437 // <envoy_api_msg_RouteConfiguration>`, :ref:`endpoints 438 // <arch_overview_service_discovery>` etc. may either be sourced from the 439 // filesystem or from an xDS API source. Filesystem configs are watched with 440 // inotify for updates. 441 // [#next-free-field: 7] 442 type ConfigSource struct { 443 state protoimpl.MessageState 444 sizeCache protoimpl.SizeCache 445 unknownFields protoimpl.UnknownFields 446 447 // Types that are assignable to ConfigSourceSpecifier: 448 // *ConfigSource_Path 449 // *ConfigSource_ApiConfigSource 450 // *ConfigSource_Ads 451 // *ConfigSource_Self 452 ConfigSourceSpecifier isConfigSource_ConfigSourceSpecifier `protobuf_oneof:"config_source_specifier"` 453 // When this timeout is specified, Envoy will wait no longer than the specified time for first 454 // config response on this xDS subscription during the :ref:`initialization process 455 // <arch_overview_initialization>`. After reaching the timeout, Envoy will move to the next 456 // initialization phase, even if the first config is not delivered yet. The timer is activated 457 // when the xDS API subscription starts, and is disarmed on first config update or on error. 0 458 // means no timeout - Envoy will wait indefinitely for the first xDS config (unless another 459 // timeout applies). The default is 15s. 460 InitialFetchTimeout *duration.Duration `protobuf:"bytes,4,opt,name=initial_fetch_timeout,json=initialFetchTimeout,proto3" json:"initial_fetch_timeout,omitempty"` 461 // API version for xDS resources. This implies the type URLs that the client 462 // will request for resources and the resource type that the client will in 463 // turn expect to be delivered. 464 ResourceApiVersion ApiVersion `protobuf:"varint,6,opt,name=resource_api_version,json=resourceApiVersion,proto3,enum=envoy.api.v2.core.ApiVersion" json:"resource_api_version,omitempty"` 465 } 466 467 func (x *ConfigSource) Reset() { 468 *x = ConfigSource{} 469 if protoimpl.UnsafeEnabled { 470 mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[4] 471 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 472 ms.StoreMessageInfo(mi) 473 } 474 } 475 476 func (x *ConfigSource) String() string { 477 return protoimpl.X.MessageStringOf(x) 478 } 479 480 func (*ConfigSource) ProtoMessage() {} 481 482 func (x *ConfigSource) ProtoReflect() protoreflect.Message { 483 mi := &file_envoy_api_v2_core_config_source_proto_msgTypes[4] 484 if protoimpl.UnsafeEnabled && x != nil { 485 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 486 if ms.LoadMessageInfo() == nil { 487 ms.StoreMessageInfo(mi) 488 } 489 return ms 490 } 491 return mi.MessageOf(x) 492 } 493 494 // Deprecated: Use ConfigSource.ProtoReflect.Descriptor instead. 495 func (*ConfigSource) Descriptor() ([]byte, []int) { 496 return file_envoy_api_v2_core_config_source_proto_rawDescGZIP(), []int{4} 497 } 498 499 func (m *ConfigSource) GetConfigSourceSpecifier() isConfigSource_ConfigSourceSpecifier { 500 if m != nil { 501 return m.ConfigSourceSpecifier 502 } 503 return nil 504 } 505 506 func (x *ConfigSource) GetPath() string { 507 if x, ok := x.GetConfigSourceSpecifier().(*ConfigSource_Path); ok { 508 return x.Path 509 } 510 return "" 511 } 512 513 func (x *ConfigSource) GetApiConfigSource() *ApiConfigSource { 514 if x, ok := x.GetConfigSourceSpecifier().(*ConfigSource_ApiConfigSource); ok { 515 return x.ApiConfigSource 516 } 517 return nil 518 } 519 520 func (x *ConfigSource) GetAds() *AggregatedConfigSource { 521 if x, ok := x.GetConfigSourceSpecifier().(*ConfigSource_Ads); ok { 522 return x.Ads 523 } 524 return nil 525 } 526 527 func (x *ConfigSource) GetSelf() *SelfConfigSource { 528 if x, ok := x.GetConfigSourceSpecifier().(*ConfigSource_Self); ok { 529 return x.Self 530 } 531 return nil 532 } 533 534 func (x *ConfigSource) GetInitialFetchTimeout() *duration.Duration { 535 if x != nil { 536 return x.InitialFetchTimeout 537 } 538 return nil 539 } 540 541 func (x *ConfigSource) GetResourceApiVersion() ApiVersion { 542 if x != nil { 543 return x.ResourceApiVersion 544 } 545 return ApiVersion_AUTO 546 } 547 548 type isConfigSource_ConfigSourceSpecifier interface { 549 isConfigSource_ConfigSourceSpecifier() 550 } 551 552 type ConfigSource_Path struct { 553 // Path on the filesystem to source and watch for configuration updates. 554 // When sourcing configuration for :ref:`secret <envoy_api_msg_auth.Secret>`, 555 // the certificate and key files are also watched for updates. 556 // 557 // .. note:: 558 // 559 // The path to the source must exist at config load time. 560 // 561 // .. note:: 562 // 563 // Envoy will only watch the file path for *moves.* This is because in general only moves 564 // are atomic. The same method of swapping files as is demonstrated in the 565 // :ref:`runtime documentation <config_runtime_symbolic_link_swap>` can be used here also. 566 Path string `protobuf:"bytes,1,opt,name=path,proto3,oneof"` 567 } 568 569 type ConfigSource_ApiConfigSource struct { 570 // API configuration source. 571 ApiConfigSource *ApiConfigSource `protobuf:"bytes,2,opt,name=api_config_source,json=apiConfigSource,proto3,oneof"` 572 } 573 574 type ConfigSource_Ads struct { 575 // When set, ADS will be used to fetch resources. The ADS API configuration 576 // source in the bootstrap configuration is used. 577 Ads *AggregatedConfigSource `protobuf:"bytes,3,opt,name=ads,proto3,oneof"` 578 } 579 580 type ConfigSource_Self struct { 581 // [#not-implemented-hide:] 582 // When set, the client will access the resources from the same server it got the 583 // ConfigSource from, although not necessarily from the same stream. This is similar to the 584 // :ref:`ads<envoy_api_field.ConfigSource.ads>` field, except that the client may use a 585 // different stream to the same server. As a result, this field can be used for things 586 // like LRS that cannot be sent on an ADS stream. It can also be used to link from (e.g.) 587 // LDS to RDS on the same server without requiring the management server to know its name 588 // or required credentials. 589 // [#next-major-version: In xDS v3, consider replacing the ads field with this one, since 590 // this field can implicitly mean to use the same stream in the case where the ConfigSource 591 // is provided via ADS and the specified data can also be obtained via ADS.] 592 Self *SelfConfigSource `protobuf:"bytes,5,opt,name=self,proto3,oneof"` 593 } 594 595 func (*ConfigSource_Path) isConfigSource_ConfigSourceSpecifier() {} 596 597 func (*ConfigSource_ApiConfigSource) isConfigSource_ConfigSourceSpecifier() {} 598 599 func (*ConfigSource_Ads) isConfigSource_ConfigSourceSpecifier() {} 600 601 func (*ConfigSource_Self) isConfigSource_ConfigSourceSpecifier() {} 602 603 var File_envoy_api_v2_core_config_source_proto protoreflect.FileDescriptor 604 605 var file_envoy_api_v2_core_config_source_proto_rawDesc = []byte{ 606 0x0a, 0x25, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 607 0x6f, 0x72, 0x65, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 608 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 609 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x1a, 0x24, 0x65, 0x6e, 0x76, 0x6f, 610 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x67, 0x72, 611 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 612 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 613 0x66, 0x2f, 0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 614 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 615 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 616 0x1a, 0x23, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 617 0x6f, 0x6e, 0x73, 0x2f, 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 618 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 619 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 620 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 621 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 622 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 623 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa6, 0x05, 624 0x0a, 0x0f, 0x41, 0x70, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 625 0x65, 0x12, 0x4f, 0x0a, 0x08, 0x61, 0x70, 0x69, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 626 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 627 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 628 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x41, 0x70, 0x69, 0x54, 0x79, 0x70, 0x65, 0x42, 629 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x07, 0x61, 0x70, 0x69, 0x54, 0x79, 630 0x70, 0x65, 0x12, 0x5b, 0x0a, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x5f, 631 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 632 0x0e, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 633 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 634 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x13, 0x74, 0x72, 0x61, 0x6e, 635 0x73, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 636 0x23, 0x0a, 0x0d, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 637 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 638 0x61, 0x6d, 0x65, 0x73, 0x12, 0x43, 0x0a, 0x0d, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x73, 0x65, 0x72, 639 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x65, 0x6e, 640 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 641 0x47, 0x72, 0x70, 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x0c, 0x67, 0x72, 0x70, 642 0x63, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x3e, 0x0a, 0x0d, 0x72, 0x65, 0x66, 643 0x72, 0x65, 0x73, 0x68, 0x5f, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 644 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 645 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x72, 0x65, 0x66, 646 0x72, 0x65, 0x73, 0x68, 0x44, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x4c, 0x0a, 0x0f, 0x72, 0x65, 0x71, 647 0x75, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x05, 0x20, 0x01, 648 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 649 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x08, 0xfa, 650 0x42, 0x05, 0xaa, 0x01, 0x02, 0x2a, 0x00, 0x52, 0x0e, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 651 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x12, 0x54, 0x0a, 0x13, 0x72, 0x61, 0x74, 0x65, 0x5f, 652 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x5f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x06, 653 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 654 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 655 0x69, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x11, 0x72, 0x61, 0x74, 0x65, 656 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x41, 0x0a, 657 0x1e, 0x73, 0x65, 0x74, 0x5f, 0x6e, 0x6f, 0x64, 0x65, 0x5f, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x72, 658 0x73, 0x74, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 659 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x19, 0x73, 0x65, 0x74, 0x4e, 0x6f, 0x64, 0x65, 0x4f, 0x6e, 660 0x46, 0x69, 0x72, 0x73, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 661 0x22, 0x54, 0x0a, 0x07, 0x41, 0x70, 0x69, 0x54, 0x79, 0x70, 0x65, 0x12, 0x25, 0x0a, 0x17, 0x55, 662 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x5f, 663 0x4c, 0x45, 0x47, 0x41, 0x43, 0x59, 0x10, 0x00, 0x1a, 0x08, 0x08, 0x01, 0xa8, 0xf7, 0xb4, 0x8b, 664 0x02, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x52, 0x45, 0x53, 0x54, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 665 0x47, 0x52, 0x50, 0x43, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x45, 0x4c, 0x54, 0x41, 0x5f, 666 0x47, 0x52, 0x50, 0x43, 0x10, 0x03, 0x22, 0x18, 0x0a, 0x16, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 667 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 668 0x22, 0x6f, 0x0a, 0x10, 0x53, 0x65, 0x6c, 0x66, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 669 0x75, 0x72, 0x63, 0x65, 0x12, 0x5b, 0x0a, 0x15, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 670 0x74, 0x5f, 0x61, 0x70, 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 671 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 672 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 673 0x6f, 0x6e, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x13, 0x74, 0x72, 674 0x61, 0x6e, 0x73, 0x70, 0x6f, 0x72, 0x74, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 675 0x6e, 0x22, 0x9b, 0x01, 0x0a, 0x11, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x53, 676 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x3b, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x74, 677 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 678 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x55, 0x49, 679 0x6e, 0x74, 0x33, 0x32, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x6d, 0x61, 0x78, 0x54, 0x6f, 680 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x49, 0x0a, 0x09, 0x66, 0x69, 0x6c, 0x6c, 0x5f, 0x72, 0x61, 0x74, 681 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 682 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x6f, 0x75, 0x62, 0x6c, 0x65, 683 0x56, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0e, 0xfa, 0x42, 0x0b, 0x12, 0x09, 0x21, 0x00, 0x00, 0x00, 684 0x00, 0x00, 0x00, 0x00, 0x00, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x6c, 0x52, 0x61, 0x74, 0x65, 0x22, 685 0xba, 0x03, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 686 0x12, 0x14, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 687 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x12, 0x50, 0x0a, 0x11, 0x61, 0x70, 0x69, 0x5f, 0x63, 0x6f, 688 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 689 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 690 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 691 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x0f, 0x61, 0x70, 0x69, 0x43, 0x6f, 0x6e, 0x66, 692 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x03, 0x61, 0x64, 0x73, 0x18, 693 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 694 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67, 695 0x61, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 696 0x48, 0x00, 0x52, 0x03, 0x61, 0x64, 0x73, 0x12, 0x39, 0x0a, 0x04, 0x73, 0x65, 0x6c, 0x66, 0x18, 697 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 698 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x53, 0x65, 0x6c, 0x66, 0x43, 0x6f, 699 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x00, 0x52, 0x04, 0x73, 0x65, 700 0x6c, 0x66, 0x12, 0x4d, 0x0a, 0x15, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x66, 0x65, 701 0x74, 0x63, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 702 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 703 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x69, 0x6e, 704 0x69, 0x74, 0x69, 0x61, 0x6c, 0x46, 0x65, 0x74, 0x63, 0x68, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 705 0x74, 0x12, 0x59, 0x0a, 0x14, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x61, 0x70, 706 0x69, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 707 0x1d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 708 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x08, 709 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x12, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 710 0x63, 0x65, 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x1e, 0x0a, 0x17, 711 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x73, 0x70, 712 0x65, 0x63, 0x69, 0x66, 0x69, 0x65, 0x72, 0x12, 0x03, 0xf8, 0x42, 0x01, 0x2a, 0x2e, 0x0a, 0x0a, 713 0x41, 0x70, 0x69, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0c, 0x0a, 0x04, 0x41, 0x55, 714 0x54, 0x4f, 0x10, 0x00, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x0a, 0x0a, 0x02, 0x56, 0x32, 0x10, 0x01, 715 0x1a, 0x02, 0x08, 0x01, 0x12, 0x06, 0x0a, 0x02, 0x56, 0x33, 0x10, 0x02, 0x42, 0x5a, 0x0a, 0x1f, 716 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 717 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x42, 718 0x11, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x50, 0x72, 0x6f, 719 0x74, 0x6f, 0x50, 0x01, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x16, 0x12, 0x14, 0x65, 0x6e, 0x76, 0x6f, 720 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 721 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 722 } 723 724 var ( 725 file_envoy_api_v2_core_config_source_proto_rawDescOnce sync.Once 726 file_envoy_api_v2_core_config_source_proto_rawDescData = file_envoy_api_v2_core_config_source_proto_rawDesc 727 ) 728 729 func file_envoy_api_v2_core_config_source_proto_rawDescGZIP() []byte { 730 file_envoy_api_v2_core_config_source_proto_rawDescOnce.Do(func() { 731 file_envoy_api_v2_core_config_source_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_core_config_source_proto_rawDescData) 732 }) 733 return file_envoy_api_v2_core_config_source_proto_rawDescData 734 } 735 736 var file_envoy_api_v2_core_config_source_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 737 var file_envoy_api_v2_core_config_source_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 738 var file_envoy_api_v2_core_config_source_proto_goTypes = []interface{}{ 739 (ApiVersion)(0), // 0: envoy.api.v2.core.ApiVersion 740 (ApiConfigSource_ApiType)(0), // 1: envoy.api.v2.core.ApiConfigSource.ApiType 741 (*ApiConfigSource)(nil), // 2: envoy.api.v2.core.ApiConfigSource 742 (*AggregatedConfigSource)(nil), // 3: envoy.api.v2.core.AggregatedConfigSource 743 (*SelfConfigSource)(nil), // 4: envoy.api.v2.core.SelfConfigSource 744 (*RateLimitSettings)(nil), // 5: envoy.api.v2.core.RateLimitSettings 745 (*ConfigSource)(nil), // 6: envoy.api.v2.core.ConfigSource 746 (*GrpcService)(nil), // 7: envoy.api.v2.core.GrpcService 747 (*duration.Duration)(nil), // 8: google.protobuf.Duration 748 (*wrappers.UInt32Value)(nil), // 9: google.protobuf.UInt32Value 749 (*wrappers.DoubleValue)(nil), // 10: google.protobuf.DoubleValue 750 } 751 var file_envoy_api_v2_core_config_source_proto_depIdxs = []int32{ 752 1, // 0: envoy.api.v2.core.ApiConfigSource.api_type:type_name -> envoy.api.v2.core.ApiConfigSource.ApiType 753 0, // 1: envoy.api.v2.core.ApiConfigSource.transport_api_version:type_name -> envoy.api.v2.core.ApiVersion 754 7, // 2: envoy.api.v2.core.ApiConfigSource.grpc_services:type_name -> envoy.api.v2.core.GrpcService 755 8, // 3: envoy.api.v2.core.ApiConfigSource.refresh_delay:type_name -> google.protobuf.Duration 756 8, // 4: envoy.api.v2.core.ApiConfigSource.request_timeout:type_name -> google.protobuf.Duration 757 5, // 5: envoy.api.v2.core.ApiConfigSource.rate_limit_settings:type_name -> envoy.api.v2.core.RateLimitSettings 758 0, // 6: envoy.api.v2.core.SelfConfigSource.transport_api_version:type_name -> envoy.api.v2.core.ApiVersion 759 9, // 7: envoy.api.v2.core.RateLimitSettings.max_tokens:type_name -> google.protobuf.UInt32Value 760 10, // 8: envoy.api.v2.core.RateLimitSettings.fill_rate:type_name -> google.protobuf.DoubleValue 761 2, // 9: envoy.api.v2.core.ConfigSource.api_config_source:type_name -> envoy.api.v2.core.ApiConfigSource 762 3, // 10: envoy.api.v2.core.ConfigSource.ads:type_name -> envoy.api.v2.core.AggregatedConfigSource 763 4, // 11: envoy.api.v2.core.ConfigSource.self:type_name -> envoy.api.v2.core.SelfConfigSource 764 8, // 12: envoy.api.v2.core.ConfigSource.initial_fetch_timeout:type_name -> google.protobuf.Duration 765 0, // 13: envoy.api.v2.core.ConfigSource.resource_api_version:type_name -> envoy.api.v2.core.ApiVersion 766 14, // [14:14] is the sub-list for method output_type 767 14, // [14:14] is the sub-list for method input_type 768 14, // [14:14] is the sub-list for extension type_name 769 14, // [14:14] is the sub-list for extension extendee 770 0, // [0:14] is the sub-list for field type_name 771 } 772 773 func init() { file_envoy_api_v2_core_config_source_proto_init() } 774 func file_envoy_api_v2_core_config_source_proto_init() { 775 if File_envoy_api_v2_core_config_source_proto != nil { 776 return 777 } 778 file_envoy_api_v2_core_grpc_service_proto_init() 779 if !protoimpl.UnsafeEnabled { 780 file_envoy_api_v2_core_config_source_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 781 switch v := v.(*ApiConfigSource); i { 782 case 0: 783 return &v.state 784 case 1: 785 return &v.sizeCache 786 case 2: 787 return &v.unknownFields 788 default: 789 return nil 790 } 791 } 792 file_envoy_api_v2_core_config_source_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 793 switch v := v.(*AggregatedConfigSource); i { 794 case 0: 795 return &v.state 796 case 1: 797 return &v.sizeCache 798 case 2: 799 return &v.unknownFields 800 default: 801 return nil 802 } 803 } 804 file_envoy_api_v2_core_config_source_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 805 switch v := v.(*SelfConfigSource); i { 806 case 0: 807 return &v.state 808 case 1: 809 return &v.sizeCache 810 case 2: 811 return &v.unknownFields 812 default: 813 return nil 814 } 815 } 816 file_envoy_api_v2_core_config_source_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 817 switch v := v.(*RateLimitSettings); i { 818 case 0: 819 return &v.state 820 case 1: 821 return &v.sizeCache 822 case 2: 823 return &v.unknownFields 824 default: 825 return nil 826 } 827 } 828 file_envoy_api_v2_core_config_source_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 829 switch v := v.(*ConfigSource); i { 830 case 0: 831 return &v.state 832 case 1: 833 return &v.sizeCache 834 case 2: 835 return &v.unknownFields 836 default: 837 return nil 838 } 839 } 840 } 841 file_envoy_api_v2_core_config_source_proto_msgTypes[4].OneofWrappers = []interface{}{ 842 (*ConfigSource_Path)(nil), 843 (*ConfigSource_ApiConfigSource)(nil), 844 (*ConfigSource_Ads)(nil), 845 (*ConfigSource_Self)(nil), 846 } 847 type x struct{} 848 out := protoimpl.TypeBuilder{ 849 File: protoimpl.DescBuilder{ 850 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 851 RawDescriptor: file_envoy_api_v2_core_config_source_proto_rawDesc, 852 NumEnums: 2, 853 NumMessages: 5, 854 NumExtensions: 0, 855 NumServices: 0, 856 }, 857 GoTypes: file_envoy_api_v2_core_config_source_proto_goTypes, 858 DependencyIndexes: file_envoy_api_v2_core_config_source_proto_depIdxs, 859 EnumInfos: file_envoy_api_v2_core_config_source_proto_enumTypes, 860 MessageInfos: file_envoy_api_v2_core_config_source_proto_msgTypes, 861 }.Build() 862 File_envoy_api_v2_core_config_source_proto = out.File 863 file_envoy_api_v2_core_config_source_proto_rawDesc = nil 864 file_envoy_api_v2_core_config_source_proto_goTypes = nil 865 file_envoy_api_v2_core_config_source_proto_depIdxs = nil 866 }