// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        v7.35.1
// source: envoy/data/core/v3/health_check_event.proto

package corev3

import (
	_ "github.com/cncf/xds/go/udpa/annotations"
	v3 "github.com/envoyproxy/go-control-plane/envoy/config/core/v3"
	_ "github.com/envoyproxy/protoc-gen-validate/validate"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type HealthCheckFailureType int32

const (
	HealthCheckFailureType_ACTIVE          HealthCheckFailureType = 0
	HealthCheckFailureType_PASSIVE         HealthCheckFailureType = 1
	HealthCheckFailureType_NETWORK         HealthCheckFailureType = 2
	HealthCheckFailureType_NETWORK_TIMEOUT HealthCheckFailureType = 3
)

// Enum value maps for HealthCheckFailureType.
var (
	HealthCheckFailureType_name = map[int32]string{
		0: "ACTIVE",
		1: "PASSIVE",
		2: "NETWORK",
		3: "NETWORK_TIMEOUT",
	}
	HealthCheckFailureType_value = map[string]int32{
		"ACTIVE":          0,
		"PASSIVE":         1,
		"NETWORK":         2,
		"NETWORK_TIMEOUT": 3,
	}
)

func (x HealthCheckFailureType) Enum() *HealthCheckFailureType {
	p := new(HealthCheckFailureType)
	*p = x
	return p
}

func (x HealthCheckFailureType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (HealthCheckFailureType) Descriptor() protoreflect.EnumDescriptor {
	return file_envoy_data_core_v3_health_check_event_proto_enumTypes[0].Descriptor()
}

func (HealthCheckFailureType) Type() protoreflect.EnumType {
	return &file_envoy_data_core_v3_health_check_event_proto_enumTypes[0]
}

func (x HealthCheckFailureType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use HealthCheckFailureType.Descriptor instead.
func (HealthCheckFailureType) EnumDescriptor() ([]byte, []int) {
	return file_envoy_data_core_v3_health_check_event_proto_rawDescGZIP(), []int{0}
}

type HealthCheckerType int32

const (
	HealthCheckerType_HTTP           HealthCheckerType = 0
	HealthCheckerType_TCP            HealthCheckerType = 1
	HealthCheckerType_GRPC           HealthCheckerType = 2
	HealthCheckerType_REDIS          HealthCheckerType = 3
	HealthCheckerType_THRIFT         HealthCheckerType = 4
	HealthCheckerType_DYNAMIC_MODULE HealthCheckerType = 5
)

// Enum value maps for HealthCheckerType.
var (
	HealthCheckerType_name = map[int32]string{
		0: "HTTP",
		1: "TCP",
		2: "GRPC",
		3: "REDIS",
		4: "THRIFT",
		5: "DYNAMIC_MODULE",
	}
	HealthCheckerType_value = map[string]int32{
		"HTTP":           0,
		"TCP":            1,
		"GRPC":           2,
		"REDIS":          3,
		"THRIFT":         4,
		"DYNAMIC_MODULE": 5,
	}
)

func (x HealthCheckerType) Enum() *HealthCheckerType {
	p := new(HealthCheckerType)
	*p = x
	return p
}

func (x HealthCheckerType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (HealthCheckerType) Descriptor() protoreflect.EnumDescriptor {
	return file_envoy_data_core_v3_health_check_event_proto_enumTypes[1].Descriptor()
}

func (HealthCheckerType) Type() protoreflect.EnumType {
	return &file_envoy_data_core_v3_health_check_event_proto_enumTypes[1]
}

func (x HealthCheckerType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use HealthCheckerType.Descriptor instead.
func (HealthCheckerType) EnumDescriptor() ([]byte, []int) {
	return file_envoy_data_core_v3_health_check_event_proto_rawDescGZIP(), []int{1}
}

// [#next-free-field: 13]
type HealthCheckEvent struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	HealthCheckerType HealthCheckerType      `protobuf:"varint,1,opt,name=health_checker_type,json=healthCheckerType,proto3,enum=envoy.data.core.v3.HealthCheckerType" json:"health_checker_type,omitempty"`
	Host              *v3.Address            `protobuf:"bytes,2,opt,name=host,proto3" json:"host,omitempty"`
	ClusterName       string                 `protobuf:"bytes,3,opt,name=cluster_name,json=clusterName,proto3" json:"cluster_name,omitempty"`
	// Types that are valid to be assigned to Event:
	//
	//	*HealthCheckEvent_EjectUnhealthyEvent
	//	*HealthCheckEvent_AddHealthyEvent
	//	*HealthCheckEvent_SuccessfulHealthCheckEvent
	//	*HealthCheckEvent_HealthCheckFailureEvent
	//	*HealthCheckEvent_DegradedHealthyHost
	//	*HealthCheckEvent_NoLongerDegradedHost
	Event isHealthCheckEvent_Event `protobuf_oneof:"event"`
	// Timestamp for event.
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Host metadata
	Metadata *v3.Metadata `protobuf:"bytes,10,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Host locality
	Locality      *v3.Locality `protobuf:"bytes,11,opt,name=locality,proto3" json:"locality,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *HealthCheckEvent) Reset() {
	*x = HealthCheckEvent{}
	mi := &file_envoy_data_core_v3_health_check_event_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *HealthCheckEvent) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*HealthCheckEvent) ProtoMessage() {}

func (x *HealthCheckEvent) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_data_core_v3_health_check_event_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use HealthCheckEvent.ProtoReflect.Descriptor instead.
func (*HealthCheckEvent) Descriptor() ([]byte, []int) {
	return file_envoy_data_core_v3_health_check_event_proto_rawDescGZIP(), []int{0}
}

func (x *HealthCheckEvent) GetHealthCheckerType() HealthCheckerType {
	if x != nil {
		return x.HealthCheckerType
	}
	return HealthCheckerType_HTTP
}

func (x *HealthCheckEvent) GetHost() *v3.Address {
	if x != nil {
		return x.Host
	}
	return nil
}

func (x *HealthCheckEvent) GetClusterName() string {
	if x != nil {
		return x.ClusterName
	}
	return ""
}

func (x *HealthCheckEvent) GetEvent() isHealthCheckEvent_Event {
	if x != nil {
		return x.Event
	}
	return nil
}

func (x *HealthCheckEvent) GetEjectUnhealthyEvent() *HealthCheckEjectUnhealthy {
	if x != nil {
		if x, ok := x.Event.(*HealthCheckEvent_EjectUnhealthyEvent); ok {
			return x.EjectUnhealthyEvent
		}
	}
	return nil
}

func (x *HealthCheckEvent) GetAddHealthyEvent() *HealthCheckAddHealthy {
	if x != nil {
		if x, ok := x.Event.(*HealthCheckEvent_AddHealthyEvent); ok {
			return x.AddHealthyEvent
		}
	}
	return nil
}

func (x *HealthCheckEvent) GetSuccessfulHealthCheckEvent() *HealthCheckSuccessful {
	if x != nil {
		if x, ok := x.Event.(*HealthCheckEvent_SuccessfulHealthCheckEvent); ok {
			return x.SuccessfulHealthCheckEvent
		}
	}
	return nil
}

func (x *HealthCheckEvent) GetHealthCheckFailureEvent() *HealthCheckFailure {
	if x != nil {
		if x, ok := x.Event.(*HealthCheckEvent_HealthCheckFailureEvent); ok {
			return x.HealthCheckFailureEvent
		}
	}
	return nil
}

func (x *HealthCheckEvent) GetDegradedHealthyHost() *DegradedHealthyHost {
	if x != nil {
		if x, ok := x.Event.(*HealthCheckEvent_DegradedHealthyHost); ok {
			return x.DegradedHealthyHost
		}
	}
	return nil
}

func (x *HealthCheckEvent) GetNoLongerDegradedHost() *NoLongerDegradedHost {
	if x != nil {
		if x, ok := x.Event.(*HealthCheckEvent_NoLongerDegradedHost); ok {
			return x.NoLongerDegradedHost
		}
	}
	return nil
}

func (x *HealthCheckEvent) GetTimestamp() *timestamppb.Timestamp {
	if x != nil {
		return x.Timestamp
	}
	return nil
}

func (x *HealthCheckEvent) GetMetadata() *v3.Metadata {
	if x != nil {
		return x.Metadata
	}
	return nil
}

func (x *HealthCheckEvent) GetLocality() *v3.Locality {
	if x != nil {
		return x.Locality
	}
	return nil
}

type isHealthCheckEvent_Event interface {
	isHealthCheckEvent_Event()
}

type HealthCheckEvent_EjectUnhealthyEvent struct {
	// Host ejection.
	EjectUnhealthyEvent *HealthCheckEjectUnhealthy `protobuf:"bytes,4,opt,name=eject_unhealthy_event,json=ejectUnhealthyEvent,proto3,oneof"`
}

type HealthCheckEvent_AddHealthyEvent struct {
	// Host addition.
	AddHealthyEvent *HealthCheckAddHealthy `protobuf:"bytes,5,opt,name=add_healthy_event,json=addHealthyEvent,proto3,oneof"`
}

type HealthCheckEvent_SuccessfulHealthCheckEvent struct {
	// A health check was successful. Note: a host will be considered healthy either if it is
	// the first ever health check, or if the healthy threshold is reached. This kind of event
	// indicate that a health check was successful, but does not indicates that the host is
	// considered healthy. A host is considered healthy if HealthCheckAddHealthy kind of event is sent.
	SuccessfulHealthCheckEvent *HealthCheckSuccessful `protobuf:"bytes,12,opt,name=successful_health_check_event,json=successfulHealthCheckEvent,proto3,oneof"`
}

type HealthCheckEvent_HealthCheckFailureEvent struct {
	// Host failure.
	HealthCheckFailureEvent *HealthCheckFailure `protobuf:"bytes,7,opt,name=health_check_failure_event,json=healthCheckFailureEvent,proto3,oneof"`
}

type HealthCheckEvent_DegradedHealthyHost struct {
	// Healthy host became degraded.
	DegradedHealthyHost *DegradedHealthyHost `protobuf:"bytes,8,opt,name=degraded_healthy_host,json=degradedHealthyHost,proto3,oneof"`
}

type HealthCheckEvent_NoLongerDegradedHost struct {
	// A degraded host returned to being healthy.
	NoLongerDegradedHost *NoLongerDegradedHost `protobuf:"bytes,9,opt,name=no_longer_degraded_host,json=noLongerDegradedHost,proto3,oneof"`
}

func (*HealthCheckEvent_EjectUnhealthyEvent) isHealthCheckEvent_Event() {}

func (*HealthCheckEvent_AddHealthyEvent) isHealthCheckEvent_Event() {}

func (*HealthCheckEvent_SuccessfulHealthCheckEvent) isHealthCheckEvent_Event() {}

func (*HealthCheckEvent_HealthCheckFailureEvent) isHealthCheckEvent_Event() {}

func (*HealthCheckEvent_DegradedHealthyHost) isHealthCheckEvent_Event() {}

func (*HealthCheckEvent_NoLongerDegradedHost) isHealthCheckEvent_Event() {}

type HealthCheckEjectUnhealthy struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The type of failure that caused this ejection.
	FailureType HealthCheckFailureType `protobuf:"varint,1,opt,name=failure_type,json=failureType,proto3,enum=envoy.data.core.v3.HealthCheckFailureType" json:"failure_type,omitempty"`
	// HTTP status code observed on the response associated with the failure.
	// Only set when the health checker type is HTTP and the failure type is “ACTIVE“.
	// A value of “0“ indicates that no HTTP status code was recorded (e.g., network-level failures
	// or non-HTTP health checkers).
	HttpStatusCode uint32 `protobuf:"varint,2,opt,name=http_status_code,json=httpStatusCode,proto3" json:"http_status_code,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *HealthCheckEjectUnhealthy) Reset() {
	*x = HealthCheckEjectUnhealthy{}
	mi := &file_envoy_data_core_v3_health_check_event_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *HealthCheckEjectUnhealthy) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*HealthCheckEjectUnhealthy) ProtoMessage() {}

func (x *HealthCheckEjectUnhealthy) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_data_core_v3_health_check_event_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use HealthCheckEjectUnhealthy.ProtoReflect.Descriptor instead.
func (*HealthCheckEjectUnhealthy) Descriptor() ([]byte, []int) {
	return file_envoy_data_core_v3_health_check_event_proto_rawDescGZIP(), []int{1}
}

func (x *HealthCheckEjectUnhealthy) GetFailureType() HealthCheckFailureType {
	if x != nil {
		return x.FailureType
	}
	return HealthCheckFailureType_ACTIVE
}

func (x *HealthCheckEjectUnhealthy) GetHttpStatusCode() uint32 {
	if x != nil {
		return x.HttpStatusCode
	}
	return 0
}

type HealthCheckAddHealthy struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Whether this addition is the result of the first ever health check on a host, in which case
	// the configured :ref:`healthy threshold <envoy_v3_api_field_config.core.v3.HealthCheck.healthy_threshold>`
	// is bypassed and the host is immediately added.
	FirstCheck    bool `protobuf:"varint,1,opt,name=first_check,json=firstCheck,proto3" json:"first_check,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *HealthCheckAddHealthy) Reset() {
	*x = HealthCheckAddHealthy{}
	mi := &file_envoy_data_core_v3_health_check_event_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *HealthCheckAddHealthy) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*HealthCheckAddHealthy) ProtoMessage() {}

func (x *HealthCheckAddHealthy) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_data_core_v3_health_check_event_proto_msgTypes[2]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use HealthCheckAddHealthy.ProtoReflect.Descriptor instead.
func (*HealthCheckAddHealthy) Descriptor() ([]byte, []int) {
	return file_envoy_data_core_v3_health_check_event_proto_rawDescGZIP(), []int{2}
}

func (x *HealthCheckAddHealthy) GetFirstCheck() bool {
	if x != nil {
		return x.FirstCheck
	}
	return false
}

type HealthCheckSuccessful struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *HealthCheckSuccessful) Reset() {
	*x = HealthCheckSuccessful{}
	mi := &file_envoy_data_core_v3_health_check_event_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *HealthCheckSuccessful) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*HealthCheckSuccessful) ProtoMessage() {}

func (x *HealthCheckSuccessful) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_data_core_v3_health_check_event_proto_msgTypes[3]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use HealthCheckSuccessful.ProtoReflect.Descriptor instead.
func (*HealthCheckSuccessful) Descriptor() ([]byte, []int) {
	return file_envoy_data_core_v3_health_check_event_proto_rawDescGZIP(), []int{3}
}

type HealthCheckFailure struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The type of failure that caused this event.
	FailureType HealthCheckFailureType `protobuf:"varint,1,opt,name=failure_type,json=failureType,proto3,enum=envoy.data.core.v3.HealthCheckFailureType" json:"failure_type,omitempty"`
	// Whether this event is the result of the first ever health check on a host.
	FirstCheck bool `protobuf:"varint,2,opt,name=first_check,json=firstCheck,proto3" json:"first_check,omitempty"`
	// HTTP status code observed on the response associated with the failure.
	// Only set when the health checker type is HTTP and the failure type is “ACTIVE“.
	// A value of “0“ indicates that no HTTP status code was recorded (e.g., network-level failures
	// or non-HTTP health checkers).
	HttpStatusCode uint32 `protobuf:"varint,3,opt,name=http_status_code,json=httpStatusCode,proto3" json:"http_status_code,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *HealthCheckFailure) Reset() {
	*x = HealthCheckFailure{}
	mi := &file_envoy_data_core_v3_health_check_event_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *HealthCheckFailure) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*HealthCheckFailure) ProtoMessage() {}

func (x *HealthCheckFailure) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_data_core_v3_health_check_event_proto_msgTypes[4]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use HealthCheckFailure.ProtoReflect.Descriptor instead.
func (*HealthCheckFailure) Descriptor() ([]byte, []int) {
	return file_envoy_data_core_v3_health_check_event_proto_rawDescGZIP(), []int{4}
}

func (x *HealthCheckFailure) GetFailureType() HealthCheckFailureType {
	if x != nil {
		return x.FailureType
	}
	return HealthCheckFailureType_ACTIVE
}

func (x *HealthCheckFailure) GetFirstCheck() bool {
	if x != nil {
		return x.FirstCheck
	}
	return false
}

func (x *HealthCheckFailure) GetHttpStatusCode() uint32 {
	if x != nil {
		return x.HttpStatusCode
	}
	return 0
}

type DegradedHealthyHost struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DegradedHealthyHost) Reset() {
	*x = DegradedHealthyHost{}
	mi := &file_envoy_data_core_v3_health_check_event_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *DegradedHealthyHost) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*DegradedHealthyHost) ProtoMessage() {}

func (x *DegradedHealthyHost) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_data_core_v3_health_check_event_proto_msgTypes[5]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use DegradedHealthyHost.ProtoReflect.Descriptor instead.
func (*DegradedHealthyHost) Descriptor() ([]byte, []int) {
	return file_envoy_data_core_v3_health_check_event_proto_rawDescGZIP(), []int{5}
}

type NoLongerDegradedHost struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *NoLongerDegradedHost) Reset() {
	*x = NoLongerDegradedHost{}
	mi := &file_envoy_data_core_v3_health_check_event_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *NoLongerDegradedHost) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*NoLongerDegradedHost) ProtoMessage() {}

func (x *NoLongerDegradedHost) ProtoReflect() protoreflect.Message {
	mi := &file_envoy_data_core_v3_health_check_event_proto_msgTypes[6]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use NoLongerDegradedHost.ProtoReflect.Descriptor instead.
func (*NoLongerDegradedHost) Descriptor() ([]byte, []int) {
	return file_envoy_data_core_v3_health_check_event_proto_rawDescGZIP(), []int{6}
}

var File_envoy_data_core_v3_health_check_event_proto protoreflect.FileDescriptor

const file_envoy_data_core_v3_health_check_event_proto_rawDesc = "" +
	"\n" +
	"+envoy/data/core/v3/health_check_event.proto\x12\x12envoy.data.core.v3\x1a\"envoy/config/core/v3/address.proto\x1a\x1fenvoy/config/core/v3/base.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dudpa/annotations/status.proto\x1a!udpa/annotations/versioning.proto\x1a\x17validate/validate.proto\"\x9a\b\n" +
	"\x10HealthCheckEvent\x12_\n" +
	"\x13health_checker_type\x18\x01 \x01(\x0e2%.envoy.data.core.v3.HealthCheckerTypeB\b\xfaB\x05\x82\x01\x02\x10\x01R\x11healthCheckerType\x121\n" +
	"\x04host\x18\x02 \x01(\v2\x1d.envoy.config.core.v3.AddressR\x04host\x12*\n" +
	"\fcluster_name\x18\x03 \x01(\tB\a\xfaB\x04r\x02\x10\x01R\vclusterName\x12c\n" +
	"\x15eject_unhealthy_event\x18\x04 \x01(\v2-.envoy.data.core.v3.HealthCheckEjectUnhealthyH\x00R\x13ejectUnhealthyEvent\x12W\n" +
	"\x11add_healthy_event\x18\x05 \x01(\v2).envoy.data.core.v3.HealthCheckAddHealthyH\x00R\x0faddHealthyEvent\x12n\n" +
	"\x1dsuccessful_health_check_event\x18\f \x01(\v2).envoy.data.core.v3.HealthCheckSuccessfulH\x00R\x1asuccessfulHealthCheckEvent\x12e\n" +
	"\x1ahealth_check_failure_event\x18\a \x01(\v2&.envoy.data.core.v3.HealthCheckFailureH\x00R\x17healthCheckFailureEvent\x12]\n" +
	"\x15degraded_healthy_host\x18\b \x01(\v2'.envoy.data.core.v3.DegradedHealthyHostH\x00R\x13degradedHealthyHost\x12a\n" +
	"\x17no_longer_degraded_host\x18\t \x01(\v2(.envoy.data.core.v3.NoLongerDegradedHostH\x00R\x14noLongerDegradedHost\x128\n" +
	"\ttimestamp\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\ttimestamp\x12:\n" +
	"\bmetadata\x18\n" +
	" \x01(\v2\x1e.envoy.config.core.v3.MetadataR\bmetadata\x12:\n" +
	"\blocality\x18\v \x01(\v2\x1e.envoy.config.core.v3.LocalityR\blocality:/\x9aň\x1e*\n" +
	"(envoy.data.core.v2alpha.HealthCheckEventB\f\n" +
	"\x05event\x12\x03\xf8B\x01\"\xd8\x01\n" +
	"\x19HealthCheckEjectUnhealthy\x12W\n" +
	"\ffailure_type\x18\x01 \x01(\x0e2*.envoy.data.core.v3.HealthCheckFailureTypeB\b\xfaB\x05\x82\x01\x02\x10\x01R\vfailureType\x12(\n" +
	"\x10http_status_code\x18\x02 \x01(\rR\x0ehttpStatusCode:8\x9aň\x1e3\n" +
	"1envoy.data.core.v2alpha.HealthCheckEjectUnhealthy\"n\n" +
	"\x15HealthCheckAddHealthy\x12\x1f\n" +
	"\vfirst_check\x18\x01 \x01(\bR\n" +
	"firstCheck:4\x9aň\x1e/\n" +
	"-envoy.data.core.v2alpha.HealthCheckAddHealthy\"\x17\n" +
	"\x15HealthCheckSuccessful\"\xeb\x01\n" +
	"\x12HealthCheckFailure\x12W\n" +
	"\ffailure_type\x18\x01 \x01(\x0e2*.envoy.data.core.v3.HealthCheckFailureTypeB\b\xfaB\x05\x82\x01\x02\x10\x01R\vfailureType\x12\x1f\n" +
	"\vfirst_check\x18\x02 \x01(\bR\n" +
	"firstCheck\x12(\n" +
	"\x10http_status_code\x18\x03 \x01(\rR\x0ehttpStatusCode:1\x9aň\x1e,\n" +
	"*envoy.data.core.v2alpha.HealthCheckFailure\"I\n" +
	"\x13DegradedHealthyHost:2\x9aň\x1e-\n" +
	"+envoy.data.core.v2alpha.DegradedHealthyHost\"K\n" +
	"\x14NoLongerDegradedHost:3\x9aň\x1e.\n" +
	",envoy.data.core.v2alpha.NoLongerDegradedHost*S\n" +
	"\x16HealthCheckFailureType\x12\n" +
	"\n" +
	"\x06ACTIVE\x10\x00\x12\v\n" +
	"\aPASSIVE\x10\x01\x12\v\n" +
	"\aNETWORK\x10\x02\x12\x13\n" +
	"\x0fNETWORK_TIMEOUT\x10\x03*[\n" +
	"\x11HealthCheckerType\x12\b\n" +
	"\x04HTTP\x10\x00\x12\a\n" +
	"\x03TCP\x10\x01\x12\b\n" +
	"\x04GRPC\x10\x02\x12\t\n" +
	"\x05REDIS\x10\x03\x12\n" +
	"\n" +
	"\x06THRIFT\x10\x04\x12\x12\n" +
	"\x0eDYNAMIC_MODULE\x10\x05B\x85\x01\xba\x80\xc8\xd1\x06\x02\x10\x02\n" +
	" io.envoyproxy.envoy.data.core.v3B\x15HealthCheckEventProtoP\x01Z@github.com/envoyproxy/go-control-plane/envoy/data/core/v3;corev3b\x06proto3"

var (
	file_envoy_data_core_v3_health_check_event_proto_rawDescOnce sync.Once
	file_envoy_data_core_v3_health_check_event_proto_rawDescData []byte
)

func file_envoy_data_core_v3_health_check_event_proto_rawDescGZIP() []byte {
	file_envoy_data_core_v3_health_check_event_proto_rawDescOnce.Do(func() {
		file_envoy_data_core_v3_health_check_event_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_envoy_data_core_v3_health_check_event_proto_rawDesc), len(file_envoy_data_core_v3_health_check_event_proto_rawDesc)))
	})
	return file_envoy_data_core_v3_health_check_event_proto_rawDescData
}

var file_envoy_data_core_v3_health_check_event_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_envoy_data_core_v3_health_check_event_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_envoy_data_core_v3_health_check_event_proto_goTypes = []any{
	(HealthCheckFailureType)(0),       // 0: envoy.data.core.v3.HealthCheckFailureType
	(HealthCheckerType)(0),            // 1: envoy.data.core.v3.HealthCheckerType
	(*HealthCheckEvent)(nil),          // 2: envoy.data.core.v3.HealthCheckEvent
	(*HealthCheckEjectUnhealthy)(nil), // 3: envoy.data.core.v3.HealthCheckEjectUnhealthy
	(*HealthCheckAddHealthy)(nil),     // 4: envoy.data.core.v3.HealthCheckAddHealthy
	(*HealthCheckSuccessful)(nil),     // 5: envoy.data.core.v3.HealthCheckSuccessful
	(*HealthCheckFailure)(nil),        // 6: envoy.data.core.v3.HealthCheckFailure
	(*DegradedHealthyHost)(nil),       // 7: envoy.data.core.v3.DegradedHealthyHost
	(*NoLongerDegradedHost)(nil),      // 8: envoy.data.core.v3.NoLongerDegradedHost
	(*v3.Address)(nil),                // 9: envoy.config.core.v3.Address
	(*timestamppb.Timestamp)(nil),     // 10: google.protobuf.Timestamp
	(*v3.Metadata)(nil),               // 11: envoy.config.core.v3.Metadata
	(*v3.Locality)(nil),               // 12: envoy.config.core.v3.Locality
}
var file_envoy_data_core_v3_health_check_event_proto_depIdxs = []int32{
	1,  // 0: envoy.data.core.v3.HealthCheckEvent.health_checker_type:type_name -> envoy.data.core.v3.HealthCheckerType
	9,  // 1: envoy.data.core.v3.HealthCheckEvent.host:type_name -> envoy.config.core.v3.Address
	3,  // 2: envoy.data.core.v3.HealthCheckEvent.eject_unhealthy_event:type_name -> envoy.data.core.v3.HealthCheckEjectUnhealthy
	4,  // 3: envoy.data.core.v3.HealthCheckEvent.add_healthy_event:type_name -> envoy.data.core.v3.HealthCheckAddHealthy
	5,  // 4: envoy.data.core.v3.HealthCheckEvent.successful_health_check_event:type_name -> envoy.data.core.v3.HealthCheckSuccessful
	6,  // 5: envoy.data.core.v3.HealthCheckEvent.health_check_failure_event:type_name -> envoy.data.core.v3.HealthCheckFailure
	7,  // 6: envoy.data.core.v3.HealthCheckEvent.degraded_healthy_host:type_name -> envoy.data.core.v3.DegradedHealthyHost
	8,  // 7: envoy.data.core.v3.HealthCheckEvent.no_longer_degraded_host:type_name -> envoy.data.core.v3.NoLongerDegradedHost
	10, // 8: envoy.data.core.v3.HealthCheckEvent.timestamp:type_name -> google.protobuf.Timestamp
	11, // 9: envoy.data.core.v3.HealthCheckEvent.metadata:type_name -> envoy.config.core.v3.Metadata
	12, // 10: envoy.data.core.v3.HealthCheckEvent.locality:type_name -> envoy.config.core.v3.Locality
	0,  // 11: envoy.data.core.v3.HealthCheckEjectUnhealthy.failure_type:type_name -> envoy.data.core.v3.HealthCheckFailureType
	0,  // 12: envoy.data.core.v3.HealthCheckFailure.failure_type:type_name -> envoy.data.core.v3.HealthCheckFailureType
	13, // [13:13] is the sub-list for method output_type
	13, // [13:13] is the sub-list for method input_type
	13, // [13:13] is the sub-list for extension type_name
	13, // [13:13] is the sub-list for extension extendee
	0,  // [0:13] is the sub-list for field type_name
}

func init() { file_envoy_data_core_v3_health_check_event_proto_init() }
func file_envoy_data_core_v3_health_check_event_proto_init() {
	if File_envoy_data_core_v3_health_check_event_proto != nil {
		return
	}
	file_envoy_data_core_v3_health_check_event_proto_msgTypes[0].OneofWrappers = []any{
		(*HealthCheckEvent_EjectUnhealthyEvent)(nil),
		(*HealthCheckEvent_AddHealthyEvent)(nil),
		(*HealthCheckEvent_SuccessfulHealthCheckEvent)(nil),
		(*HealthCheckEvent_HealthCheckFailureEvent)(nil),
		(*HealthCheckEvent_DegradedHealthyHost)(nil),
		(*HealthCheckEvent_NoLongerDegradedHost)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_envoy_data_core_v3_health_check_event_proto_rawDesc), len(file_envoy_data_core_v3_health_check_event_proto_rawDesc)),
			NumEnums:      2,
			NumMessages:   7,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_envoy_data_core_v3_health_check_event_proto_goTypes,
		DependencyIndexes: file_envoy_data_core_v3_health_check_event_proto_depIdxs,
		EnumInfos:         file_envoy_data_core_v3_health_check_event_proto_enumTypes,
		MessageInfos:      file_envoy_data_core_v3_health_check_event_proto_msgTypes,
	}.Build()
	File_envoy_data_core_v3_health_check_event_proto = out.File
	file_envoy_data_core_v3_health_check_event_proto_goTypes = nil
	file_envoy_data_core_v3_health_check_event_proto_depIdxs = nil
}
