github.com/hxx258456/ccgo@v0.0.5-0.20230213014102-48b35f46f66f/go-control-plane/envoy/service/status/v3/csds.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/service/status/v3/csds.proto 6 7 package envoy_service_status_v3 8 9 import ( 10 context "context" 11 _ "github.com/cncf/xds/go/udpa/annotations" 12 v32 "github.com/hxx258456/ccgo/go-control-plane/envoy/admin/v3" 13 _ "github.com/hxx258456/ccgo/go-control-plane/envoy/annotations" 14 v31 "github.com/hxx258456/ccgo/go-control-plane/envoy/config/core/v3" 15 v3 "github.com/hxx258456/ccgo/go-control-plane/envoy/type/matcher/v3" 16 proto "github.com/golang/protobuf/proto" 17 any "github.com/golang/protobuf/ptypes/any" 18 timestamp "github.com/golang/protobuf/ptypes/timestamp" 19 _ "google.golang.org/genproto/googleapis/api/annotations" 20 grpc "github.com/hxx258456/ccgo/grpc" 21 codes "github.com/hxx258456/ccgo/grpc/codes" 22 status "github.com/hxx258456/ccgo/grpc/status" 23 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 24 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 25 reflect "reflect" 26 sync "sync" 27 ) 28 29 const ( 30 // Verify that this generated code is sufficiently up-to-date. 31 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 32 // Verify that runtime/protoimpl is sufficiently up-to-date. 33 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 34 ) 35 36 // This is a compile-time assertion that a sufficiently up-to-date version 37 // of the legacy proto package is being used. 38 const _ = proto.ProtoPackageIsVersion4 39 40 // Status of a config from a management server view. 41 type ConfigStatus int32 42 43 const ( 44 // Status info is not available/unknown. 45 ConfigStatus_UNKNOWN ConfigStatus = 0 46 // Management server has sent the config to client and received ACK. 47 ConfigStatus_SYNCED ConfigStatus = 1 48 // Config is not sent. 49 ConfigStatus_NOT_SENT ConfigStatus = 2 50 // Management server has sent the config to client but hasn’t received 51 // ACK/NACK. 52 ConfigStatus_STALE ConfigStatus = 3 53 // Management server has sent the config to client but received NACK. The 54 // attached config dump will be the latest config (the rejected one), since 55 // it is the persisted version in the management server. 56 ConfigStatus_ERROR ConfigStatus = 4 57 ) 58 59 // Enum value maps for ConfigStatus. 60 var ( 61 ConfigStatus_name = map[int32]string{ 62 0: "UNKNOWN", 63 1: "SYNCED", 64 2: "NOT_SENT", 65 3: "STALE", 66 4: "ERROR", 67 } 68 ConfigStatus_value = map[string]int32{ 69 "UNKNOWN": 0, 70 "SYNCED": 1, 71 "NOT_SENT": 2, 72 "STALE": 3, 73 "ERROR": 4, 74 } 75 ) 76 77 func (x ConfigStatus) Enum() *ConfigStatus { 78 p := new(ConfigStatus) 79 *p = x 80 return p 81 } 82 83 func (x ConfigStatus) String() string { 84 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 85 } 86 87 func (ConfigStatus) Descriptor() protoreflect.EnumDescriptor { 88 return file_envoy_service_status_v3_csds_proto_enumTypes[0].Descriptor() 89 } 90 91 func (ConfigStatus) Type() protoreflect.EnumType { 92 return &file_envoy_service_status_v3_csds_proto_enumTypes[0] 93 } 94 95 func (x ConfigStatus) Number() protoreflect.EnumNumber { 96 return protoreflect.EnumNumber(x) 97 } 98 99 // Deprecated: Use ConfigStatus.Descriptor instead. 100 func (ConfigStatus) EnumDescriptor() ([]byte, []int) { 101 return file_envoy_service_status_v3_csds_proto_rawDescGZIP(), []int{0} 102 } 103 104 // Config status from a client-side view. 105 type ClientConfigStatus int32 106 107 const ( 108 // Config status is not available/unknown. 109 ClientConfigStatus_CLIENT_UNKNOWN ClientConfigStatus = 0 110 // Client requested the config but hasn't received any config from management 111 // server yet. 112 ClientConfigStatus_CLIENT_REQUESTED ClientConfigStatus = 1 113 // Client received the config and replied with ACK. 114 ClientConfigStatus_CLIENT_ACKED ClientConfigStatus = 2 115 // Client received the config and replied with NACK. Notably, the attached 116 // config dump is not the NACKed version, but the most recent accepted one. If 117 // no config is accepted yet, the attached config dump will be empty. 118 ClientConfigStatus_CLIENT_NACKED ClientConfigStatus = 3 119 ) 120 121 // Enum value maps for ClientConfigStatus. 122 var ( 123 ClientConfigStatus_name = map[int32]string{ 124 0: "CLIENT_UNKNOWN", 125 1: "CLIENT_REQUESTED", 126 2: "CLIENT_ACKED", 127 3: "CLIENT_NACKED", 128 } 129 ClientConfigStatus_value = map[string]int32{ 130 "CLIENT_UNKNOWN": 0, 131 "CLIENT_REQUESTED": 1, 132 "CLIENT_ACKED": 2, 133 "CLIENT_NACKED": 3, 134 } 135 ) 136 137 func (x ClientConfigStatus) Enum() *ClientConfigStatus { 138 p := new(ClientConfigStatus) 139 *p = x 140 return p 141 } 142 143 func (x ClientConfigStatus) String() string { 144 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 145 } 146 147 func (ClientConfigStatus) Descriptor() protoreflect.EnumDescriptor { 148 return file_envoy_service_status_v3_csds_proto_enumTypes[1].Descriptor() 149 } 150 151 func (ClientConfigStatus) Type() protoreflect.EnumType { 152 return &file_envoy_service_status_v3_csds_proto_enumTypes[1] 153 } 154 155 func (x ClientConfigStatus) Number() protoreflect.EnumNumber { 156 return protoreflect.EnumNumber(x) 157 } 158 159 // Deprecated: Use ClientConfigStatus.Descriptor instead. 160 func (ClientConfigStatus) EnumDescriptor() ([]byte, []int) { 161 return file_envoy_service_status_v3_csds_proto_rawDescGZIP(), []int{1} 162 } 163 164 // Request for client status of clients identified by a list of NodeMatchers. 165 type ClientStatusRequest struct { 166 state protoimpl.MessageState 167 sizeCache protoimpl.SizeCache 168 unknownFields protoimpl.UnknownFields 169 170 // Management server can use these match criteria to identify clients. 171 // The match follows OR semantics. 172 NodeMatchers []*v3.NodeMatcher `protobuf:"bytes,1,rep,name=node_matchers,json=nodeMatchers,proto3" json:"node_matchers,omitempty"` 173 // The node making the csds request. 174 Node *v31.Node `protobuf:"bytes,2,opt,name=node,proto3" json:"node,omitempty"` 175 } 176 177 func (x *ClientStatusRequest) Reset() { 178 *x = ClientStatusRequest{} 179 if protoimpl.UnsafeEnabled { 180 mi := &file_envoy_service_status_v3_csds_proto_msgTypes[0] 181 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 182 ms.StoreMessageInfo(mi) 183 } 184 } 185 186 func (x *ClientStatusRequest) String() string { 187 return protoimpl.X.MessageStringOf(x) 188 } 189 190 func (*ClientStatusRequest) ProtoMessage() {} 191 192 func (x *ClientStatusRequest) ProtoReflect() protoreflect.Message { 193 mi := &file_envoy_service_status_v3_csds_proto_msgTypes[0] 194 if protoimpl.UnsafeEnabled && x != nil { 195 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 196 if ms.LoadMessageInfo() == nil { 197 ms.StoreMessageInfo(mi) 198 } 199 return ms 200 } 201 return mi.MessageOf(x) 202 } 203 204 // Deprecated: Use ClientStatusRequest.ProtoReflect.Descriptor instead. 205 func (*ClientStatusRequest) Descriptor() ([]byte, []int) { 206 return file_envoy_service_status_v3_csds_proto_rawDescGZIP(), []int{0} 207 } 208 209 func (x *ClientStatusRequest) GetNodeMatchers() []*v3.NodeMatcher { 210 if x != nil { 211 return x.NodeMatchers 212 } 213 return nil 214 } 215 216 func (x *ClientStatusRequest) GetNode() *v31.Node { 217 if x != nil { 218 return x.Node 219 } 220 return nil 221 } 222 223 // Detailed config (per xDS) with status. 224 // [#next-free-field: 8] 225 type PerXdsConfig struct { 226 state protoimpl.MessageState 227 sizeCache protoimpl.SizeCache 228 unknownFields protoimpl.UnknownFields 229 230 // Config status generated by management servers. Will not be present if the 231 // CSDS server is an xDS client. 232 Status ConfigStatus `protobuf:"varint,1,opt,name=status,proto3,enum=envoy.service.status.v3.ConfigStatus" json:"status,omitempty"` 233 // Client config status is populated by xDS clients. Will not be present if 234 // the CSDS server is an xDS server. No matter what the client config status 235 // is, xDS clients should always dump the most recent accepted xDS config. 236 // 237 // .. attention:: 238 // This field is deprecated. Use :ref:`ClientResourceStatus 239 // <envoy_v3_api_enum_admin.v3.ClientResourceStatus>` for per-resource 240 // config status instead. 241 // 242 // Deprecated: Do not use. 243 ClientStatus ClientConfigStatus `protobuf:"varint,7,opt,name=client_status,json=clientStatus,proto3,enum=envoy.service.status.v3.ClientConfigStatus" json:"client_status,omitempty"` 244 // Types that are assignable to PerXdsConfig: 245 // *PerXdsConfig_ListenerConfig 246 // *PerXdsConfig_ClusterConfig 247 // *PerXdsConfig_RouteConfig 248 // *PerXdsConfig_ScopedRouteConfig 249 // *PerXdsConfig_EndpointConfig 250 PerXdsConfig isPerXdsConfig_PerXdsConfig `protobuf_oneof:"per_xds_config"` 251 } 252 253 func (x *PerXdsConfig) Reset() { 254 *x = PerXdsConfig{} 255 if protoimpl.UnsafeEnabled { 256 mi := &file_envoy_service_status_v3_csds_proto_msgTypes[1] 257 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 258 ms.StoreMessageInfo(mi) 259 } 260 } 261 262 func (x *PerXdsConfig) String() string { 263 return protoimpl.X.MessageStringOf(x) 264 } 265 266 func (*PerXdsConfig) ProtoMessage() {} 267 268 func (x *PerXdsConfig) ProtoReflect() protoreflect.Message { 269 mi := &file_envoy_service_status_v3_csds_proto_msgTypes[1] 270 if protoimpl.UnsafeEnabled && x != nil { 271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 272 if ms.LoadMessageInfo() == nil { 273 ms.StoreMessageInfo(mi) 274 } 275 return ms 276 } 277 return mi.MessageOf(x) 278 } 279 280 // Deprecated: Use PerXdsConfig.ProtoReflect.Descriptor instead. 281 func (*PerXdsConfig) Descriptor() ([]byte, []int) { 282 return file_envoy_service_status_v3_csds_proto_rawDescGZIP(), []int{1} 283 } 284 285 func (x *PerXdsConfig) GetStatus() ConfigStatus { 286 if x != nil { 287 return x.Status 288 } 289 return ConfigStatus_UNKNOWN 290 } 291 292 // Deprecated: Do not use. 293 func (x *PerXdsConfig) GetClientStatus() ClientConfigStatus { 294 if x != nil { 295 return x.ClientStatus 296 } 297 return ClientConfigStatus_CLIENT_UNKNOWN 298 } 299 300 func (m *PerXdsConfig) GetPerXdsConfig() isPerXdsConfig_PerXdsConfig { 301 if m != nil { 302 return m.PerXdsConfig 303 } 304 return nil 305 } 306 307 func (x *PerXdsConfig) GetListenerConfig() *v32.ListenersConfigDump { 308 if x, ok := x.GetPerXdsConfig().(*PerXdsConfig_ListenerConfig); ok { 309 return x.ListenerConfig 310 } 311 return nil 312 } 313 314 func (x *PerXdsConfig) GetClusterConfig() *v32.ClustersConfigDump { 315 if x, ok := x.GetPerXdsConfig().(*PerXdsConfig_ClusterConfig); ok { 316 return x.ClusterConfig 317 } 318 return nil 319 } 320 321 func (x *PerXdsConfig) GetRouteConfig() *v32.RoutesConfigDump { 322 if x, ok := x.GetPerXdsConfig().(*PerXdsConfig_RouteConfig); ok { 323 return x.RouteConfig 324 } 325 return nil 326 } 327 328 func (x *PerXdsConfig) GetScopedRouteConfig() *v32.ScopedRoutesConfigDump { 329 if x, ok := x.GetPerXdsConfig().(*PerXdsConfig_ScopedRouteConfig); ok { 330 return x.ScopedRouteConfig 331 } 332 return nil 333 } 334 335 func (x *PerXdsConfig) GetEndpointConfig() *v32.EndpointsConfigDump { 336 if x, ok := x.GetPerXdsConfig().(*PerXdsConfig_EndpointConfig); ok { 337 return x.EndpointConfig 338 } 339 return nil 340 } 341 342 type isPerXdsConfig_PerXdsConfig interface { 343 isPerXdsConfig_PerXdsConfig() 344 } 345 346 type PerXdsConfig_ListenerConfig struct { 347 ListenerConfig *v32.ListenersConfigDump `protobuf:"bytes,2,opt,name=listener_config,json=listenerConfig,proto3,oneof"` 348 } 349 350 type PerXdsConfig_ClusterConfig struct { 351 ClusterConfig *v32.ClustersConfigDump `protobuf:"bytes,3,opt,name=cluster_config,json=clusterConfig,proto3,oneof"` 352 } 353 354 type PerXdsConfig_RouteConfig struct { 355 RouteConfig *v32.RoutesConfigDump `protobuf:"bytes,4,opt,name=route_config,json=routeConfig,proto3,oneof"` 356 } 357 358 type PerXdsConfig_ScopedRouteConfig struct { 359 ScopedRouteConfig *v32.ScopedRoutesConfigDump `protobuf:"bytes,5,opt,name=scoped_route_config,json=scopedRouteConfig,proto3,oneof"` 360 } 361 362 type PerXdsConfig_EndpointConfig struct { 363 EndpointConfig *v32.EndpointsConfigDump `protobuf:"bytes,6,opt,name=endpoint_config,json=endpointConfig,proto3,oneof"` 364 } 365 366 func (*PerXdsConfig_ListenerConfig) isPerXdsConfig_PerXdsConfig() {} 367 368 func (*PerXdsConfig_ClusterConfig) isPerXdsConfig_PerXdsConfig() {} 369 370 func (*PerXdsConfig_RouteConfig) isPerXdsConfig_PerXdsConfig() {} 371 372 func (*PerXdsConfig_ScopedRouteConfig) isPerXdsConfig_PerXdsConfig() {} 373 374 func (*PerXdsConfig_EndpointConfig) isPerXdsConfig_PerXdsConfig() {} 375 376 // All xds configs for a particular client. 377 type ClientConfig struct { 378 state protoimpl.MessageState 379 sizeCache protoimpl.SizeCache 380 unknownFields protoimpl.UnknownFields 381 382 // Node for a particular client. 383 Node *v31.Node `protobuf:"bytes,1,opt,name=node,proto3" json:"node,omitempty"` 384 // This field is deprecated in favor of generic_xds_configs which is 385 // much simpler and uniform in structure. 386 // 387 // Deprecated: Do not use. 388 XdsConfig []*PerXdsConfig `protobuf:"bytes,2,rep,name=xds_config,json=xdsConfig,proto3" json:"xds_config,omitempty"` 389 // Represents generic xDS config and the exact config structure depends on 390 // the type URL (like Cluster if it is CDS) 391 GenericXdsConfigs []*ClientConfig_GenericXdsConfig `protobuf:"bytes,3,rep,name=generic_xds_configs,json=genericXdsConfigs,proto3" json:"generic_xds_configs,omitempty"` 392 } 393 394 func (x *ClientConfig) Reset() { 395 *x = ClientConfig{} 396 if protoimpl.UnsafeEnabled { 397 mi := &file_envoy_service_status_v3_csds_proto_msgTypes[2] 398 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 399 ms.StoreMessageInfo(mi) 400 } 401 } 402 403 func (x *ClientConfig) String() string { 404 return protoimpl.X.MessageStringOf(x) 405 } 406 407 func (*ClientConfig) ProtoMessage() {} 408 409 func (x *ClientConfig) ProtoReflect() protoreflect.Message { 410 mi := &file_envoy_service_status_v3_csds_proto_msgTypes[2] 411 if protoimpl.UnsafeEnabled && x != nil { 412 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 413 if ms.LoadMessageInfo() == nil { 414 ms.StoreMessageInfo(mi) 415 } 416 return ms 417 } 418 return mi.MessageOf(x) 419 } 420 421 // Deprecated: Use ClientConfig.ProtoReflect.Descriptor instead. 422 func (*ClientConfig) Descriptor() ([]byte, []int) { 423 return file_envoy_service_status_v3_csds_proto_rawDescGZIP(), []int{2} 424 } 425 426 func (x *ClientConfig) GetNode() *v31.Node { 427 if x != nil { 428 return x.Node 429 } 430 return nil 431 } 432 433 // Deprecated: Do not use. 434 func (x *ClientConfig) GetXdsConfig() []*PerXdsConfig { 435 if x != nil { 436 return x.XdsConfig 437 } 438 return nil 439 } 440 441 func (x *ClientConfig) GetGenericXdsConfigs() []*ClientConfig_GenericXdsConfig { 442 if x != nil { 443 return x.GenericXdsConfigs 444 } 445 return nil 446 } 447 448 type ClientStatusResponse struct { 449 state protoimpl.MessageState 450 sizeCache protoimpl.SizeCache 451 unknownFields protoimpl.UnknownFields 452 453 // Client configs for the clients specified in the ClientStatusRequest. 454 Config []*ClientConfig `protobuf:"bytes,1,rep,name=config,proto3" json:"config,omitempty"` 455 } 456 457 func (x *ClientStatusResponse) Reset() { 458 *x = ClientStatusResponse{} 459 if protoimpl.UnsafeEnabled { 460 mi := &file_envoy_service_status_v3_csds_proto_msgTypes[3] 461 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 462 ms.StoreMessageInfo(mi) 463 } 464 } 465 466 func (x *ClientStatusResponse) String() string { 467 return protoimpl.X.MessageStringOf(x) 468 } 469 470 func (*ClientStatusResponse) ProtoMessage() {} 471 472 func (x *ClientStatusResponse) ProtoReflect() protoreflect.Message { 473 mi := &file_envoy_service_status_v3_csds_proto_msgTypes[3] 474 if protoimpl.UnsafeEnabled && x != nil { 475 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 476 if ms.LoadMessageInfo() == nil { 477 ms.StoreMessageInfo(mi) 478 } 479 return ms 480 } 481 return mi.MessageOf(x) 482 } 483 484 // Deprecated: Use ClientStatusResponse.ProtoReflect.Descriptor instead. 485 func (*ClientStatusResponse) Descriptor() ([]byte, []int) { 486 return file_envoy_service_status_v3_csds_proto_rawDescGZIP(), []int{3} 487 } 488 489 func (x *ClientStatusResponse) GetConfig() []*ClientConfig { 490 if x != nil { 491 return x.Config 492 } 493 return nil 494 } 495 496 // GenericXdsConfig is used to specify the config status and the dump 497 // of any xDS resource identified by their type URL. It is the generalized 498 // version of the now deprecated ListenersConfigDump, ClustersConfigDump etc 499 // [#next-free-field: 10] 500 type ClientConfig_GenericXdsConfig struct { 501 state protoimpl.MessageState 502 sizeCache protoimpl.SizeCache 503 unknownFields protoimpl.UnknownFields 504 505 // Type_url represents the fully qualified name of xDS resource type 506 // like envoy.v3.Cluster, envoy.v3.ClusterLoadAssignment etc. 507 TypeUrl string `protobuf:"bytes,1,opt,name=type_url,json=typeUrl,proto3" json:"type_url,omitempty"` 508 // Name of the xDS resource 509 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` 510 // This is the :ref:`version_info <envoy_v3_api_field_service.discovery.v3.DiscoveryResponse.version_info>` 511 // in the last processed xDS discovery response. If there are only 512 // static bootstrap listeners, this field will be "" 513 VersionInfo string `protobuf:"bytes,3,opt,name=version_info,json=versionInfo,proto3" json:"version_info,omitempty"` 514 // The xDS resource config. Actual content depends on the type 515 XdsConfig *any.Any `protobuf:"bytes,4,opt,name=xds_config,json=xdsConfig,proto3" json:"xds_config,omitempty"` 516 // Timestamp when the xDS resource was last updated 517 LastUpdated *timestamp.Timestamp `protobuf:"bytes,5,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty"` 518 // Per xDS resource config status. It is generated by management servers. 519 // It will not be present if the CSDS server is an xDS client. 520 ConfigStatus ConfigStatus `protobuf:"varint,6,opt,name=config_status,json=configStatus,proto3,enum=envoy.service.status.v3.ConfigStatus" json:"config_status,omitempty"` 521 // Per xDS resource status from the view of a xDS client 522 ClientStatus v32.ClientResourceStatus `protobuf:"varint,7,opt,name=client_status,json=clientStatus,proto3,enum=envoy.admin.v3.ClientResourceStatus" json:"client_status,omitempty"` 523 // Set if the last update failed, cleared after the next successful 524 // update. The *error_state* field contains the rejected version of 525 // this particular resource along with the reason and timestamp. For 526 // successfully updated or acknowledged resource, this field should 527 // be empty. 528 // [#not-implemented-hide:] 529 ErrorState *v32.UpdateFailureState `protobuf:"bytes,8,opt,name=error_state,json=errorState,proto3" json:"error_state,omitempty"` 530 // Is static resource is true if it is specified in the config supplied 531 // through the file at the startup. 532 IsStaticResource bool `protobuf:"varint,9,opt,name=is_static_resource,json=isStaticResource,proto3" json:"is_static_resource,omitempty"` 533 } 534 535 func (x *ClientConfig_GenericXdsConfig) Reset() { 536 *x = ClientConfig_GenericXdsConfig{} 537 if protoimpl.UnsafeEnabled { 538 mi := &file_envoy_service_status_v3_csds_proto_msgTypes[4] 539 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 540 ms.StoreMessageInfo(mi) 541 } 542 } 543 544 func (x *ClientConfig_GenericXdsConfig) String() string { 545 return protoimpl.X.MessageStringOf(x) 546 } 547 548 func (*ClientConfig_GenericXdsConfig) ProtoMessage() {} 549 550 func (x *ClientConfig_GenericXdsConfig) ProtoReflect() protoreflect.Message { 551 mi := &file_envoy_service_status_v3_csds_proto_msgTypes[4] 552 if protoimpl.UnsafeEnabled && x != nil { 553 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 554 if ms.LoadMessageInfo() == nil { 555 ms.StoreMessageInfo(mi) 556 } 557 return ms 558 } 559 return mi.MessageOf(x) 560 } 561 562 // Deprecated: Use ClientConfig_GenericXdsConfig.ProtoReflect.Descriptor instead. 563 func (*ClientConfig_GenericXdsConfig) Descriptor() ([]byte, []int) { 564 return file_envoy_service_status_v3_csds_proto_rawDescGZIP(), []int{2, 0} 565 } 566 567 func (x *ClientConfig_GenericXdsConfig) GetTypeUrl() string { 568 if x != nil { 569 return x.TypeUrl 570 } 571 return "" 572 } 573 574 func (x *ClientConfig_GenericXdsConfig) GetName() string { 575 if x != nil { 576 return x.Name 577 } 578 return "" 579 } 580 581 func (x *ClientConfig_GenericXdsConfig) GetVersionInfo() string { 582 if x != nil { 583 return x.VersionInfo 584 } 585 return "" 586 } 587 588 func (x *ClientConfig_GenericXdsConfig) GetXdsConfig() *any.Any { 589 if x != nil { 590 return x.XdsConfig 591 } 592 return nil 593 } 594 595 func (x *ClientConfig_GenericXdsConfig) GetLastUpdated() *timestamp.Timestamp { 596 if x != nil { 597 return x.LastUpdated 598 } 599 return nil 600 } 601 602 func (x *ClientConfig_GenericXdsConfig) GetConfigStatus() ConfigStatus { 603 if x != nil { 604 return x.ConfigStatus 605 } 606 return ConfigStatus_UNKNOWN 607 } 608 609 func (x *ClientConfig_GenericXdsConfig) GetClientStatus() v32.ClientResourceStatus { 610 if x != nil { 611 return x.ClientStatus 612 } 613 return v32.ClientResourceStatus_UNKNOWN 614 } 615 616 func (x *ClientConfig_GenericXdsConfig) GetErrorState() *v32.UpdateFailureState { 617 if x != nil { 618 return x.ErrorState 619 } 620 return nil 621 } 622 623 func (x *ClientConfig_GenericXdsConfig) GetIsStaticResource() bool { 624 if x != nil { 625 return x.IsStaticResource 626 } 627 return false 628 } 629 630 var File_envoy_service_status_v3_csds_proto protoreflect.FileDescriptor 631 632 var file_envoy_service_status_v3_csds_proto_rawDesc = []byte{ 633 0x0a, 0x22, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 634 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x73, 0x64, 0x73, 0x2e, 0x70, 635 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 636 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x76, 0x33, 0x1a, 0x20, 0x65, 637 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2f, 0x76, 0x33, 0x2f, 0x63, 0x6f, 638 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x64, 0x75, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 639 0x1f, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x63, 0x6f, 640 0x72, 0x65, 0x2f, 0x76, 0x33, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 641 0x1a, 0x20, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6d, 0x61, 0x74, 642 0x63, 0x68, 0x65, 0x72, 0x2f, 0x76, 0x33, 0x2f, 0x6e, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 643 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 644 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 645 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 646 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 647 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 648 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x23, 0x65, 0x6e, 649 0x76, 0x6f, 0x79, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 650 0x64, 0x65, 0x70, 0x72, 0x65, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 651 0x6f, 0x1a, 0x1d, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 652 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 653 0x1a, 0x21, 0x75, 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 654 0x6e, 0x73, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 655 0x6f, 0x74, 0x6f, 0x22, 0xc2, 0x01, 0x0a, 0x13, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 656 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x47, 0x0a, 0x0d, 0x6e, 657 0x6f, 0x64, 0x65, 0x5f, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 658 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 659 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x4d, 660 0x61, 0x74, 0x63, 0x68, 0x65, 0x72, 0x52, 0x0c, 0x6e, 0x6f, 0x64, 0x65, 0x4d, 0x61, 0x74, 0x63, 661 0x68, 0x65, 0x72, 0x73, 0x12, 0x2e, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 662 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 0x69, 663 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 0x04, 664 0x6e, 0x6f, 0x64, 0x65, 0x3a, 0x32, 0x9a, 0xc5, 0x88, 0x1e, 0x2d, 0x0a, 0x2b, 0x65, 0x6e, 0x76, 665 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 666 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 667 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xf9, 0x04, 0x0a, 0x0c, 0x50, 0x65, 0x72, 668 0x58, 0x64, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3d, 0x0a, 0x06, 0x73, 0x74, 0x61, 669 0x74, 0x75, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 670 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 671 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 672 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x5d, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 673 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 674 0x2b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 675 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 676 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42, 0x0b, 0x18, 0x01, 677 0x92, 0xc7, 0x86, 0xd8, 0x04, 0x03, 0x33, 0x2e, 0x30, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 678 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4e, 0x0a, 0x0f, 0x6c, 0x69, 0x73, 0x74, 0x65, 679 0x6e, 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 680 0x32, 0x23, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 681 0x33, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 682 0x67, 0x44, 0x75, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x0e, 0x6c, 0x69, 0x73, 0x74, 0x65, 0x6e, 0x65, 683 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4b, 0x0a, 0x0e, 0x63, 0x6c, 0x75, 0x73, 0x74, 684 0x65, 0x72, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 685 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 686 0x2e, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 687 0x75, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x0d, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x43, 0x6f, 688 0x6e, 0x66, 0x69, 0x67, 0x12, 0x45, 0x0a, 0x0c, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f, 689 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x65, 0x6e, 0x76, 690 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x52, 0x6f, 0x75, 0x74, 691 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x0b, 692 0x72, 0x6f, 0x75, 0x74, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x58, 0x0a, 0x13, 0x73, 693 0x63, 0x6f, 0x70, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 694 0x69, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 695 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x53, 0x63, 0x6f, 0x70, 0x65, 0x64, 696 0x52, 0x6f, 0x75, 0x74, 0x65, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 0x75, 0x6d, 0x70, 697 0x48, 0x00, 0x52, 0x11, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x64, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x43, 698 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4e, 0x0a, 0x0f, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 699 0x74, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 700 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 701 0x45, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x44, 702 0x75, 0x6d, 0x70, 0x48, 0x00, 0x52, 0x0e, 0x65, 0x6e, 0x64, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x43, 703 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x2b, 0x9a, 0xc5, 0x88, 0x1e, 0x26, 0x0a, 0x24, 0x65, 0x6e, 704 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 705 0x75, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x50, 0x65, 0x72, 0x58, 0x64, 0x73, 0x43, 0x6f, 0x6e, 0x66, 706 0x69, 0x67, 0x42, 0x10, 0x0a, 0x0e, 0x70, 0x65, 0x72, 0x5f, 0x78, 0x64, 0x73, 0x5f, 0x63, 0x6f, 707 0x6e, 0x66, 0x69, 0x67, 0x22, 0x8b, 0x06, 0x0a, 0x0c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 708 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2e, 0x0a, 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 709 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x63, 0x6f, 0x6e, 0x66, 710 0x69, 0x67, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x33, 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x52, 711 0x04, 0x6e, 0x6f, 0x64, 0x65, 0x12, 0x51, 0x0a, 0x0a, 0x78, 0x64, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 712 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 713 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 714 0x2e, 0x76, 0x33, 0x2e, 0x50, 0x65, 0x72, 0x58, 0x64, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 715 0x42, 0x0b, 0x18, 0x01, 0x92, 0xc7, 0x86, 0xd8, 0x04, 0x03, 0x33, 0x2e, 0x30, 0x52, 0x09, 0x78, 716 0x64, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x66, 0x0a, 0x13, 0x67, 0x65, 0x6e, 0x65, 717 0x72, 0x69, 0x63, 0x5f, 0x78, 0x64, 0x73, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 718 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 719 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x76, 0x33, 0x2e, 720 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x47, 0x65, 0x6e, 721 0x65, 0x72, 0x69, 0x63, 0x58, 0x64, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x11, 0x67, 722 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x58, 0x64, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 723 0x1a, 0xe2, 0x03, 0x0a, 0x10, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x69, 0x63, 0x58, 0x64, 0x73, 0x43, 724 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x19, 0x0a, 0x08, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x75, 0x72, 725 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x74, 0x79, 0x70, 0x65, 0x55, 0x72, 0x6c, 726 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 727 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 728 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x76, 0x65, 0x72, 0x73, 729 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x33, 0x0a, 0x0a, 0x78, 0x64, 0x73, 0x5f, 0x63, 730 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 731 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 732 0x79, 0x52, 0x09, 0x78, 0x64, 0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x3d, 0x0a, 0x0c, 733 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 734 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 735 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 736 0x6c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x12, 0x4a, 0x0a, 0x0d, 0x63, 737 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 738 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 739 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6f, 0x6e, 740 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x66, 0x69, 741 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x49, 0x0a, 0x0d, 0x63, 0x6c, 0x69, 0x65, 0x6e, 742 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x24, 743 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 744 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x53, 0x74, 745 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 746 0x75, 0x73, 0x12, 0x43, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 747 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 748 0x61, 0x64, 0x6d, 0x69, 0x6e, 0x2e, 0x76, 0x33, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x46, 749 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x65, 0x72, 0x72, 750 0x6f, 0x72, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x69, 0x73, 0x5f, 0x73, 0x74, 751 0x61, 0x74, 0x69, 0x63, 0x5f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x09, 0x20, 752 0x01, 0x28, 0x08, 0x52, 0x10, 0x69, 0x73, 0x53, 0x74, 0x61, 0x74, 0x69, 0x63, 0x52, 0x65, 0x73, 753 0x6f, 0x75, 0x72, 0x63, 0x65, 0x3a, 0x2b, 0x9a, 0xc5, 0x88, 0x1e, 0x26, 0x0a, 0x24, 0x65, 0x6e, 754 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 755 0x75, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 756 0x69, 0x67, 0x22, 0x8a, 0x01, 0x0a, 0x14, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 757 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x06, 0x63, 758 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x65, 0x6e, 759 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 760 0x75, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 761 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x3a, 0x33, 0x9a, 0xc5, 0x88, 0x1e, 762 0x2e, 0x0a, 0x2c, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 763 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x76, 0x32, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 764 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 765 0x4b, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 766 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 767 0x53, 0x59, 0x4e, 0x43, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x4f, 0x54, 0x5f, 768 0x53, 0x45, 0x4e, 0x54, 0x10, 0x02, 0x12, 0x09, 0x0a, 0x05, 0x53, 0x54, 0x41, 0x4c, 0x45, 0x10, 769 0x03, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x04, 0x2a, 0x63, 0x0a, 0x12, 770 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x74, 0x61, 0x74, 771 0x75, 0x73, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x55, 0x4e, 0x4b, 772 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 773 0x5f, 0x52, 0x45, 0x51, 0x55, 0x45, 0x53, 0x54, 0x45, 0x44, 0x10, 0x01, 0x12, 0x10, 0x0a, 0x0c, 774 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x41, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x02, 0x12, 0x11, 775 0x0a, 0x0d, 0x43, 0x4c, 0x49, 0x45, 0x4e, 0x54, 0x5f, 0x4e, 0x41, 0x43, 0x4b, 0x45, 0x44, 0x10, 776 0x03, 0x32, 0xb8, 0x02, 0x0a, 0x1c, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 777 0x75, 0x73, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65, 0x72, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 778 0x63, 0x65, 0x12, 0x77, 0x0a, 0x12, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x43, 0x6c, 0x69, 0x65, 779 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 780 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 781 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 782 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 783 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x76, 0x33, 784 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 785 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x12, 0x9e, 0x01, 0x0a, 0x11, 786 0x46, 0x65, 0x74, 0x63, 0x68, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 787 0x73, 0x12, 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 788 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x69, 0x65, 789 0x6e, 0x74, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 790 0x2d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 791 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x43, 0x6c, 0x69, 0x65, 0x6e, 0x74, 792 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2c, 793 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x22, 0x1b, 0x2f, 0x76, 0x33, 0x2f, 0x64, 0x69, 0x73, 0x63, 794 0x6f, 0x76, 0x65, 0x72, 0x79, 0x3a, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 795 0x74, 0x75, 0x73, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x03, 0x3a, 0x01, 0x2a, 0x42, 0x3f, 0x0a, 0x25, 796 0x69, 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 797 0x76, 0x6f, 0x79, 0x2e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x73, 0x74, 0x61, 0x74, 798 0x75, 0x73, 0x2e, 0x76, 0x33, 0x42, 0x09, 0x43, 0x73, 0x64, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f, 799 0x50, 0x01, 0x88, 0x01, 0x01, 0xba, 0x80, 0xc8, 0xd1, 0x06, 0x02, 0x10, 0x02, 0x62, 0x06, 0x70, 800 0x72, 0x6f, 0x74, 0x6f, 0x33, 801 } 802 803 var ( 804 file_envoy_service_status_v3_csds_proto_rawDescOnce sync.Once 805 file_envoy_service_status_v3_csds_proto_rawDescData = file_envoy_service_status_v3_csds_proto_rawDesc 806 ) 807 808 func file_envoy_service_status_v3_csds_proto_rawDescGZIP() []byte { 809 file_envoy_service_status_v3_csds_proto_rawDescOnce.Do(func() { 810 file_envoy_service_status_v3_csds_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_service_status_v3_csds_proto_rawDescData) 811 }) 812 return file_envoy_service_status_v3_csds_proto_rawDescData 813 } 814 815 var file_envoy_service_status_v3_csds_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 816 var file_envoy_service_status_v3_csds_proto_msgTypes = make([]protoimpl.MessageInfo, 5) 817 var file_envoy_service_status_v3_csds_proto_goTypes = []interface{}{ 818 (ConfigStatus)(0), // 0: envoy.service.status.v3.ConfigStatus 819 (ClientConfigStatus)(0), // 1: envoy.service.status.v3.ClientConfigStatus 820 (*ClientStatusRequest)(nil), // 2: envoy.service.status.v3.ClientStatusRequest 821 (*PerXdsConfig)(nil), // 3: envoy.service.status.v3.PerXdsConfig 822 (*ClientConfig)(nil), // 4: envoy.service.status.v3.ClientConfig 823 (*ClientStatusResponse)(nil), // 5: envoy.service.status.v3.ClientStatusResponse 824 (*ClientConfig_GenericXdsConfig)(nil), // 6: envoy.service.status.v3.ClientConfig.GenericXdsConfig 825 (*v3.NodeMatcher)(nil), // 7: envoy.type.matcher.v3.NodeMatcher 826 (*v31.Node)(nil), // 8: envoy.config.core.v3.Node 827 (*v32.ListenersConfigDump)(nil), // 9: envoy.admin.v3.ListenersConfigDump 828 (*v32.ClustersConfigDump)(nil), // 10: envoy.admin.v3.ClustersConfigDump 829 (*v32.RoutesConfigDump)(nil), // 11: envoy.admin.v3.RoutesConfigDump 830 (*v32.ScopedRoutesConfigDump)(nil), // 12: envoy.admin.v3.ScopedRoutesConfigDump 831 (*v32.EndpointsConfigDump)(nil), // 13: envoy.admin.v3.EndpointsConfigDump 832 (*any.Any)(nil), // 14: google.protobuf.Any 833 (*timestamp.Timestamp)(nil), // 15: google.protobuf.Timestamp 834 (v32.ClientResourceStatus)(0), // 16: envoy.admin.v3.ClientResourceStatus 835 (*v32.UpdateFailureState)(nil), // 17: envoy.admin.v3.UpdateFailureState 836 } 837 var file_envoy_service_status_v3_csds_proto_depIdxs = []int32{ 838 7, // 0: envoy.service.status.v3.ClientStatusRequest.node_matchers:type_name -> envoy.type.matcher.v3.NodeMatcher 839 8, // 1: envoy.service.status.v3.ClientStatusRequest.node:type_name -> envoy.config.core.v3.Node 840 0, // 2: envoy.service.status.v3.PerXdsConfig.status:type_name -> envoy.service.status.v3.ConfigStatus 841 1, // 3: envoy.service.status.v3.PerXdsConfig.client_status:type_name -> envoy.service.status.v3.ClientConfigStatus 842 9, // 4: envoy.service.status.v3.PerXdsConfig.listener_config:type_name -> envoy.admin.v3.ListenersConfigDump 843 10, // 5: envoy.service.status.v3.PerXdsConfig.cluster_config:type_name -> envoy.admin.v3.ClustersConfigDump 844 11, // 6: envoy.service.status.v3.PerXdsConfig.route_config:type_name -> envoy.admin.v3.RoutesConfigDump 845 12, // 7: envoy.service.status.v3.PerXdsConfig.scoped_route_config:type_name -> envoy.admin.v3.ScopedRoutesConfigDump 846 13, // 8: envoy.service.status.v3.PerXdsConfig.endpoint_config:type_name -> envoy.admin.v3.EndpointsConfigDump 847 8, // 9: envoy.service.status.v3.ClientConfig.node:type_name -> envoy.config.core.v3.Node 848 3, // 10: envoy.service.status.v3.ClientConfig.xds_config:type_name -> envoy.service.status.v3.PerXdsConfig 849 6, // 11: envoy.service.status.v3.ClientConfig.generic_xds_configs:type_name -> envoy.service.status.v3.ClientConfig.GenericXdsConfig 850 4, // 12: envoy.service.status.v3.ClientStatusResponse.config:type_name -> envoy.service.status.v3.ClientConfig 851 14, // 13: envoy.service.status.v3.ClientConfig.GenericXdsConfig.xds_config:type_name -> google.protobuf.Any 852 15, // 14: envoy.service.status.v3.ClientConfig.GenericXdsConfig.last_updated:type_name -> google.protobuf.Timestamp 853 0, // 15: envoy.service.status.v3.ClientConfig.GenericXdsConfig.config_status:type_name -> envoy.service.status.v3.ConfigStatus 854 16, // 16: envoy.service.status.v3.ClientConfig.GenericXdsConfig.client_status:type_name -> envoy.admin.v3.ClientResourceStatus 855 17, // 17: envoy.service.status.v3.ClientConfig.GenericXdsConfig.error_state:type_name -> envoy.admin.v3.UpdateFailureState 856 2, // 18: envoy.service.status.v3.ClientStatusDiscoveryService.StreamClientStatus:input_type -> envoy.service.status.v3.ClientStatusRequest 857 2, // 19: envoy.service.status.v3.ClientStatusDiscoveryService.FetchClientStatus:input_type -> envoy.service.status.v3.ClientStatusRequest 858 5, // 20: envoy.service.status.v3.ClientStatusDiscoveryService.StreamClientStatus:output_type -> envoy.service.status.v3.ClientStatusResponse 859 5, // 21: envoy.service.status.v3.ClientStatusDiscoveryService.FetchClientStatus:output_type -> envoy.service.status.v3.ClientStatusResponse 860 20, // [20:22] is the sub-list for method output_type 861 18, // [18:20] is the sub-list for method input_type 862 18, // [18:18] is the sub-list for extension type_name 863 18, // [18:18] is the sub-list for extension extendee 864 0, // [0:18] is the sub-list for field type_name 865 } 866 867 func init() { file_envoy_service_status_v3_csds_proto_init() } 868 func file_envoy_service_status_v3_csds_proto_init() { 869 if File_envoy_service_status_v3_csds_proto != nil { 870 return 871 } 872 if !protoimpl.UnsafeEnabled { 873 file_envoy_service_status_v3_csds_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 874 switch v := v.(*ClientStatusRequest); i { 875 case 0: 876 return &v.state 877 case 1: 878 return &v.sizeCache 879 case 2: 880 return &v.unknownFields 881 default: 882 return nil 883 } 884 } 885 file_envoy_service_status_v3_csds_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 886 switch v := v.(*PerXdsConfig); i { 887 case 0: 888 return &v.state 889 case 1: 890 return &v.sizeCache 891 case 2: 892 return &v.unknownFields 893 default: 894 return nil 895 } 896 } 897 file_envoy_service_status_v3_csds_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 898 switch v := v.(*ClientConfig); i { 899 case 0: 900 return &v.state 901 case 1: 902 return &v.sizeCache 903 case 2: 904 return &v.unknownFields 905 default: 906 return nil 907 } 908 } 909 file_envoy_service_status_v3_csds_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 910 switch v := v.(*ClientStatusResponse); i { 911 case 0: 912 return &v.state 913 case 1: 914 return &v.sizeCache 915 case 2: 916 return &v.unknownFields 917 default: 918 return nil 919 } 920 } 921 file_envoy_service_status_v3_csds_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 922 switch v := v.(*ClientConfig_GenericXdsConfig); i { 923 case 0: 924 return &v.state 925 case 1: 926 return &v.sizeCache 927 case 2: 928 return &v.unknownFields 929 default: 930 return nil 931 } 932 } 933 } 934 file_envoy_service_status_v3_csds_proto_msgTypes[1].OneofWrappers = []interface{}{ 935 (*PerXdsConfig_ListenerConfig)(nil), 936 (*PerXdsConfig_ClusterConfig)(nil), 937 (*PerXdsConfig_RouteConfig)(nil), 938 (*PerXdsConfig_ScopedRouteConfig)(nil), 939 (*PerXdsConfig_EndpointConfig)(nil), 940 } 941 type x struct{} 942 out := protoimpl.TypeBuilder{ 943 File: protoimpl.DescBuilder{ 944 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 945 RawDescriptor: file_envoy_service_status_v3_csds_proto_rawDesc, 946 NumEnums: 2, 947 NumMessages: 5, 948 NumExtensions: 0, 949 NumServices: 1, 950 }, 951 GoTypes: file_envoy_service_status_v3_csds_proto_goTypes, 952 DependencyIndexes: file_envoy_service_status_v3_csds_proto_depIdxs, 953 EnumInfos: file_envoy_service_status_v3_csds_proto_enumTypes, 954 MessageInfos: file_envoy_service_status_v3_csds_proto_msgTypes, 955 }.Build() 956 File_envoy_service_status_v3_csds_proto = out.File 957 file_envoy_service_status_v3_csds_proto_rawDesc = nil 958 file_envoy_service_status_v3_csds_proto_goTypes = nil 959 file_envoy_service_status_v3_csds_proto_depIdxs = nil 960 } 961 962 // Reference imports to suppress errors if they are not otherwise used. 963 var _ context.Context 964 var _ grpc.ClientConnInterface 965 966 // This is a compile-time assertion to ensure that this generated file 967 // is compatible with the grpc package it is being compiled against. 968 const _ = grpc.SupportPackageIsVersion6 969 970 // ClientStatusDiscoveryServiceClient is the client API for ClientStatusDiscoveryService service. 971 // 972 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 973 type ClientStatusDiscoveryServiceClient interface { 974 StreamClientStatus(ctx context.Context, opts ...grpc.CallOption) (ClientStatusDiscoveryService_StreamClientStatusClient, error) 975 FetchClientStatus(ctx context.Context, in *ClientStatusRequest, opts ...grpc.CallOption) (*ClientStatusResponse, error) 976 } 977 978 type clientStatusDiscoveryServiceClient struct { 979 cc grpc.ClientConnInterface 980 } 981 982 func NewClientStatusDiscoveryServiceClient(cc grpc.ClientConnInterface) ClientStatusDiscoveryServiceClient { 983 return &clientStatusDiscoveryServiceClient{cc} 984 } 985 986 func (c *clientStatusDiscoveryServiceClient) StreamClientStatus(ctx context.Context, opts ...grpc.CallOption) (ClientStatusDiscoveryService_StreamClientStatusClient, error) { 987 stream, err := c.cc.NewStream(ctx, &_ClientStatusDiscoveryService_serviceDesc.Streams[0], "/envoy.service.status.v3.ClientStatusDiscoveryService/StreamClientStatus", opts...) 988 if err != nil { 989 return nil, err 990 } 991 x := &clientStatusDiscoveryServiceStreamClientStatusClient{stream} 992 return x, nil 993 } 994 995 type ClientStatusDiscoveryService_StreamClientStatusClient interface { 996 Send(*ClientStatusRequest) error 997 Recv() (*ClientStatusResponse, error) 998 grpc.ClientStream 999 } 1000 1001 type clientStatusDiscoveryServiceStreamClientStatusClient struct { 1002 grpc.ClientStream 1003 } 1004 1005 func (x *clientStatusDiscoveryServiceStreamClientStatusClient) Send(m *ClientStatusRequest) error { 1006 return x.ClientStream.SendMsg(m) 1007 } 1008 1009 func (x *clientStatusDiscoveryServiceStreamClientStatusClient) Recv() (*ClientStatusResponse, error) { 1010 m := new(ClientStatusResponse) 1011 if err := x.ClientStream.RecvMsg(m); err != nil { 1012 return nil, err 1013 } 1014 return m, nil 1015 } 1016 1017 func (c *clientStatusDiscoveryServiceClient) FetchClientStatus(ctx context.Context, in *ClientStatusRequest, opts ...grpc.CallOption) (*ClientStatusResponse, error) { 1018 out := new(ClientStatusResponse) 1019 err := c.cc.Invoke(ctx, "/envoy.service.status.v3.ClientStatusDiscoveryService/FetchClientStatus", in, out, opts...) 1020 if err != nil { 1021 return nil, err 1022 } 1023 return out, nil 1024 } 1025 1026 // ClientStatusDiscoveryServiceServer is the server API for ClientStatusDiscoveryService service. 1027 type ClientStatusDiscoveryServiceServer interface { 1028 StreamClientStatus(ClientStatusDiscoveryService_StreamClientStatusServer) error 1029 FetchClientStatus(context.Context, *ClientStatusRequest) (*ClientStatusResponse, error) 1030 } 1031 1032 // UnimplementedClientStatusDiscoveryServiceServer can be embedded to have forward compatible implementations. 1033 type UnimplementedClientStatusDiscoveryServiceServer struct { 1034 } 1035 1036 func (*UnimplementedClientStatusDiscoveryServiceServer) StreamClientStatus(ClientStatusDiscoveryService_StreamClientStatusServer) error { 1037 return status.Errorf(codes.Unimplemented, "method StreamClientStatus not implemented") 1038 } 1039 func (*UnimplementedClientStatusDiscoveryServiceServer) FetchClientStatus(context.Context, *ClientStatusRequest) (*ClientStatusResponse, error) { 1040 return nil, status.Errorf(codes.Unimplemented, "method FetchClientStatus not implemented") 1041 } 1042 1043 func RegisterClientStatusDiscoveryServiceServer(s *grpc.Server, srv ClientStatusDiscoveryServiceServer) { 1044 s.RegisterService(&_ClientStatusDiscoveryService_serviceDesc, srv) 1045 } 1046 1047 func _ClientStatusDiscoveryService_StreamClientStatus_Handler(srv interface{}, stream grpc.ServerStream) error { 1048 return srv.(ClientStatusDiscoveryServiceServer).StreamClientStatus(&clientStatusDiscoveryServiceStreamClientStatusServer{stream}) 1049 } 1050 1051 type ClientStatusDiscoveryService_StreamClientStatusServer interface { 1052 Send(*ClientStatusResponse) error 1053 Recv() (*ClientStatusRequest, error) 1054 grpc.ServerStream 1055 } 1056 1057 type clientStatusDiscoveryServiceStreamClientStatusServer struct { 1058 grpc.ServerStream 1059 } 1060 1061 func (x *clientStatusDiscoveryServiceStreamClientStatusServer) Send(m *ClientStatusResponse) error { 1062 return x.ServerStream.SendMsg(m) 1063 } 1064 1065 func (x *clientStatusDiscoveryServiceStreamClientStatusServer) Recv() (*ClientStatusRequest, error) { 1066 m := new(ClientStatusRequest) 1067 if err := x.ServerStream.RecvMsg(m); err != nil { 1068 return nil, err 1069 } 1070 return m, nil 1071 } 1072 1073 func _ClientStatusDiscoveryService_FetchClientStatus_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { 1074 in := new(ClientStatusRequest) 1075 if err := dec(in); err != nil { 1076 return nil, err 1077 } 1078 if interceptor == nil { 1079 return srv.(ClientStatusDiscoveryServiceServer).FetchClientStatus(ctx, in) 1080 } 1081 info := &grpc.UnaryServerInfo{ 1082 Server: srv, 1083 FullMethod: "/envoy.service.status.v3.ClientStatusDiscoveryService/FetchClientStatus", 1084 } 1085 handler := func(ctx context.Context, req interface{}) (interface{}, error) { 1086 return srv.(ClientStatusDiscoveryServiceServer).FetchClientStatus(ctx, req.(*ClientStatusRequest)) 1087 } 1088 return interceptor(ctx, in, info, handler) 1089 } 1090 1091 var _ClientStatusDiscoveryService_serviceDesc = grpc.ServiceDesc{ 1092 ServiceName: "envoy.service.status.v3.ClientStatusDiscoveryService", 1093 HandlerType: (*ClientStatusDiscoveryServiceServer)(nil), 1094 Methods: []grpc.MethodDesc{ 1095 { 1096 MethodName: "FetchClientStatus", 1097 Handler: _ClientStatusDiscoveryService_FetchClientStatus_Handler, 1098 }, 1099 }, 1100 Streams: []grpc.StreamDesc{ 1101 { 1102 StreamName: "StreamClientStatus", 1103 Handler: _ClientStatusDiscoveryService_StreamClientStatus_Handler, 1104 ServerStreams: true, 1105 ClientStreams: true, 1106 }, 1107 }, 1108 Metadata: "envoy/service/status/v3/csds.proto", 1109 }