github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/api/v2/discovery.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/discovery.proto 6 7 package envoy_api_v2 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 core "github.com/hxx258456/ccgo/go-control-plane/envoy/api/v2/core" 12 proto "github.com/golang/protobuf/proto" 13 any "github.com/golang/protobuf/ptypes/any" 14 status "google.golang.org/genproto/googleapis/rpc/status" 15 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 16 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 17 reflect "reflect" 18 sync "sync" 19 ) 20 21 const ( 22 // Verify that this generated code is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 24 // Verify that runtime/protoimpl is sufficiently up-to-date. 25 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 26 ) 27 28 // This is a compile-time assertion that a sufficiently up-to-date version 29 // of the legacy proto package is being used. 30 const _ = proto.ProtoPackageIsVersion4 31 32 // A DiscoveryRequest requests a set of versioned resources of the same type for 33 // a given Envoy node on some API. 34 // [#next-free-field: 7] 35 type DiscoveryRequest struct { 36 state protoimpl.MessageState 37 sizeCache protoimpl.SizeCache 38 unknownFields protoimpl.UnknownFields 39 40 // The version_info provided in the request messages will be the version_info 41 // received with the most recent successfully processed response or empty on 42 // the first request. It is expected that no new request is sent after a 43 // response is received until the Envoy instance is ready to ACK/NACK the new 44 // configuration. ACK/NACK takes place by returning the new API config version 45 // as applied or the previous API config version respectively. Each type_url 46 // (see below) has an independent version associated with it. 47 VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"` 48 // The node making the request. 49 Node *core.Node `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` 50 // List of resources to subscribe to, e.g. list of cluster names or a route 51 // configuration name. If this is empty, all resources for the API are 52 // returned. LDS/CDS may have empty resource_names, which will cause all 53 // resources for the Envoy instance to be returned. The LDS and CDS responses 54 // will then imply a number of resources that need to be fetched via EDS/RDS, 55 // which will be explicitly enumerated in resource_names. 56 ResourceNames []string `protobuf:"bytes,3,rep,name=resource_names,json=resourceNames,proto3" json:"resource_names,omitempty"` 57 // Type of the resource that is being requested, e.g. 58 // "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment". This is implicit 59 // in requests made via singleton xDS APIs such as CDS, LDS, etc. but is 60 // required for ADS. 61 TypeUrl string `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` 62 // nonce corresponding to DiscoveryResponse being ACK/NACKed. See above 63 // discussion on version_info and the DiscoveryResponse nonce comment. This 64 // may be empty only if 1) this is a non-persistent-stream xDS such as HTTP, 65 // or 2) the client has not yet accepted an update in this xDS stream (unlike 66 // delta, where it is populated only for new explicit ACKs). 67 ResponseNonce string `protobuf:"bytes,5,opt,name=response_nonce,json=responseNonce,proto3" json:"response_nonce,omitempty"` 68 // This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>` 69 // failed to update configuration. The *message* field in *error_details* provides the Envoy 70 // internal exception related to the failure. It is only intended for consumption during manual 71 // debugging, the string provided is not guaranteed to be stable across Envoy versions. 72 ErrorDetail *status.Status `protobuf:"bytes,6,opt,name=error_detail,json=errorDetail,proto3" json:"error_detail,omitempty"` 73 } 74 75 func (x *DiscoveryRequest) Reset() { 76 *x = DiscoveryRequest{} 77 if protoimpl.UnsafeEnabled { 78 mi := &file_envoy_api_v2_discovery_proto_msgTypes[0] 79 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 80 ms.StoreMessageInfo(mi) 81 } 82 } 83 84 func (x *DiscoveryRequest) String() string { 85 return protoimpl.X.MessageStringOf(x) 86 } 87 88 func (*DiscoveryRequest) ProtoMessage() {} 89 90 func (x *DiscoveryRequest) ProtoReflect() protoreflect.Message { 91 mi := &file_envoy_api_v2_discovery_proto_msgTypes[0] 92 if protoimpl.UnsafeEnabled && x != nil { 93 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 94 if ms.LoadMessageInfo() == nil { 95 ms.StoreMessageInfo(mi) 96 } 97 return ms 98 } 99 return mi.MessageOf(x) 100 } 101 102 // Deprecated: Use DiscoveryRequest.ProtoReflect.Descriptor instead. 103 func (*DiscoveryRequest) Descriptor() ([]byte, []int) { 104 return file_envoy_api_v2_discovery_proto_rawDescGZIP(), []int{0} 105 } 106 107 func (x *DiscoveryRequest) GetVersionInfo() string { 108 if x != nil { 109 return x.VersionInfo 110 } 111 return "" 112 } 113 114 func (x *DiscoveryRequest) GetNode() *core.Node { 115 if x != nil { 116 return x.Node 117 } 118 return nil 119 } 120 121 func (x *DiscoveryRequest) GetResourceNames() []string { 122 if x != nil { 123 return x.ResourceNames 124 } 125 return nil 126 } 127 128 func (x *DiscoveryRequest) GetTypeUrl() string { 129 if x != nil { 130 return x.TypeUrl 131 } 132 return "" 133 } 134 135 func (x *DiscoveryRequest) GetResponseNonce() string { 136 if x != nil { 137 return x.ResponseNonce 138 } 139 return "" 140 } 141 142 func (x *DiscoveryRequest) GetErrorDetail() *status.Status { 143 if x != nil { 144 return x.ErrorDetail 145 } 146 return nil 147 } 148 149 // [#next-free-field: 7] 150 type DiscoveryResponse struct { 151 state protoimpl.MessageState 152 sizeCache protoimpl.SizeCache 153 unknownFields protoimpl.UnknownFields 154 155 // The version of the response data. 156 VersionInfo string `protobuf:"bytes,1,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"` 157 // The response resources. These resources are typed and depend on the API being called. 158 Resources []*any.Any `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` 159 // [#not-implemented-hide:] 160 // Canary is used to support two Envoy command line flags: 161 // 162 // * --terminate-on-canary-transition-failure. When set, Envoy is able to 163 // terminate if it detects that configuration is stuck at canary. Consider 164 // this example sequence of updates: 165 // - Management server applies a canary config successfully. 166 // - Management server rolls back to a production config. 167 // - Envoy rejects the new production config. 168 // Since there is no sensible way to continue receiving configuration 169 // updates, Envoy will then terminate and apply production config from a 170 // clean slate. 171 // * --dry-run-canary. When set, a canary response will never be applied, only 172 // validated via a dry run. 173 Canary bool `protobuf:"varint,3,opt,name=canary,proto3" json:"canary,omitempty"` 174 // Type URL for resources. Identifies the xDS API when muxing over ADS. 175 // Must be consistent with the type_url in the 'resources' repeated Any (if non-empty). 176 TypeUrl string `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` 177 // For gRPC based subscriptions, the nonce provides a way to explicitly ack a 178 // specific DiscoveryResponse in a following DiscoveryRequest. Additional 179 // messages may have been sent by Envoy to the management server for the 180 // previous version on the stream prior to this DiscoveryResponse, that were 181 // unprocessed at response send time. The nonce allows the management server 182 // to ignore any further DiscoveryRequests for the previous version until a 183 // DiscoveryRequest bearing the nonce. The nonce is optional and is not 184 // required for non-stream based xDS implementations. 185 Nonce string `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"` 186 // [#not-implemented-hide:] 187 // The control plane instance that sent the response. 188 ControlPlane *core.ControlPlane `protobuf:"bytes,6,opt,name=control_plane,json=controlPlane,proto3" json:"control_plane,omitempty"` 189 } 190 191 func (x *DiscoveryResponse) Reset() { 192 *x = DiscoveryResponse{} 193 if protoimpl.UnsafeEnabled { 194 mi := &file_envoy_api_v2_discovery_proto_msgTypes[1] 195 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 196 ms.StoreMessageInfo(mi) 197 } 198 } 199 200 func (x *DiscoveryResponse) String() string { 201 return protoimpl.X.MessageStringOf(x) 202 } 203 204 func (*DiscoveryResponse) ProtoMessage() {} 205 206 func (x *DiscoveryResponse) ProtoReflect() protoreflect.Message { 207 mi := &file_envoy_api_v2_discovery_proto_msgTypes[1] 208 if protoimpl.UnsafeEnabled && x != nil { 209 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 210 if ms.LoadMessageInfo() == nil { 211 ms.StoreMessageInfo(mi) 212 } 213 return ms 214 } 215 return mi.MessageOf(x) 216 } 217 218 // Deprecated: Use DiscoveryResponse.ProtoReflect.Descriptor instead. 219 func (*DiscoveryResponse) Descriptor() ([]byte, []int) { 220 return file_envoy_api_v2_discovery_proto_rawDescGZIP(), []int{1} 221 } 222 223 func (x *DiscoveryResponse) GetVersionInfo() string { 224 if x != nil { 225 return x.VersionInfo 226 } 227 return "" 228 } 229 230 func (x *DiscoveryResponse) GetResources() []*any.Any { 231 if x != nil { 232 return x.Resources 233 } 234 return nil 235 } 236 237 func (x *DiscoveryResponse) GetCanary() bool { 238 if x != nil { 239 return x.Canary 240 } 241 return false 242 } 243 244 func (x *DiscoveryResponse) GetTypeUrl() string { 245 if x != nil { 246 return x.TypeUrl 247 } 248 return "" 249 } 250 251 func (x *DiscoveryResponse) GetNonce() string { 252 if x != nil { 253 return x.Nonce 254 } 255 return "" 256 } 257 258 func (x *DiscoveryResponse) GetControlPlane() *core.ControlPlane { 259 if x != nil { 260 return x.ControlPlane 261 } 262 return nil 263 } 264 265 // DeltaDiscoveryRequest and DeltaDiscoveryResponse are used in a new gRPC 266 // endpoint for Delta xDS. 267 // 268 // With Delta xDS, the DeltaDiscoveryResponses do not need to include a full 269 // snapshot of the tracked resources. Instead, DeltaDiscoveryResponses are a 270 // diff to the state of a xDS client. 271 // In Delta XDS there are per-resource versions, which allow tracking state at 272 // the resource granularity. 273 // An xDS Delta session is always in the context of a gRPC bidirectional 274 // stream. This allows the xDS server to keep track of the state of xDS clients 275 // connected to it. 276 // 277 // In Delta xDS the nonce field is required and used to pair 278 // DeltaDiscoveryResponse to a DeltaDiscoveryRequest ACK or NACK. 279 // Optionally, a response message level system_version_info is present for 280 // debugging purposes only. 281 // 282 // DeltaDiscoveryRequest plays two independent roles. Any DeltaDiscoveryRequest 283 // can be either or both of: [1] informing the server of what resources the 284 // client has gained/lost interest in (using resource_names_subscribe and 285 // resource_names_unsubscribe), or [2] (N)ACKing an earlier resource update from 286 // the server (using response_nonce, with presence of error_detail making it a NACK). 287 // Additionally, the first message (for a given type_url) of a reconnected gRPC stream 288 // has a third role: informing the server of the resources (and their versions) 289 // that the client already possesses, using the initial_resource_versions field. 290 // 291 // As with state-of-the-world, when multiple resource types are multiplexed (ADS), 292 // all requests/acknowledgments/updates are logically walled off by type_url: 293 // a Cluster ACK exists in a completely separate world from a prior Route NACK. 294 // In particular, initial_resource_versions being sent at the "start" of every 295 // gRPC stream actually entails a message for each type_url, each with its own 296 // initial_resource_versions. 297 // [#next-free-field: 8] 298 type DeltaDiscoveryRequest struct { 299 state protoimpl.MessageState 300 sizeCache protoimpl.SizeCache 301 unknownFields protoimpl.UnknownFields 302 303 // The node making the request. 304 Node *core.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` 305 // Type of the resource that is being requested, e.g. 306 // "type.googleapis.com/envoy.api.v2.ClusterLoadAssignment". 307 TypeUrl string `protobuf:"bytes,2,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` 308 // DeltaDiscoveryRequests allow the client to add or remove individual 309 // resources to the set of tracked resources in the context of a stream. 310 // All resource names in the resource_names_subscribe list are added to the 311 // set of tracked resources and all resource names in the resource_names_unsubscribe 312 // list are removed from the set of tracked resources. 313 // 314 // *Unlike* state-of-the-world xDS, an empty resource_names_subscribe or 315 // resource_names_unsubscribe list simply means that no resources are to be 316 // added or removed to the resource list. 317 // *Like* state-of-the-world xDS, the server must send updates for all tracked 318 // resources, but can also send updates for resources the client has not subscribed to. 319 // 320 // NOTE: the server must respond with all resources listed in resource_names_subscribe, 321 // even if it believes the client has the most recent version of them. The reason: 322 // the client may have dropped them, but then regained interest before it had a chance 323 // to send the unsubscribe message. See DeltaSubscriptionStateTest.RemoveThenAdd. 324 // 325 // These two fields can be set in any DeltaDiscoveryRequest, including ACKs 326 // and initial_resource_versions. 327 // 328 // A list of Resource names to add to the list of tracked resources. 329 ResourceNamesSubscribe []string `protobuf:"bytes,3,rep,name=resource_names_subscribe,json=resourceNamesSubscribe,proto3" json:"resource_names_subscribe,omitempty"` 330 // A list of Resource names to remove from the list of tracked resources. 331 ResourceNamesUnsubscribe []string `protobuf:"bytes,4,rep,name=resource_names_unsubscribe,json=resourceNamesUnsubscribe,proto3" json:"resource_names_unsubscribe,omitempty"` 332 // Informs the server of the versions of the resources the xDS client knows of, to enable the 333 // client to continue the same logical xDS session even in the face of gRPC stream reconnection. 334 // It will not be populated: [1] in the very first stream of a session, since the client will 335 // not yet have any resources, [2] in any message after the first in a stream (for a given 336 // type_url), since the server will already be correctly tracking the client's state. 337 // (In ADS, the first message *of each type_url* of a reconnected stream populates this map.) 338 // The map's keys are names of xDS resources known to the xDS client. 339 // The map's values are opaque resource versions. 340 InitialResourceVersions map[string]string `protobuf:"bytes,5,rep,name=initial_resource_versions,json=initialResourceVersions,proto3" json:"initial_resource_versions,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` 341 // When the DeltaDiscoveryRequest is a ACK or NACK message in response 342 // to a previous DeltaDiscoveryResponse, the response_nonce must be the 343 // nonce in the DeltaDiscoveryResponse. 344 // Otherwise (unlike in DiscoveryRequest) response_nonce must be omitted. 345 ResponseNonce string `protobuf:"bytes,6,opt,name=response_nonce,json=responseNonce,proto3" json:"response_nonce,omitempty"` 346 // This is populated when the previous :ref:`DiscoveryResponse <envoy_api_msg_DiscoveryResponse>` 347 // failed to update configuration. The *message* field in *error_details* 348 // provides the Envoy internal exception related to the failure. 349 ErrorDetail *status.Status `protobuf:"bytes,7,opt,name=error_detail,json=errorDetail,proto3" json:"error_detail,omitempty"` 350 } 351 352 func (x *DeltaDiscoveryRequest) Reset() { 353 *x = DeltaDiscoveryRequest{} 354 if protoimpl.UnsafeEnabled { 355 mi := &file_envoy_api_v2_discovery_proto_msgTypes[2] 356 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 357 ms.StoreMessageInfo(mi) 358 } 359 } 360 361 func (x *DeltaDiscoveryRequest) String() string { 362 return protoimpl.X.MessageStringOf(x) 363 } 364 365 func (*DeltaDiscoveryRequest) ProtoMessage() {} 366 367 func (x *DeltaDiscoveryRequest) ProtoReflect() protoreflect.Message { 368 mi := &file_envoy_api_v2_discovery_proto_msgTypes[2] 369 if protoimpl.UnsafeEnabled && x != nil { 370 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 371 if ms.LoadMessageInfo() == nil { 372 ms.StoreMessageInfo(mi) 373 } 374 return ms 375 } 376 return mi.MessageOf(x) 377 } 378 379 // Deprecated: Use DeltaDiscoveryRequest.ProtoReflect.Descriptor instead. 380 func (*DeltaDiscoveryRequest) Descriptor() ([]byte, []int) { 381 return file_envoy_api_v2_discovery_proto_rawDescGZIP(), []int{2} 382 } 383 384 func (x *DeltaDiscoveryRequest) GetNode() *core.Node { 385 if x != nil { 386 return x.Node 387 } 388 return nil 389 } 390 391 func (x *DeltaDiscoveryRequest) GetTypeUrl() string { 392 if x != nil { 393 return x.TypeUrl 394 } 395 return "" 396 } 397 398 func (x *DeltaDiscoveryRequest) GetResourceNamesSubscribe() []string { 399 if x != nil { 400 return x.ResourceNamesSubscribe 401 } 402 return nil 403 } 404 405 func (x *DeltaDiscoveryRequest) GetResourceNamesUnsubscribe() []string { 406 if x != nil { 407 return x.ResourceNamesUnsubscribe 408 } 409 return nil 410 } 411 412 func (x *DeltaDiscoveryRequest) GetInitialResourceVersions() map[string]string { 413 if x != nil { 414 return x.InitialResourceVersions 415 } 416 return nil 417 } 418 419 func (x *DeltaDiscoveryRequest) GetResponseNonce() string { 420 if x != nil { 421 return x.ResponseNonce 422 } 423 return "" 424 } 425 426 func (x *DeltaDiscoveryRequest) GetErrorDetail() *status.Status { 427 if x != nil { 428 return x.ErrorDetail 429 } 430 return nil 431 } 432 433 // [#next-free-field: 7] 434 type DeltaDiscoveryResponse struct { 435 state protoimpl.MessageState 436 sizeCache protoimpl.SizeCache 437 unknownFields protoimpl.UnknownFields 438 439 // The version of the response data (used for debugging). 440 SystemVersionInfo string `protobuf:"bytes,1,opt,name=system_version_info,json=systemVersionInfo,proto3" json:"system_version_info,omitempty"` 441 // The response resources. These are typed resources, whose types must match 442 // the type_url field. 443 Resources []*Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"` 444 // Type URL for resources. Identifies the xDS API when muxing over ADS. 445 // Must be consistent with the type_url in the Any within 'resources' if 'resources' is non-empty. 446 TypeUrl string `protobuf:"bytes,4,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` 447 // Resources names of resources that have be deleted and to be removed from the xDS Client. 448 // Removed resources for missing resources can be ignored. 449 RemovedResources []string `protobuf:"bytes,6,rep,name=removed_resources,json=removedResources,proto3" json:"removed_resources,omitempty"` 450 // The nonce provides a way for DeltaDiscoveryRequests to uniquely 451 // reference a DeltaDiscoveryResponse when (N)ACKing. The nonce is required. 452 Nonce string `protobuf:"bytes,5,opt,name=nonce,proto3" json:"nonce,omitempty"` 453 } 454 455 func (x *DeltaDiscoveryResponse) Reset() { 456 *x = DeltaDiscoveryResponse{} 457 if protoimpl.UnsafeEnabled { 458 mi := &file_envoy_api_v2_discovery_proto_msgTypes[3] 459 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 460 ms.StoreMessageInfo(mi) 461 } 462 } 463 464 func (x *DeltaDiscoveryResponse) String() string { 465 return protoimpl.X.MessageStringOf(x) 466 } 467 468 func (*DeltaDiscoveryResponse) ProtoMessage() {} 469 470 func (x *DeltaDiscoveryResponse) ProtoReflect() protoreflect.Message { 471 mi := &file_envoy_api_v2_discovery_proto_msgTypes[3] 472 if protoimpl.UnsafeEnabled && x != nil { 473 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 474 if ms.LoadMessageInfo() == nil { 475 ms.StoreMessageInfo(mi) 476 } 477 return ms 478 } 479 return mi.MessageOf(x) 480 } 481 482 // Deprecated: Use DeltaDiscoveryResponse.ProtoReflect.Descriptor instead. 483 func (*DeltaDiscoveryResponse) Descriptor() ([]byte, []int) { 484 return file_envoy_api_v2_discovery_proto_rawDescGZIP(), []int{3} 485 } 486 487 func (x *DeltaDiscoveryResponse) GetSystemVersionInfo() string { 488 if x != nil { 489 return x.SystemVersionInfo 490 } 491 return "" 492 } 493 494 func (x *DeltaDiscoveryResponse) GetResources() []*Resource { 495 if x != nil { 496 return x.Resources 497 } 498 return nil 499 } 500 501 func (x *DeltaDiscoveryResponse) GetTypeUrl() string { 502 if x != nil { 503 return x.TypeUrl 504 } 505 return "" 506 } 507 508 func (x *DeltaDiscoveryResponse) GetRemovedResources() []string { 509 if x != nil { 510 return x.RemovedResources 511 } 512 return nil 513 } 514 515 func (x *DeltaDiscoveryResponse) GetNonce() string { 516 if x != nil { 517 return x.Nonce 518 } 519 return "" 520 } 521 522 type Resource struct { 523 state protoimpl.MessageState 524 sizeCache protoimpl.SizeCache 525 unknownFields protoimpl.UnknownFields 526 527 // The resource's name, to distinguish it from others of the same type of resource. 528 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` 529 // The aliases are a list of other names that this resource can go by. 530 Aliases []string `protobuf:"bytes,4,rep,name=aliases,proto3" json:"aliases,omitempty"` 531 // The resource level version. It allows xDS to track the state of individual 532 // resources. 533 Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` 534 // The resource being tracked. 535 Resource *any.Any `protobuf:"bytes,2,opt,name=resource,proto3" json:"resource,omitempty"` 536 } 537 538 func (x *Resource) Reset() { 539 *x = Resource{} 540 if protoimpl.UnsafeEnabled { 541 mi := &file_envoy_api_v2_discovery_proto_msgTypes[4] 542 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 543 ms.StoreMessageInfo(mi) 544 } 545 } 546 547 func (x *Resource) String() string { 548 return protoimpl.X.MessageStringOf(x) 549 } 550 551 func (*Resource) ProtoMessage() {} 552 553 func (x *Resource) ProtoReflect() protoreflect.Message { 554 mi := &file_envoy_api_v2_discovery_proto_msgTypes[4] 555 if protoimpl.UnsafeEnabled && x != nil { 556 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 557 if ms.LoadMessageInfo() == nil { 558 ms.StoreMessageInfo(mi) 559 } 560 return ms 561 } 562 return mi.MessageOf(x) 563 } 564 565 // Deprecated: Use Resource.ProtoReflect.Descriptor instead. 566 func (*Resource) Descriptor() ([]byte, []int) { 567 return file_envoy_api_v2_discovery_proto_rawDescGZIP(), []int{4} 568 } 569 570 func (x *Resource) GetName() string { 571 if x != nil { 572 return x.Name 573 } 574 return "" 575 } 576 577 func (x *Resource) GetAliases() []string { 578 if x != nil { 579 return x.Aliases 580 } 581 return nil 582 } 583 584 func (x *Resource) GetVersion() string { 585 if x != nil { 586 return x.Version 587 } 588 return "" 589 } 590 591 func (x *Resource) GetResource() *any.Any { 592 if x != nil { 593 return x.Resource 594 } 595 return nil 596 } 597 598 var File_envoy_api_v2_discovery_proto protoreflect.FileDescriptor 599 600 var file_envoy_api_v2_discovery_proto_rawDesc = []byte{ 601 0x0a, 0x1c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x64, 602 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 603 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x1a, 0x1c, 0x65, 0x6e, 604 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 605 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 606 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 607 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x72, 0x70, 608 0x63, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 609 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 610 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 611 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 612 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x02, 613 0x0a, 0x10, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 614 0x73, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 615 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 616 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x2b, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 617 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 618 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x6e, 0x6f, 619 0x64, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 620 0x61, 0x6d, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 621 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 622 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x79, 0x70, 623 0x65, 0x55, 0x72, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 624 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x72, 0x65, 625 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x35, 0x0a, 0x0c, 0x65, 626 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 627 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 0x2e, 0x53, 628 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 629 0x69, 0x6c, 0x22, 0xf9, 0x01, 0x0a, 0x11, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 630 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 631 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 632 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x32, 0x0a, 0x09, 0x72, 633 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 634 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 635 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 636 0x16, 0x0a, 0x06, 0x63, 0x61, 0x6e, 0x61, 0x72, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 637 0x06, 0x63, 0x61, 0x6e, 0x61, 0x72, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 638 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x55, 639 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 640 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x44, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 641 0x72, 0x6f, 0x6c, 0x5f, 0x70, 0x6c, 0x61, 0x6e, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 642 0x1f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 643 0x6f, 0x72, 0x65, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 644 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x50, 0x6c, 0x61, 0x6e, 0x65, 0x22, 0xff, 645 0x03, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 646 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2b, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 647 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 648 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 649 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 650 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 651 0x12, 0x38, 0x0a, 0x18, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 652 0x65, 0x73, 0x5f, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x18, 0x03, 0x20, 0x03, 653 0x28, 0x09, 0x52, 0x16, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 654 0x73, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x3c, 0x0a, 0x1a, 0x72, 0x65, 655 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x5f, 0x75, 0x6e, 0x73, 656 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x18, 657 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x55, 0x6e, 0x73, 658 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x7c, 0x0a, 0x19, 0x69, 0x6e, 0x69, 0x74, 659 0x69, 0x61, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x76, 0x65, 0x72, 660 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x40, 0x2e, 0x65, 0x6e, 661 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x44, 0x65, 0x6c, 0x74, 0x61, 662 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 663 0x2e, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 664 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x17, 0x69, 665 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 666 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 667 0x73, 0x65, 0x5f, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 668 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x4e, 0x6f, 0x6e, 0x63, 0x65, 0x12, 0x35, 0x0a, 669 0x0c, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x07, 0x20, 670 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x72, 0x70, 0x63, 671 0x2e, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 672 0x74, 0x61, 0x69, 0x6c, 0x1a, 0x4a, 0x0a, 0x1c, 0x49, 0x6e, 0x69, 0x74, 0x69, 0x61, 0x6c, 0x52, 673 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x45, 674 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 675 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 676 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 677 0x22, 0xdc, 0x01, 0x0a, 0x16, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 678 0x65, 0x72, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2e, 0x0a, 0x13, 0x73, 679 0x79, 0x73, 0x74, 0x65, 0x6d, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x6e, 680 0x66, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 681 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x34, 0x0a, 0x09, 0x72, 682 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 683 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x52, 0x65, 684 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 685 0x73, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 686 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 0x12, 0x2b, 0x0a, 0x11, 687 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 688 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x6d, 0x6f, 0x76, 0x65, 0x64, 689 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x6f, 0x6e, 690 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6e, 0x6f, 0x6e, 0x63, 0x65, 0x22, 691 0x84, 0x01, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 692 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 693 0x12, 0x18, 0x0a, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 694 0x09, 0x52, 0x07, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 695 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 696 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x30, 0x0a, 0x08, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 697 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 698 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x08, 0x72, 0x65, 699 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x42, 0x58, 0x0a, 0x1a, 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 700 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 701 0x69, 0x2e, 0x76, 0x32, 0x42, 0x0e, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x50, 702 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xf2, 0x98, 0xfe, 0x8f, 0x05, 0x1c, 0x12, 0x1a, 0x65, 0x6e, 703 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x64, 0x69, 0x73, 0x63, 704 0x6f, 0x76, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x33, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x01, 705 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 706 } 707 708 var ( 709 file_envoy_api_v2_discovery_proto_rawDescOnce sync.Once 710 file_envoy_api_v2_discovery_proto_rawDescData = file_envoy_api_v2_discovery_proto_rawDesc 711 ) 712 713 func file_envoy_api_v2_discovery_proto_rawDescGZIP() []byte { 714 file_envoy_api_v2_discovery_proto_rawDescOnce.Do(func() { 715 file_envoy_api_v2_discovery_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_api_v2_discovery_proto_rawDescData) 716 }) 717 return file_envoy_api_v2_discovery_proto_rawDescData 718 } 719 720 var file_envoy_api_v2_discovery_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 721 var file_envoy_api_v2_discovery_proto_goTypes = []interface{}{ 722 (*DiscoveryRequest)(nil), // 0: envoy.api.v2.DiscoveryRequest 723 (*DiscoveryResponse)(nil), // 1: envoy.api.v2.DiscoveryResponse 724 (*DeltaDiscoveryRequest)(nil), // 2: envoy.api.v2.DeltaDiscoveryRequest 725 (*DeltaDiscoveryResponse)(nil), // 3: envoy.api.v2.DeltaDiscoveryResponse 726 (*Resource)(nil), // 4: envoy.api.v2.Resource 727 nil, // 5: envoy.api.v2.DeltaDiscoveryRequest.InitialResourceVersionsEntry 728 (*core.Node)(nil), // 6: envoy.api.v2.core.Node 729 (*status.Status)(nil), // 7: google.rpc.Status 730 (*any.Any)(nil), // 8: google.protobuf.Any 731 (*core.ControlPlane)(nil), // 9: envoy.api.v2.core.ControlPlane 732 } 733 var file_envoy_api_v2_discovery_proto_depIdxs = []int32{ 734 6, // 0: envoy.api.v2.DiscoveryRequest.node:type_name -> envoy.api.v2.core.Node 735 7, // 1: envoy.api.v2.DiscoveryRequest.error_detail:type_name -> google.rpc.Status 736 8, // 2: envoy.api.v2.DiscoveryResponse.resources:type_name -> google.protobuf.Any 737 9, // 3: envoy.api.v2.DiscoveryResponse.control_plane:type_name -> envoy.api.v2.core.ControlPlane 738 6, // 4: envoy.api.v2.DeltaDiscoveryRequest.node:type_name -> envoy.api.v2.core.Node 739 5, // 5: envoy.api.v2.DeltaDiscoveryRequest.initial_resource_versions:type_name -> envoy.api.v2.DeltaDiscoveryRequest.InitialResourceVersionsEntry 740 7, // 6: envoy.api.v2.DeltaDiscoveryRequest.error_detail:type_name -> google.rpc.Status 741 4, // 7: envoy.api.v2.DeltaDiscoveryResponse.resources:type_name -> envoy.api.v2.Resource 742 8, // 8: envoy.api.v2.Resource.resource:type_name -> google.protobuf.Any 743 9, // [9:9] is the sub-list for method output_type 744 9, // [9:9] is the sub-list for method input_type 745 9, // [9:9] is the sub-list for extension type_name 746 9, // [9:9] is the sub-list for extension extendee 747 0, // [0:9] is the sub-list for field type_name 748 } 749 750 func init() { file_envoy_api_v2_discovery_proto_init() } 751 func file_envoy_api_v2_discovery_proto_init() { 752 if File_envoy_api_v2_discovery_proto != nil { 753 return 754 } 755 if !protoimpl.UnsafeEnabled { 756 file_envoy_api_v2_discovery_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 757 switch v := v.(*DiscoveryRequest); i { 758 case 0: 759 return &v.state 760 case 1: 761 return &v.sizeCache 762 case 2: 763 return &v.unknownFields 764 default: 765 return nil 766 } 767 } 768 file_envoy_api_v2_discovery_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 769 switch v := v.(*DiscoveryResponse); i { 770 case 0: 771 return &v.state 772 case 1: 773 return &v.sizeCache 774 case 2: 775 return &v.unknownFields 776 default: 777 return nil 778 } 779 } 780 file_envoy_api_v2_discovery_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 781 switch v := v.(*DeltaDiscoveryRequest); 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_discovery_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 793 switch v := v.(*DeltaDiscoveryResponse); 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_discovery_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 805 switch v := v.(*Resource); 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 } 817 type x struct{} 818 out := protoimpl.TypeBuilder{ 819 File: protoimpl.DescBuilder{ 820 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 821 RawDescriptor: file_envoy_api_v2_discovery_proto_rawDesc, 822 NumEnums: 0, 823 NumMessages: 6, 824 NumExtensions: 0, 825 NumServices: 0, 826 }, 827 GoTypes: file_envoy_api_v2_discovery_proto_goTypes, 828 DependencyIndexes: file_envoy_api_v2_discovery_proto_depIdxs, 829 MessageInfos: file_envoy_api_v2_discovery_proto_msgTypes, 830 }.Build() 831 File_envoy_api_v2_discovery_proto = out.File 832 file_envoy_api_v2_discovery_proto_rawDesc = nil 833 file_envoy_api_v2_discovery_proto_goTypes = nil 834 file_envoy_api_v2_discovery_proto_depIdxs = nil 835 }