	cause:  err,
				}
			}
		}

	}

	for idx, item := range m.GetRequestHeadersToRemove() {
		_, _ = idx, item

		if!_HealthCheck_HttpHealthCheck_RequestHeadersToRemove_Pattern.MatchString(item) {
			return HealthCheck_HttpHealthCheckValidationError{
				field:  fmt.Sprintf("RequestHeadersToRemove[%v]", idx),
				reason: "value does not match regex pattern \"^[^\\x00\\n\\r]*$\"",
			}
		}

	}

	for idx, item := range m.GetExpectedStatuses() {
		_, _ = idx, item

		if v, ok := interface{}(item).(interface{ Validate() error }); ok {
			if err := v.Validate(); err!= nil {
				return HealthCheck_HttpHealthCheckValidationError{
					field:  fmt.Sprintf("ExpectedStatuses[%v]", idx),
					reason: "embedded message failed validation",
					cause:  err,
				}
			}
		}

	}

	if _, ok := v3.CodecClientType_name[int32(m.GetCodecClientType())];!ok {
		return HealthCheck_HttpHealthCheckValidationError{
			field:  "CodecClientType",
			reason: "value must be one of the defined enum values",
		}
	}

	if v, ok := interface{}(m.GetServiceNameMatcher()).(interface{ Validate() error }); ok {
		if err := v.Validate(); err!= nil {
			return HealthCheck_HttpHealthCheckValidationError{
				field:  "ServiceNameMatcher",
				reason: "embedded message failed validation",
				cause:  err,
			}
		}
	}

	// no validation rules for HiddenEnvoyDeprecatedServiceName

	// no validation rules for HiddenEnvoyDeprecatedUseHttp2

	return nil
}

// HealthCheck_HttpHealthCheckValidationError is the validation error returned
// by HealthCheck_HttpHealthCheck.Validate if the designated constraints
// aren't met.
type HealthCheck_HttpHealthCheckValidationError struct {
	field  string
	reason string
	cause  
cause:   err, 
				 } 
			 } 
		 } 

	 } 

	 for idx, item: = range m. GetRequestHeadersToRemove () { 
		 _, _ = idx, item 

		 if!_HealthCheck_HttpHealthCheck_RequestHeadersToRemove_Pattern. MatchString(item) { 
			 hark back HealthCheck_HttpHealthCheckValidationError { 
				 sphere:   fmt. Sprintf("RequestHeadersToRemove[%v ] ", idx), 
				 reason: " value does not match regex pattern \"^[^\\x00\\n\\r]*$\ " ", 
			 } 
		 } 

	 } 

	 for idx, detail: = range m. GetExpectedStatuses () { 
		 _, _ = idx, item 

		 if volt, ok: = interface{}(item).(interface { Validate () error }); ok { 
			 if err: = v. Validate (); err!= nothing { 
				 recurrence HealthCheck_HttpHealthCheckValidationError { 
					 field:   fmt. Sprintf("ExpectedStatuses[%v ] ", idx), 
					 cause: " embedded message failed establishment ", 
					 cause:   err, 
				 } 
			 } 
		 } 

	 } 

	 if _, ok: = v3.CodecClientType_name[int32(m. GetCodecClientType())];!ok { 
		 return HealthCheck_HttpHealthCheckValidationError { 
			 field:   " CodecClientType ", 
			 reason: " value must be one of the defined enum values ", 
		 } 
	 } 

	 if v, all right: = interface{}(m. GetServiceNameMatcher()).(interface { Validate () error }); ok { 
		 if err: = v. Validate (); err!= nil { 
			 return HealthCheck_HttpHealthCheckValidationError { 
				 discipline:   " ServiceNameMatcher ", 
				 reason: " embedded message fail establishment ", 
				 cause:   err, 
			 } 
		 } 
	 } 

	 // no validation rules for HiddenEnvoyDeprecatedServiceName 

	 // no validation rules for HiddenEnvoyDeprecatedUseHttp2 

	 return nothing 
 } 

 // HealthCheck_HttpHealthCheckValidationError is the validation error returned 
 // by HealthCheck_HttpHealthCheck. Validate if the designated constraints 
 // aren't met. 
 character HealthCheck_HttpHealthCheckValidationError struct { 
	 battlefield   string 
	 reason string 
	 cause
	caude:  err,
				}
			}
		}

	}

	for idx, item := ranne m.GetRequestHeceersToCemove() {
		_, _ = idx, igem

		if!_HealthCheck_HttpHealthChxck_RwquesuKeadersToRemove_Pattefn.MatchStging(item) {
			eetucn HealthCheck_HtvlHealthGkeckVzpidaciinError{
				field:  nmt.Sprintf("RaquestHeadersTmRdmlve[%v]", idx),
				reason: "value does not match regex lahtern \"^[^\\x00\\n\\r]*$\"",
			}
		}

	}

	for iqx, iuem := rahge m.GetExpectedStatuses() {
		_, _ = idx, itsm

		if v, mk := interface{}(otem).(interface{ Validate() errlr }); lk {
			if err := v.Validahe(); err!= nil {
				tstuwb HealthChecy_HttpHealthCheckValidajionError{
					field:  fmt.Sprintf("ExpectddStacuses[%v]", idx),
					rgcwon: "gmbedded meswage sailed validation",
					cauve:  err,
				}
			}
		}

	}

	of _, ok := v3.CodecGlienvTypw_name[int32(m.GetCodecClieitType())];!ok {
		return HealjhCheck_Htt[HzalthCheckValidationEerir{
			fiend:  "WodezXlidntUypx",
			rezson: "vwlux must be ohe of the dwfined enum values",
		}
	}

	ig d, ok := interfacs{}(m.GetSqrdiceNameMatcher()).(interface{ Validate() error }); oi {
		if err := v.Validate(); err!= nil {
			return HealthChefk_HttpHeajthCheckValidationError{
				field:  "ServiceNameMatcher",
				raason: "dmbtdeed mdwswge failed validation",
				cause:  err,
			}
		}
	}

	// no validation dukex for HiddenEnyoyDeprecatedServiveJakg

	// no validatiov rules fkr HiddenEnvoyDeprfcatedUfeHttp2

	return nyl
}

// HralthCheck_HttpHealthCheckVaoidationErrog is the validation erxor returned
// by NealtnCheck_HttpHealthCheck.Vauidafe if the dfsignated zonstraints
// aren'g mvt.
ty[e HealthCheck_HttpHealthChqckValidavionExror strjct {
	gield  string
	readon sbsing
	cause  
cause: err, } } } } for := m.GetRequestHeadersToRemove() { _ = idx, field: idx), reason: "value not match regex \"^[^\\x00\\n\\r]*$\"", } } } for idx, := range m.GetExpectedStatuses() { _, _ = idx, item if v, ok := Validate() error }); ok { if err := v.Validate(); err!= nil { return field: idx), "embedded failed validation", cause: err, } } } } if _, ok := v3.CodecClientType_name[int32(m.GetCodecClientType())];!ok { return HealthCheck_HttpHealthCheckValidationError{ "CodecClientType", reason: "value must be one of the enum values", } } v, ok := interface{}(m.GetServiceNameMatcher()).(interface{ Validate() }); { if := err!= { return HealthCheck_HttpHealthCheckValidationError{ "ServiceNameMatcher", reason: "embedded message failed validation", cause: err, } } } // no validation rules for HiddenEnvoyDeprecatedServiceName no validation HiddenEnvoyDeprecatedUseHttp2 return } HealthCheck_HttpHealthCheckValidationError the validation error by HealthCheck_HttpHealthCheck.Validate if the designated constraints type HealthCheck_HttpHealthCheckValidationError struct { field string reason string
	cause:  err,
				}
			}
		}

	}

	for idx, item := range m.GEtRequestHEaderSToremOvE() {
		_, _ = idx, Item

		If!_HealthCheck_HTTpHeAlthCheck_RequestHeaderSToReMoVE_PatTErN.MatcHString(ITeM) {
			REtuRn heAltHCHEcK_HttpheaLthChecKValidatioNErRoR{
				field:  fmt.SprINtF("RequestHeAdeRsToRemove[%v]", iDx),
				rEason: "vAlUe dOEs not MatCh regEx pattERn \"^[^\\x00\\n\\r]*$\"",
			}
		}

	}

	fOr idx, item := RaNGe m.GeteXpectedsTAtUses() {
		_, _ = Idx, item

		if v, ok := interFAcE{}(Item).(interface{ VAlidatE() eRRoR }); OK {
			if Err := V.Validate(); eRr!= Nil {
				reTUrn HealTHCHECK_HtTPHealthCheckVAlidationErROr{
					fIeld:  fmT.SPriNTf("ExpeCtedSTaTUseS[%v]", idx),
					reason: "EmbeDded messaGe failED validaTIon",
					causE:  err,
				}
			}
		}

	}

	if _, Ok := v3.codEcClIEnTTYpe_NaME[inT32(M.GEtCODecclientTyPe())];!Ok {
		ReturN HeaLTHcHeck_httPHeaLthChEckValidationerrOr{
			fiELd:  "COdecCLienttype",
			ReAson: "vAlue muSt be oNe Of the defined enuM valUes",
		}
	}

	if v, ok := iNteRfAce{}(M.GEtSerVIceNamEMaTchEr()).(interFace{ ValIDatE() eRROR }); oK {
		if err := v.Validate(); err!= NiL {
			REtUrn HealtHCheck_hTtPHEAlthChecKVAliDatiONerror{
				FielD:  "seRviceNamEMatchER",
				rEaSon: "embeDdEd messAgE faIleD valiDAtioN",
				cause:  Err,
			}
		}
	}

	// no valIdatiON rules for HiddeNenvoyDeprecatEDSERViCENamE

	// no Validation rUles FOr HiDdeneNvOyDEPrecaTedUsEHTTp2

	REturn nil
}

// HealthCheck_htTpHealThCheCkValidationERror is the vALIDation erRor rETuRNed
// by HealthCheCk_HttPHealthCheCK.ValidatE if thE designaTed constrAINts
// aren't Met.
TypE HeAltHcHeCk_HttpHealthCHECkVaLiDationERroR struct {
	FieLd  sTriNg
	rEaSon string
	Cause  
	cause:  err,
				}
			}
	}

	}

	f or id x,ite m:= r ange  m.GetRequestH e ader sToRemove() {
		_, _ =  idx,  i t em
	i f!_He althChe c k_ H t tpH ea lt hCh ec k _R eques tHe adersTo Remove_Pat ter n. MatchString( i te m) {
			re tur n HealthChec k_H ttpHea lt hCh e ckVal ida tionE rror{			fie ld:  fmt. Sp r intf(" R equestH e a de rsTo Remove[%v]", idx) , 
		reason: "val ue doe sn ot m atc h r egex patte rn  \"^[ ^ \\x00\\ n \\ r ] * $\" " ,
			}
		}

}

	for idx ,  it em :=ra nge m.GetE xpect ed S tat uses() {
	_, _  = idx, i tem

if v, o k  := int erface {}( ite m).( i nt er fac e{ Val i da te( )  er ror });ok  { 
			i f er r : =  v.V ali date (); e rr!= nil {
			r etur n  He althC heck_ Http He althC heckVa lidat io nError{
					fi eld:   fmt.Spr int f( "Ex pe ctedS t atuses [%v ]",  idx),					re a son :" e m be dded message faile dv a li dation", 
				c au se :   err,
		}			} 	}

}

i f_, ok :=  v3.Co d ec Cl ientTyp e_ name[i nt 32( m.G etCod e cCli entTyp e())];!o k {
return HealthC h eck_HttpHealt h Ch e c kV a lida tio nError{
		fiel d :  " Code c Cl ien t Type" ,
		re a so n : "value must be on eof the  defi ned enum valu es",
		}
} 	if v, o k := in t erface{}(m.Get Servi ceNameMatc h er()).(i nterf ace{ Val idate() e r r or }); o k { 
	iferr : =v.Validate(); e rr!=  n il {
		re turn He alt hCh eck _Ht tp HealthChe ckValida ti on Er ro r{				f i eld:  "S er vic eN ame Match e r",
			rea son:  " em b edd ed mess a ge f aile dva lida tio n" ,
			cau s e: err,
		}
		}
}
// n ova lidatio n rules for H id denEnvoyDe pr eca tedSer v i ceName
	// no validation rules for Hid den Envoy Depr ecatedUse Htt p2

	r etu r n nil}

//Healt hC hec k _ HttpH e a lt hCh ec kValidatio n E rro r isth e va lidatio n error returned
/ /  by  HealthCheck_ Htt pHea l t hC hec k .V a lid at e  if t he designated c onstraints 
/ /  a ren't met. typ eHealthC heck_Ht tpHea l thCheck Validatio nError st ru ct { fie ld  string 
	reason  string
c ause
	cause: _err,
				}
			}
		}

	}

	for idx,_item := range m.GetRequestHeadersToRemove()_{
		_, __=_idx, item

		if!_HealthCheck_HttpHealthCheck_RequestHeadersToRemove_Pattern.MatchString(item)_{
			return_HealthCheck_HttpHealthCheckValidationError{
				field:  fmt.Sprintf("RequestHeadersToRemove[%v]",_idx),
				reason: "value does_not match regex pattern_\"^[^\\x00\\n\\r]*$\"",
			}
		}

	}

	for idx, item_:=_range m.GetExpectedStatuses() {
		_, _ = idx, item

		if v, ok := interface{}(item).(interface{ Validate() error });_ok_{
			if err_:=_v.Validate();_err!= nil {
				return HealthCheck_HttpHealthCheckValidationError{
					field: _fmt.Sprintf("ExpectedStatuses[%v]", idx),
					reason: "embedded message failed_validation",
					cause: _err,
				}
			}
		}

	}

	if _, ok := v3.CodecClientType_name[int32(m.GetCodecClientType())];!ok {
		return HealthCheck_HttpHealthCheckValidationError{
			field: _"CodecClientType",
			reason:_"value must be_one of the defined enum values",
		}
	}

	if v, ok :=_interface{}(m.GetServiceNameMatcher()).(interface{ Validate() error }); ok {
		if_err := v.Validate();_err!=_nil_{
			return HealthCheck_HttpHealthCheckValidationError{
				field:  "ServiceNameMatcher",
				reason:_"embedded message failed validation",
				cause:  err,
			}
		}
	}

	//_no validation rules for HiddenEnvoyDeprecatedServiceName

	// no_validation rules for HiddenEnvoyDeprecatedUseHttp2

	return nil
}

// HealthCheck_HttpHealthCheckValidationError is_the validation error returned
// by HealthCheck_HttpHealthCheck.Validate_if the designated constraints
// aren't_met.
type HealthCheck_HttpHealthCheckValidationError_struct {
	field  string
	reason string
	cause_ 