gitee.com/zhaochuninhefei/gmgo@v0.0.31-0.20240209061119-069254a02979/go-control-plane/envoy/data/core/v2alpha/health_check_event.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/data/core/v2alpha/health_check_event.proto 6 7 package envoy_data_core_v2alpha 8 9 import ( 10 _ "github.com/cncf/xds/go/udpa/annotations" 11 core "gitee.com/zhaochuninhefei/gmgo/go-control-plane/envoy/api/v2/core" 12 _ "github.com/envoyproxy/protoc-gen-validate/validate" 13 proto "github.com/golang/protobuf/proto" 14 timestamp "github.com/golang/protobuf/ptypes/timestamp" 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 type HealthCheckFailureType int32 33 34 const ( 35 HealthCheckFailureType_ACTIVE HealthCheckFailureType = 0 36 HealthCheckFailureType_PASSIVE HealthCheckFailureType = 1 37 HealthCheckFailureType_NETWORK HealthCheckFailureType = 2 38 ) 39 40 // Enum value maps for HealthCheckFailureType. 41 var ( 42 HealthCheckFailureType_name = map[int32]string{ 43 0: "ACTIVE", 44 1: "PASSIVE", 45 2: "NETWORK", 46 } 47 HealthCheckFailureType_value = map[string]int32{ 48 "ACTIVE": 0, 49 "PASSIVE": 1, 50 "NETWORK": 2, 51 } 52 ) 53 54 func (x HealthCheckFailureType) Enum() *HealthCheckFailureType { 55 p := new(HealthCheckFailureType) 56 *p = x 57 return p 58 } 59 60 func (x HealthCheckFailureType) String() string { 61 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 62 } 63 64 func (HealthCheckFailureType) Descriptor() protoreflect.EnumDescriptor { 65 return file_envoy_data_core_v2alpha_health_check_event_proto_enumTypes[0].Descriptor() 66 } 67 68 func (HealthCheckFailureType) Type() protoreflect.EnumType { 69 return &file_envoy_data_core_v2alpha_health_check_event_proto_enumTypes[0] 70 } 71 72 func (x HealthCheckFailureType) Number() protoreflect.EnumNumber { 73 return protoreflect.EnumNumber(x) 74 } 75 76 // Deprecated: Use HealthCheckFailureType.Descriptor instead. 77 func (HealthCheckFailureType) EnumDescriptor() ([]byte, []int) { 78 return file_envoy_data_core_v2alpha_health_check_event_proto_rawDescGZIP(), []int{0} 79 } 80 81 type HealthCheckerType int32 82 83 const ( 84 HealthCheckerType_HTTP HealthCheckerType = 0 85 HealthCheckerType_TCP HealthCheckerType = 1 86 HealthCheckerType_GRPC HealthCheckerType = 2 87 HealthCheckerType_REDIS HealthCheckerType = 3 88 ) 89 90 // Enum value maps for HealthCheckerType. 91 var ( 92 HealthCheckerType_name = map[int32]string{ 93 0: "HTTP", 94 1: "TCP", 95 2: "GRPC", 96 3: "REDIS", 97 } 98 HealthCheckerType_value = map[string]int32{ 99 "HTTP": 0, 100 "TCP": 1, 101 "GRPC": 2, 102 "REDIS": 3, 103 } 104 ) 105 106 func (x HealthCheckerType) Enum() *HealthCheckerType { 107 p := new(HealthCheckerType) 108 *p = x 109 return p 110 } 111 112 func (x HealthCheckerType) String() string { 113 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 114 } 115 116 func (HealthCheckerType) Descriptor() protoreflect.EnumDescriptor { 117 return file_envoy_data_core_v2alpha_health_check_event_proto_enumTypes[1].Descriptor() 118 } 119 120 func (HealthCheckerType) Type() protoreflect.EnumType { 121 return &file_envoy_data_core_v2alpha_health_check_event_proto_enumTypes[1] 122 } 123 124 func (x HealthCheckerType) Number() protoreflect.EnumNumber { 125 return protoreflect.EnumNumber(x) 126 } 127 128 // Deprecated: Use HealthCheckerType.Descriptor instead. 129 func (HealthCheckerType) EnumDescriptor() ([]byte, []int) { 130 return file_envoy_data_core_v2alpha_health_check_event_proto_rawDescGZIP(), []int{1} 131 } 132 133 // [#next-free-field: 10] 134 type HealthCheckEvent struct { 135 state protoimpl.MessageState 136 sizeCache protoimpl.SizeCache 137 unknownFields protoimpl.UnknownFields 138 139 HealthCheckerType HealthCheckerType `protobuf:"varint,1,opt,name=health_checker_type,json=healthCheckerType,proto3,enum=envoy.data.core.v2alpha.HealthCheckerType" json:"health_checker_type,omitempty"` 140 Host *core.Address `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"` 141 ClusterName string `protobuf:"bytes,3,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"` 142 // Types that are assignable to Event: 143 // *HealthCheckEvent_EjectUnhealthyEvent 144 // *HealthCheckEvent_AddHealthyEvent 145 // *HealthCheckEvent_HealthCheckFailureEvent 146 // *HealthCheckEvent_DegradedHealthyHost 147 // *HealthCheckEvent_NoLongerDegradedHost 148 Event isHealthCheckEvent_Event `protobuf_oneof:"event"` 149 // Timestamp for event. 150 Timestamp *timestamp.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"` 151 } 152 153 func (x *HealthCheckEvent) Reset() { 154 *x = HealthCheckEvent{} 155 if protoimpl.UnsafeEnabled { 156 mi := &file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[0] 157 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 158 ms.StoreMessageInfo(mi) 159 } 160 } 161 162 func (x *HealthCheckEvent) String() string { 163 return protoimpl.X.MessageStringOf(x) 164 } 165 166 func (*HealthCheckEvent) ProtoMessage() {} 167 168 func (x *HealthCheckEvent) ProtoReflect() protoreflect.Message { 169 mi := &file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[0] 170 if protoimpl.UnsafeEnabled && x != nil { 171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 172 if ms.LoadMessageInfo() == nil { 173 ms.StoreMessageInfo(mi) 174 } 175 return ms 176 } 177 return mi.MessageOf(x) 178 } 179 180 // Deprecated: Use HealthCheckEvent.ProtoReflect.Descriptor instead. 181 func (*HealthCheckEvent) Descriptor() ([]byte, []int) { 182 return file_envoy_data_core_v2alpha_health_check_event_proto_rawDescGZIP(), []int{0} 183 } 184 185 func (x *HealthCheckEvent) GetHealthCheckerType() HealthCheckerType { 186 if x != nil { 187 return x.HealthCheckerType 188 } 189 return HealthCheckerType_HTTP 190 } 191 192 func (x *HealthCheckEvent) GetHost() *core.Address { 193 if x != nil { 194 return x.Host 195 } 196 return nil 197 } 198 199 func (x *HealthCheckEvent) GetClusterName() string { 200 if x != nil { 201 return x.ClusterName 202 } 203 return "" 204 } 205 206 func (m *HealthCheckEvent) GetEvent() isHealthCheckEvent_Event { 207 if m != nil { 208 return m.Event 209 } 210 return nil 211 } 212 213 func (x *HealthCheckEvent) GetEjectUnhealthyEvent() *HealthCheckEjectUnhealthy { 214 if x, ok := x.GetEvent().(*HealthCheckEvent_EjectUnhealthyEvent); ok { 215 return x.EjectUnhealthyEvent 216 } 217 return nil 218 } 219 220 func (x *HealthCheckEvent) GetAddHealthyEvent() *HealthCheckAddHealthy { 221 if x, ok := x.GetEvent().(*HealthCheckEvent_AddHealthyEvent); ok { 222 return x.AddHealthyEvent 223 } 224 return nil 225 } 226 227 func (x *HealthCheckEvent) GetHealthCheckFailureEvent() *HealthCheckFailure { 228 if x, ok := x.GetEvent().(*HealthCheckEvent_HealthCheckFailureEvent); ok { 229 return x.HealthCheckFailureEvent 230 } 231 return nil 232 } 233 234 func (x *HealthCheckEvent) GetDegradedHealthyHost() *DegradedHealthyHost { 235 if x, ok := x.GetEvent().(*HealthCheckEvent_DegradedHealthyHost); ok { 236 return x.DegradedHealthyHost 237 } 238 return nil 239 } 240 241 func (x *HealthCheckEvent) GetNoLongerDegradedHost() *NoLongerDegradedHost { 242 if x, ok := x.GetEvent().(*HealthCheckEvent_NoLongerDegradedHost); ok { 243 return x.NoLongerDegradedHost 244 } 245 return nil 246 } 247 248 func (x *HealthCheckEvent) GetTimestamp() *timestamp.Timestamp { 249 if x != nil { 250 return x.Timestamp 251 } 252 return nil 253 } 254 255 type isHealthCheckEvent_Event interface { 256 isHealthCheckEvent_Event() 257 } 258 259 type HealthCheckEvent_EjectUnhealthyEvent struct { 260 // Host ejection. 261 EjectUnhealthyEvent *HealthCheckEjectUnhealthy `protobuf:"bytes,4,opt,name=eject_unhealthy_event,json=ejectUnhealthyEvent,proto3,oneof"` 262 } 263 264 type HealthCheckEvent_AddHealthyEvent struct { 265 // Host addition. 266 AddHealthyEvent *HealthCheckAddHealthy `protobuf:"bytes,5,opt,name=add_healthy_event,json=addHealthyEvent,proto3,oneof"` 267 } 268 269 type HealthCheckEvent_HealthCheckFailureEvent struct { 270 // Host failure. 271 HealthCheckFailureEvent *HealthCheckFailure `protobuf:"bytes,7,opt,name=health_check_failure_event,json=healthCheckFailureEvent,proto3,oneof"` 272 } 273 274 type HealthCheckEvent_DegradedHealthyHost struct { 275 // Healthy host became degraded. 276 DegradedHealthyHost *DegradedHealthyHost `protobuf:"bytes,8,opt,name=degraded_healthy_host,json=degradedHealthyHost,proto3,oneof"` 277 } 278 279 type HealthCheckEvent_NoLongerDegradedHost struct { 280 // A degraded host returned to being healthy. 281 NoLongerDegradedHost *NoLongerDegradedHost `protobuf:"bytes,9,opt,name=no_longer_degraded_host,json=noLongerDegradedHost,proto3,oneof"` 282 } 283 284 func (*HealthCheckEvent_EjectUnhealthyEvent) isHealthCheckEvent_Event() {} 285 286 func (*HealthCheckEvent_AddHealthyEvent) isHealthCheckEvent_Event() {} 287 288 func (*HealthCheckEvent_HealthCheckFailureEvent) isHealthCheckEvent_Event() {} 289 290 func (*HealthCheckEvent_DegradedHealthyHost) isHealthCheckEvent_Event() {} 291 292 func (*HealthCheckEvent_NoLongerDegradedHost) isHealthCheckEvent_Event() {} 293 294 type HealthCheckEjectUnhealthy struct { 295 state protoimpl.MessageState 296 sizeCache protoimpl.SizeCache 297 unknownFields protoimpl.UnknownFields 298 299 // The type of failure that caused this ejection. 300 FailureType HealthCheckFailureType `protobuf:"varint,1,opt,name=failure_type,json=failureType,proto3,enum=envoy.data.core.v2alpha.HealthCheckFailureType" json:"failure_type,omitempty"` 301 } 302 303 func (x *HealthCheckEjectUnhealthy) Reset() { 304 *x = HealthCheckEjectUnhealthy{} 305 if protoimpl.UnsafeEnabled { 306 mi := &file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[1] 307 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 308 ms.StoreMessageInfo(mi) 309 } 310 } 311 312 func (x *HealthCheckEjectUnhealthy) String() string { 313 return protoimpl.X.MessageStringOf(x) 314 } 315 316 func (*HealthCheckEjectUnhealthy) ProtoMessage() {} 317 318 func (x *HealthCheckEjectUnhealthy) ProtoReflect() protoreflect.Message { 319 mi := &file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[1] 320 if protoimpl.UnsafeEnabled && x != nil { 321 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 322 if ms.LoadMessageInfo() == nil { 323 ms.StoreMessageInfo(mi) 324 } 325 return ms 326 } 327 return mi.MessageOf(x) 328 } 329 330 // Deprecated: Use HealthCheckEjectUnhealthy.ProtoReflect.Descriptor instead. 331 func (*HealthCheckEjectUnhealthy) Descriptor() ([]byte, []int) { 332 return file_envoy_data_core_v2alpha_health_check_event_proto_rawDescGZIP(), []int{1} 333 } 334 335 func (x *HealthCheckEjectUnhealthy) GetFailureType() HealthCheckFailureType { 336 if x != nil { 337 return x.FailureType 338 } 339 return HealthCheckFailureType_ACTIVE 340 } 341 342 type HealthCheckAddHealthy struct { 343 state protoimpl.MessageState 344 sizeCache protoimpl.SizeCache 345 unknownFields protoimpl.UnknownFields 346 347 // Whether this addition is the result of the first ever health check on a host, in which case 348 // the configured :ref:`healthy threshold <envoy_api_field_core.HealthCheck.healthy_threshold>` 349 // is bypassed and the host is immediately added. 350 FirstCheck bool `protobuf:"varint,1,opt,name=first_check,json=firstCheck,proto3" json:"first_check,omitempty"` 351 } 352 353 func (x *HealthCheckAddHealthy) Reset() { 354 *x = HealthCheckAddHealthy{} 355 if protoimpl.UnsafeEnabled { 356 mi := &file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[2] 357 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 358 ms.StoreMessageInfo(mi) 359 } 360 } 361 362 func (x *HealthCheckAddHealthy) String() string { 363 return protoimpl.X.MessageStringOf(x) 364 } 365 366 func (*HealthCheckAddHealthy) ProtoMessage() {} 367 368 func (x *HealthCheckAddHealthy) ProtoReflect() protoreflect.Message { 369 mi := &file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[2] 370 if protoimpl.UnsafeEnabled && x != nil { 371 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 372 if ms.LoadMessageInfo() == nil { 373 ms.StoreMessageInfo(mi) 374 } 375 return ms 376 } 377 return mi.MessageOf(x) 378 } 379 380 // Deprecated: Use HealthCheckAddHealthy.ProtoReflect.Descriptor instead. 381 func (*HealthCheckAddHealthy) Descriptor() ([]byte, []int) { 382 return file_envoy_data_core_v2alpha_health_check_event_proto_rawDescGZIP(), []int{2} 383 } 384 385 func (x *HealthCheckAddHealthy) GetFirstCheck() bool { 386 if x != nil { 387 return x.FirstCheck 388 } 389 return false 390 } 391 392 type HealthCheckFailure struct { 393 state protoimpl.MessageState 394 sizeCache protoimpl.SizeCache 395 unknownFields protoimpl.UnknownFields 396 397 // The type of failure that caused this event. 398 FailureType HealthCheckFailureType `protobuf:"varint,1,opt,name=failure_type,json=failureType,proto3,enum=envoy.data.core.v2alpha.HealthCheckFailureType" json:"failure_type,omitempty"` 399 // Whether this event is the result of the first ever health check on a host. 400 FirstCheck bool `protobuf:"varint,2,opt,name=first_check,json=firstCheck,proto3" json:"first_check,omitempty"` 401 } 402 403 func (x *HealthCheckFailure) Reset() { 404 *x = HealthCheckFailure{} 405 if protoimpl.UnsafeEnabled { 406 mi := &file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[3] 407 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 408 ms.StoreMessageInfo(mi) 409 } 410 } 411 412 func (x *HealthCheckFailure) String() string { 413 return protoimpl.X.MessageStringOf(x) 414 } 415 416 func (*HealthCheckFailure) ProtoMessage() {} 417 418 func (x *HealthCheckFailure) ProtoReflect() protoreflect.Message { 419 mi := &file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[3] 420 if protoimpl.UnsafeEnabled && x != nil { 421 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 422 if ms.LoadMessageInfo() == nil { 423 ms.StoreMessageInfo(mi) 424 } 425 return ms 426 } 427 return mi.MessageOf(x) 428 } 429 430 // Deprecated: Use HealthCheckFailure.ProtoReflect.Descriptor instead. 431 func (*HealthCheckFailure) Descriptor() ([]byte, []int) { 432 return file_envoy_data_core_v2alpha_health_check_event_proto_rawDescGZIP(), []int{3} 433 } 434 435 func (x *HealthCheckFailure) GetFailureType() HealthCheckFailureType { 436 if x != nil { 437 return x.FailureType 438 } 439 return HealthCheckFailureType_ACTIVE 440 } 441 442 func (x *HealthCheckFailure) GetFirstCheck() bool { 443 if x != nil { 444 return x.FirstCheck 445 } 446 return false 447 } 448 449 type DegradedHealthyHost struct { 450 state protoimpl.MessageState 451 sizeCache protoimpl.SizeCache 452 unknownFields protoimpl.UnknownFields 453 } 454 455 func (x *DegradedHealthyHost) Reset() { 456 *x = DegradedHealthyHost{} 457 if protoimpl.UnsafeEnabled { 458 mi := &file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[4] 459 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 460 ms.StoreMessageInfo(mi) 461 } 462 } 463 464 func (x *DegradedHealthyHost) String() string { 465 return protoimpl.X.MessageStringOf(x) 466 } 467 468 func (*DegradedHealthyHost) ProtoMessage() {} 469 470 func (x *DegradedHealthyHost) ProtoReflect() protoreflect.Message { 471 mi := &file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[4] 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 DegradedHealthyHost.ProtoReflect.Descriptor instead. 483 func (*DegradedHealthyHost) Descriptor() ([]byte, []int) { 484 return file_envoy_data_core_v2alpha_health_check_event_proto_rawDescGZIP(), []int{4} 485 } 486 487 type NoLongerDegradedHost struct { 488 state protoimpl.MessageState 489 sizeCache protoimpl.SizeCache 490 unknownFields protoimpl.UnknownFields 491 } 492 493 func (x *NoLongerDegradedHost) Reset() { 494 *x = NoLongerDegradedHost{} 495 if protoimpl.UnsafeEnabled { 496 mi := &file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[5] 497 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 498 ms.StoreMessageInfo(mi) 499 } 500 } 501 502 func (x *NoLongerDegradedHost) String() string { 503 return protoimpl.X.MessageStringOf(x) 504 } 505 506 func (*NoLongerDegradedHost) ProtoMessage() {} 507 508 func (x *NoLongerDegradedHost) ProtoReflect() protoreflect.Message { 509 mi := &file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[5] 510 if protoimpl.UnsafeEnabled && x != nil { 511 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 512 if ms.LoadMessageInfo() == nil { 513 ms.StoreMessageInfo(mi) 514 } 515 return ms 516 } 517 return mi.MessageOf(x) 518 } 519 520 // Deprecated: Use NoLongerDegradedHost.ProtoReflect.Descriptor instead. 521 func (*NoLongerDegradedHost) Descriptor() ([]byte, []int) { 522 return file_envoy_data_core_v2alpha_health_check_event_proto_rawDescGZIP(), []int{5} 523 } 524 525 var File_envoy_data_core_v2alpha_health_check_event_proto protoreflect.FileDescriptor 526 527 var file_envoy_data_core_v2alpha_health_check_event_proto_rawDesc = []byte{ 528 0x0a, 0x30, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x2f, 0x63, 0x6f, 0x72, 529 0x65, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 530 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 531 0x74, 0x6f, 0x12, 0x17, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x63, 532 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1f, 0x65, 0x6e, 0x76, 533 0x6f, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2f, 0x61, 534 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 535 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 536 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x75, 537 0x64, 0x70, 0x61, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 538 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x76, 0x61, 539 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x2e, 540 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x9c, 0x06, 0x0a, 0x10, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 541 0x43, 0x68, 0x65, 0x63, 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x64, 0x0a, 0x13, 0x68, 0x65, 542 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x5f, 0x74, 0x79, 0x70, 543 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 544 0x64, 0x61, 0x74, 0x61, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 545 0x61, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x54, 546 0x79, 0x70, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 0x01, 0x52, 0x11, 0x68, 547 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x54, 0x79, 0x70, 0x65, 548 0x12, 0x2e, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 549 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x32, 0x2e, 0x63, 0x6f, 550 0x72, 0x65, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x52, 0x04, 0x68, 0x6f, 0x73, 0x74, 551 0x12, 0x2a, 0x0a, 0x0c, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 552 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x07, 0xfa, 0x42, 0x04, 0x72, 0x02, 0x20, 0x01, 0x52, 553 0x0b, 0x63, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x68, 0x0a, 0x15, 554 0x65, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x75, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x5f, 555 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x65, 0x6e, 556 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 557 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 558 0x6b, 0x45, 0x6a, 0x65, 0x63, 0x74, 0x55, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x48, 559 0x00, 0x52, 0x13, 0x65, 0x6a, 0x65, 0x63, 0x74, 0x55, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 560 0x79, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x12, 0x5c, 0x0a, 0x11, 0x61, 0x64, 0x64, 0x5f, 0x68, 0x65, 561 0x61, 0x6c, 0x74, 0x68, 0x79, 0x5f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 562 0x0b, 0x32, 0x2e, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x63, 563 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x48, 0x65, 0x61, 0x6c, 564 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x64, 0x64, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 565 0x79, 0x48, 0x00, 0x52, 0x0f, 0x61, 0x64, 0x64, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x45, 566 0x76, 0x65, 0x6e, 0x74, 0x12, 0x6a, 0x0a, 0x1a, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x5f, 0x63, 567 0x68, 0x65, 0x63, 0x6b, 0x5f, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x65, 0x76, 0x65, 568 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 569 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 570 0x68, 0x61, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x61, 571 0x69, 0x6c, 0x75, 0x72, 0x65, 0x48, 0x00, 0x52, 0x17, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 572 0x68, 0x65, 0x63, 0x6b, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 573 0x12, 0x62, 0x0a, 0x15, 0x64, 0x65, 0x67, 0x72, 0x61, 0x64, 0x65, 0x64, 0x5f, 0x68, 0x65, 0x61, 574 0x6c, 0x74, 0x68, 0x79, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 575 0x2c, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x63, 0x6f, 0x72, 576 0x65, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 0x44, 0x65, 0x67, 0x72, 0x61, 0x64, 577 0x65, 0x64, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x48, 0x6f, 0x73, 0x74, 0x48, 0x00, 0x52, 578 0x13, 0x64, 0x65, 0x67, 0x72, 0x61, 0x64, 0x65, 0x64, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 579 0x48, 0x6f, 0x73, 0x74, 0x12, 0x66, 0x0a, 0x17, 0x6e, 0x6f, 0x5f, 0x6c, 0x6f, 0x6e, 0x67, 0x65, 580 0x72, 0x5f, 0x64, 0x65, 0x67, 0x72, 0x61, 0x64, 0x65, 0x64, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 581 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 0x61, 582 0x74, 0x61, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e, 583 0x4e, 0x6f, 0x4c, 0x6f, 0x6e, 0x67, 0x65, 0x72, 0x44, 0x65, 0x67, 0x72, 0x61, 0x64, 0x65, 0x64, 584 0x48, 0x6f, 0x73, 0x74, 0x48, 0x00, 0x52, 0x14, 0x6e, 0x6f, 0x4c, 0x6f, 0x6e, 0x67, 0x65, 0x72, 585 0x44, 0x65, 0x67, 0x72, 0x61, 0x64, 0x65, 0x64, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x38, 0x0a, 0x09, 586 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 587 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 588 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x74, 0x69, 0x6d, 589 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x0c, 0x0a, 0x05, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x12, 590 0x03, 0xf8, 0x42, 0x01, 0x22, 0x79, 0x0a, 0x19, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 591 0x65, 0x63, 0x6b, 0x45, 0x6a, 0x65, 0x63, 0x74, 0x55, 0x6e, 0x68, 0x65, 0x61, 0x6c, 0x74, 0x68, 592 0x79, 0x12, 0x5c, 0x0a, 0x0c, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 593 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 594 0x64, 0x61, 0x74, 0x61, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 595 0x61, 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x61, 0x69, 596 0x6c, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 597 0x10, 0x01, 0x52, 0x0b, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 598 0x38, 0x0a, 0x15, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x41, 0x64, 599 0x64, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x72, 0x73, 600 0x74, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x66, 601 0x69, 0x72, 0x73, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x22, 0x93, 0x01, 0x0a, 0x12, 0x48, 0x65, 602 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 603 0x12, 0x5c, 0x0a, 0x0c, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 604 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x2e, 0x64, 605 0x61, 0x74, 0x61, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 606 0x2e, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x61, 0x69, 0x6c, 607 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x08, 0xfa, 0x42, 0x05, 0x82, 0x01, 0x02, 0x10, 608 0x01, 0x52, 0x0b, 0x66, 0x61, 0x69, 0x6c, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 609 0x0a, 0x0b, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x02, 0x20, 610 0x01, 0x28, 0x08, 0x52, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x22, 611 0x15, 0x0a, 0x13, 0x44, 0x65, 0x67, 0x72, 0x61, 0x64, 0x65, 0x64, 0x48, 0x65, 0x61, 0x6c, 0x74, 612 0x68, 0x79, 0x48, 0x6f, 0x73, 0x74, 0x22, 0x16, 0x0a, 0x14, 0x4e, 0x6f, 0x4c, 0x6f, 0x6e, 0x67, 613 0x65, 0x72, 0x44, 0x65, 0x67, 0x72, 0x61, 0x64, 0x65, 0x64, 0x48, 0x6f, 0x73, 0x74, 0x2a, 0x3e, 614 0x0a, 0x16, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x46, 0x61, 0x69, 615 0x6c, 0x75, 0x72, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x41, 0x43, 0x54, 0x49, 616 0x56, 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x41, 0x53, 0x53, 0x49, 0x56, 0x45, 0x10, 617 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4e, 0x45, 0x54, 0x57, 0x4f, 0x52, 0x4b, 0x10, 0x02, 0x2a, 0x3b, 618 0x0a, 0x11, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x65, 0x72, 0x54, 619 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x54, 0x54, 0x50, 0x10, 0x00, 0x12, 0x07, 0x0a, 620 0x03, 0x54, 0x43, 0x50, 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x47, 0x52, 0x50, 0x43, 0x10, 0x02, 621 0x12, 0x09, 0x0a, 0x05, 0x52, 0x45, 0x44, 0x49, 0x53, 0x10, 0x03, 0x42, 0x48, 0x0a, 0x25, 0x69, 622 0x6f, 0x2e, 0x65, 0x6e, 0x76, 0x6f, 0x79, 0x70, 0x72, 0x6f, 0x78, 0x79, 0x2e, 0x65, 0x6e, 0x76, 623 0x6f, 0x79, 0x2e, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x76, 0x32, 0x61, 624 0x6c, 0x70, 0x68, 0x61, 0x42, 0x15, 0x48, 0x65, 0x61, 0x6c, 0x74, 0x68, 0x43, 0x68, 0x65, 0x63, 625 0x6b, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0xba, 0x80, 0xc8, 626 0xd1, 0x06, 0x02, 0x10, 0x01, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 627 } 628 629 var ( 630 file_envoy_data_core_v2alpha_health_check_event_proto_rawDescOnce sync.Once 631 file_envoy_data_core_v2alpha_health_check_event_proto_rawDescData = file_envoy_data_core_v2alpha_health_check_event_proto_rawDesc 632 ) 633 634 func file_envoy_data_core_v2alpha_health_check_event_proto_rawDescGZIP() []byte { 635 file_envoy_data_core_v2alpha_health_check_event_proto_rawDescOnce.Do(func() { 636 file_envoy_data_core_v2alpha_health_check_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_envoy_data_core_v2alpha_health_check_event_proto_rawDescData) 637 }) 638 return file_envoy_data_core_v2alpha_health_check_event_proto_rawDescData 639 } 640 641 var file_envoy_data_core_v2alpha_health_check_event_proto_enumTypes = make([]protoimpl.EnumInfo, 2) 642 var file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes = make([]protoimpl.MessageInfo, 6) 643 var file_envoy_data_core_v2alpha_health_check_event_proto_goTypes = []interface{}{ 644 (HealthCheckFailureType)(0), // 0: envoy.data.core.v2alpha.HealthCheckFailureType 645 (HealthCheckerType)(0), // 1: envoy.data.core.v2alpha.HealthCheckerType 646 (*HealthCheckEvent)(nil), // 2: envoy.data.core.v2alpha.HealthCheckEvent 647 (*HealthCheckEjectUnhealthy)(nil), // 3: envoy.data.core.v2alpha.HealthCheckEjectUnhealthy 648 (*HealthCheckAddHealthy)(nil), // 4: envoy.data.core.v2alpha.HealthCheckAddHealthy 649 (*HealthCheckFailure)(nil), // 5: envoy.data.core.v2alpha.HealthCheckFailure 650 (*DegradedHealthyHost)(nil), // 6: envoy.data.core.v2alpha.DegradedHealthyHost 651 (*NoLongerDegradedHost)(nil), // 7: envoy.data.core.v2alpha.NoLongerDegradedHost 652 (*core.Address)(nil), // 8: envoy.api.v2.core.Address 653 (*timestamp.Timestamp)(nil), // 9: google.protobuf.Timestamp 654 } 655 var file_envoy_data_core_v2alpha_health_check_event_proto_depIdxs = []int32{ 656 1, // 0: envoy.data.core.v2alpha.HealthCheckEvent.health_checker_type:type_name -> envoy.data.core.v2alpha.HealthCheckerType 657 8, // 1: envoy.data.core.v2alpha.HealthCheckEvent.host:type_name -> envoy.api.v2.core.Address 658 3, // 2: envoy.data.core.v2alpha.HealthCheckEvent.eject_unhealthy_event:type_name -> envoy.data.core.v2alpha.HealthCheckEjectUnhealthy 659 4, // 3: envoy.data.core.v2alpha.HealthCheckEvent.add_healthy_event:type_name -> envoy.data.core.v2alpha.HealthCheckAddHealthy 660 5, // 4: envoy.data.core.v2alpha.HealthCheckEvent.health_check_failure_event:type_name -> envoy.data.core.v2alpha.HealthCheckFailure 661 6, // 5: envoy.data.core.v2alpha.HealthCheckEvent.degraded_healthy_host:type_name -> envoy.data.core.v2alpha.DegradedHealthyHost 662 7, // 6: envoy.data.core.v2alpha.HealthCheckEvent.no_longer_degraded_host:type_name -> envoy.data.core.v2alpha.NoLongerDegradedHost 663 9, // 7: envoy.data.core.v2alpha.HealthCheckEvent.timestamp:type_name -> google.protobuf.Timestamp 664 0, // 8: envoy.data.core.v2alpha.HealthCheckEjectUnhealthy.failure_type:type_name -> envoy.data.core.v2alpha.HealthCheckFailureType 665 0, // 9: envoy.data.core.v2alpha.HealthCheckFailure.failure_type:type_name -> envoy.data.core.v2alpha.HealthCheckFailureType 666 10, // [10:10] is the sub-list for method output_type 667 10, // [10:10] is the sub-list for method input_type 668 10, // [10:10] is the sub-list for extension type_name 669 10, // [10:10] is the sub-list for extension extendee 670 0, // [0:10] is the sub-list for field type_name 671 } 672 673 func init() { file_envoy_data_core_v2alpha_health_check_event_proto_init() } 674 func file_envoy_data_core_v2alpha_health_check_event_proto_init() { 675 if File_envoy_data_core_v2alpha_health_check_event_proto != nil { 676 return 677 } 678 if !protoimpl.UnsafeEnabled { 679 file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 680 switch v := v.(*HealthCheckEvent); i { 681 case 0: 682 return &v.state 683 case 1: 684 return &v.sizeCache 685 case 2: 686 return &v.unknownFields 687 default: 688 return nil 689 } 690 } 691 file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { 692 switch v := v.(*HealthCheckEjectUnhealthy); i { 693 case 0: 694 return &v.state 695 case 1: 696 return &v.sizeCache 697 case 2: 698 return &v.unknownFields 699 default: 700 return nil 701 } 702 } 703 file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { 704 switch v := v.(*HealthCheckAddHealthy); i { 705 case 0: 706 return &v.state 707 case 1: 708 return &v.sizeCache 709 case 2: 710 return &v.unknownFields 711 default: 712 return nil 713 } 714 } 715 file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { 716 switch v := v.(*HealthCheckFailure); i { 717 case 0: 718 return &v.state 719 case 1: 720 return &v.sizeCache 721 case 2: 722 return &v.unknownFields 723 default: 724 return nil 725 } 726 } 727 file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { 728 switch v := v.(*DegradedHealthyHost); i { 729 case 0: 730 return &v.state 731 case 1: 732 return &v.sizeCache 733 case 2: 734 return &v.unknownFields 735 default: 736 return nil 737 } 738 } 739 file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { 740 switch v := v.(*NoLongerDegradedHost); i { 741 case 0: 742 return &v.state 743 case 1: 744 return &v.sizeCache 745 case 2: 746 return &v.unknownFields 747 default: 748 return nil 749 } 750 } 751 } 752 file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes[0].OneofWrappers = []interface{}{ 753 (*HealthCheckEvent_EjectUnhealthyEvent)(nil), 754 (*HealthCheckEvent_AddHealthyEvent)(nil), 755 (*HealthCheckEvent_HealthCheckFailureEvent)(nil), 756 (*HealthCheckEvent_DegradedHealthyHost)(nil), 757 (*HealthCheckEvent_NoLongerDegradedHost)(nil), 758 } 759 type x struct{} 760 out := protoimpl.TypeBuilder{ 761 File: protoimpl.DescBuilder{ 762 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 763 RawDescriptor: file_envoy_data_core_v2alpha_health_check_event_proto_rawDesc, 764 NumEnums: 2, 765 NumMessages: 6, 766 NumExtensions: 0, 767 NumServices: 0, 768 }, 769 GoTypes: file_envoy_data_core_v2alpha_health_check_event_proto_goTypes, 770 DependencyIndexes: file_envoy_data_core_v2alpha_health_check_event_proto_depIdxs, 771 EnumInfos: file_envoy_data_core_v2alpha_health_check_event_proto_enumTypes, 772 MessageInfos: file_envoy_data_core_v2alpha_health_check_event_proto_msgTypes, 773 }.Build() 774 File_envoy_data_core_v2alpha_health_check_event_proto = out.File 775 file_envoy_data_core_v2alpha_health_check_event_proto_rawDesc = nil 776 file_envoy_data_core_v2alpha_health_check_event_proto_goTypes = nil 777 file_envoy_data_core_v2alpha_health_check_event_proto_depIdxs = nil 778 }