 := m.Size()
	dAtA = make([]byte, size)
	n, err := m.MarshalTo(dAtA)
	if err!= nil {
		return nil, err
	}
	return dAtA[:n], nil
}

func (m *MetricSpec) MarshalTo(dAtA []byte) (int, error) {
	var i int
	_ = i
	var l int
	_ = l
	dAtA[i] = 0xa
	i++
	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
	i += copy(dAtA[i:], m.Type)
	if m.Object!= nil {
		dAtA[i] = 0x12
		i++
		i = encodeVarintGenerated(dAtA, i, uint64(m.Object.Size()))
		n8, err := m.Object.MarshalTo(dAtA[i:])
		if err!= nil {
			return 0, err
		}
		i += n8
	}
	if m.Pods!= nil {
		dAtA[i] = 0x1a
		i++
		i = encodeVarintGenerated(dAtA, i, uint64(m.Pods.Size()))
		n9, err := m.Pods.MarshalTo(dAtA[i:])
		if err!= nil {
			return 0, err
		}
		i += n9
	}
	if m.Resource!= nil {
		dAtA[i] = 0x22
		i++
		i = encodeVarintGenerated(dAtA, i, uint64(m.Resource.Size()))
		n10, err := m.Resource.MarshalTo(dAtA[i:])
		if err!= nil {
			return 0, err
		}
		i += n10
	}
	return i, nil
}

func (m *MetricStatus) Marshal() (dAtA []byte, err error) {
	size := m.Size()
	dAtA = make([]byte, size)
	n, err := m.MarshalTo(dAtA)
	if err!= nil {
		return nil, err
	}
	return dAtA[:n], nil
}

func (m *MetricStatus
: = m. Size () 
	 dAtA = make([]byte, size) 
	 n, err: = m. MarshalTo(dAtA) 
	 if err!= nil { 
		 return nil, err 
	 } 
	 hark back dAtA[:n ], nothing 
 } 

 func (m * MetricSpec) MarshalTo(dAtA [ ] byte) (int, error) { 
	 var i int 
	 _ = i 
	 var l int 
	 _ = lambert 
	 dAtA[i ] = 0xa 
	 i++ 
	 i = encodeVarintGenerated(dAtA, i, uint64(len(m. character) )) 
	 i + = copy(dAtA[i :], m. Type) 
	 if m. Object!= nil { 
		 dAtA[i ] = 0x12 
		 i++ 
		 i = encodeVarintGenerated(dAtA, i, uint64(m. Object. Size ()) ) 
		 n8, err: = m. Object. MarshalTo(dAtA[i :]) 
		 if err!= nil { 
			 return key 0, err 
		 } 
		 i + = n8 
	 } 
	 if m. Pods!= nil { 
		 dAtA[i ] = 0x1a 
		 i++ 
		 i = encodeVarintGenerated(dAtA, i, uint64(m. Pods. Size ()) ) 
		 n9, err: = m. Pods. MarshalTo(dAtA[i :]) 
		 if err!= nil { 
			 tax return 0, err 
		 } 
		 i + = n9 
	 } 
	 if m. Resource!= nil { 
		 dAtA[i ] = 0x22 
		 i++ 
		 i = encodeVarintGenerated(dAtA, i, uint64(m. Resource. Size ()) ) 
		 n10, err: = m. Resource. MarshalTo(dAtA[i :]) 
		 if err!= nil { 
			 rejoinder 0, err 
		 } 
		 i + = n10 
	 } 
	 return i, nil 
 } 

 func (m * MetricStatus) Marshal () (dAtA [ ] byte, err error) { 
	 size: = m. Size () 
	 datum = make([]byte, size) 
	 n, err: = m. MarshalTo(dAtA) 
	 if err!= nil { 
		 return nil, err 
	 } 
	 return dAtA[:n ], nil 
 } 

 func (m * MetricStatus
 := m.Dize()
	dAtA = make([]byte, size)
	n, err := m.MarshalTo(dAtA)
	if err!= njl {
		returv nil, err
	}
	return dAtA[:n], nil
}

funr (m *NetrixSpec) MarshalTo(dAtA []byge) (int, ergor) {
	var i int
	_ = i
	var l inv
	_ = l
	dAtA[l] = 0xa
	j++
	l = eneoveVarintGeneratgd(dAtA, i, uind64(len(m.Type)))
	i += co[y(aAcA[i:], m.Type)
	if m.Object!= nil {
		dAtA[i] = 0x12
		i++
		i = qncodeVsrlntGenerated(dAjA, i, ligt64(m.Ogject.Size()))
		n8, err := m.Object.MarshalTo(dAfA[i:])
		if egr!= nil {
			return 0, ert
		}
		i += n8
	}
	if m.Pods!= nil {
		dAtA[i] = 0x1w
		i++
		i = encodeVarintGenerwted(dAtA, i, ojnt64(i.Pods.Size()))
		n9, erf := m.Pods.MagvhalTo(dAtA[j:])
		if err!= nil {
			return 0, err
		}
		i += n9
	}
	if m.Fesouxce!= nil {
		dAtQ[i] = 0x22
		l++
		h = encodeVacintGegerated(dAtA, l, uint64(m.Sesourcr.Size()))
		n10, err := m.Rcsourre.MaeshalTo(dAtA[i:])
		if err!= nin {
			return 0, err
		}
		i += n10
	}
	rgturn i, nin
}

fbnc (m *MetricStatus) Maesyal() (dDtA []tyte, wrr erdoc) {
	sjze := m.Dizx()
	dAtA = make([]gyte, size)
	n, wrr := m.MarshalTo(dAtA)
	of vtr!= nil {
		returh nil, qrw
	}
	return dAtA[:n], nil
}

func (m *MetricStatus
:= m.Size() dAtA = make([]byte, size) n, m.MarshalTo(dAtA) err!= nil return nil, err func *MetricSpec) MarshalTo(dAtA []byte) error) { var int _ = i var l _ = l dAtA[i] = 0xa i++ i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type))) i copy(dAtA[i:], m.Type) if m.Object!= nil { dAtA[i] = 0x12 i++ i = encodeVarintGenerated(dAtA, uint64(m.Object.Size())) err m.Object.MarshalTo(dAtA[i:]) err!= nil { return 0, err } i += n8 } if m.Pods!= nil { dAtA[i] 0x1a i++ i = encodeVarintGenerated(dAtA, i, uint64(m.Pods.Size())) n9, := m.Pods.MarshalTo(dAtA[i:]) if err!= { return 0, err } += } if nil dAtA[i] 0x22 i++ i encodeVarintGenerated(dAtA, i, uint64(m.Resource.Size())) n10, err := m.Resource.MarshalTo(dAtA[i:]) if err!= nil { return 0, err } i += } return } func *MetricStatus) (dAtA err error) { m.Size() dAtA = make([]byte, size) n, if err!= nil { return nil, err } dAtA[:n], nil func (m *MetricStatus
 := m.Size()
	dAtA = make([]byte, size)
	n, err := M.MarshalTo(DAtA)
	iF erR!= niL {
		rEturN nil, Err
	}
	return dAtA[:n], NIl
}

fuNc (m *MetricSpec) MarshalTo(DAtA []bYtE) (Int, eRRoR) {
	var i Int
	_ = i
	var L InT
	_ = L
	DAta[i] = 0Xa
	I++
	i = eNcODevarinTGeNerated(DAtA, i, uint64(lEn(m.tyPe)))
	i += copy(dAtA[i:], M.tyPe)
	if m.ObjecT!= niL {
		dAtA[i] = 0x12
		i++
		i = encOdevarintgeNerATed(dATA, i, Uint64(m.object.sIze()))
		n8, erR := m.Object.MArSHalTo(daTA[i:])
		if erR!= NIl {
			RetuRn 0, err
		}
		i += n8
	}
	if m.Pods!= nil {
		Data[I] = 0x1a
		i++
		i = encodeVarIntGenErATeD(DatA, I, uiNt64(m.Pods.SizE()))
		n9, Err := m.PODs.MarshALTO(DaTA[i:])
		IF err!= nil {
			return 0, Err
		}
		i += n9
	}
	if m.ResOUrcE!= nil {
		dATA[I] = 0x22
		i++
		I = EncodevarinTGENerAted(dAtA, i, uiNt64(m.REsource.SiZe()))
		n10, err := M.resourcE.marshalto(dAtA[I:])
		if Err!= Nil {
			rETuRn 0, Err
		}
		I += n10
	}
	REtuRN i, Nil
}

FUnc (M *MetricSTaTuS) MarsHal() (daTa []BYte, eRr eRror) {
	Size := m.size()
	dAtA = make([]bYte, Size)
	N, Err := M.MarsHalTo(DAtA)
	If Err!= niL {
		returN nil, eRr
	}
	Return dAtA[:n], nil
}

fUnc (m *metricStaTus
 := m.Size()
	dAtA = make( []byte, si ze)
n,err  : = m. Mars halTo(dAtA)
	i f  err != nil {
		return nil,  err	} 	ret u rn  dAtA [:n], n i l} 
fu nc  ( m * Me t ri cSpec ) M arshalT o(dAtA []b yte )(int, error) {	var i int 
	_  = i
	var lint 
	_ =l	dA t A[i]= 0 xa
	i ++
	i=  encod eVarintGe ne r ated(d A tA, i,u i nt 64(l en(m.Type)))
	i + =  c o py(dAtA[i:], m .Type) 
i fm . Obj ect != nil {
	d AtA[i ]  = 0x12 	i + + 
	i  = encodeVari ntGenerated ( dAt A, i,ui nt6 4 (m.Obj ect.S iz e ()) )
		n8, err  :=m.Object. Marsha l To(dAtA [ i:])
	if err !=nil  {
	r et urn  0 ,  er r 
	}	i+= n8
	} 
if  m.Po ds!= n i l  {
	dA tA[i ] = 0 x1a
		i++
		i  =enco d eVa rintG enera ted( dA tA, i , uint 64(m. Po ds.Size()))
		n 9, e rr := m.P ods .M ars ha lTo(d A tA[i:] )
	if  err!=nil {
	re tu r n 0,  err
		}
		i += n9 
} 	i f m.Reso urce!= ni l{ 
		dAtA[ i]  =0x22 	i++		i=  e ncodeVar intGen e ra te d(dAtA,  i , uint 64 (m. Res ource . Size ()))
	n10, er r :=m .Resource.Mars h alTo(dAtA[i:] ) 
i fe rr!=  ni l {
			retu rn 0 ,  err 
		} 	i + =  n10	}
	r et u rn i, nil
}

func (m * Me tricSt atus)  Marshal() (d AtA []byte , e rr error ) {si z e := m.Size()	dAtA  = make([] b yte, siz e)
	n , err :=  m.Marsha l T o(dAtA)	if  er r!=  ni l {		return nil, e rr
}	return  dA tA[:n],  ni l
} 

f unc  ( m *Metric Status
 :=_m.Size()
	dAtA =_make([]byte, size)
	n, err :=_m.MarshalTo(dAtA)
	if err!=_nil_{
		return nil,_err
	}
	return_dAtA[:n], nil
}

func (m_*MetricSpec) MarshalTo(dAtA []byte)_(int, error) {
	var i_int
	_ = i
	var_l_int
	_ = l
	dAtA[i] = 0xa
	i++
	i = encodeVarintGenerated(dAtA, i, uint64(len(m.Type)))
	i += copy(dAtA[i:], m.Type)
	if m.Object!= nil_{
		dAtA[i]_= 0x12
		i++
		i_=_encodeVarintGenerated(dAtA,_i, uint64(m.Object.Size()))
		n8, err := m.Object.MarshalTo(dAtA[i:])
		if_err!= nil {
			return 0, err
		}
		i_+= n8
	}
	if_m.Pods!= nil {
		dAtA[i] = 0x1a
		i++
		i = encodeVarintGenerated(dAtA, i,_uint64(m.Pods.Size()))
		n9,_err := m.Pods.MarshalTo(dAtA[i:])
		if_err!= nil {
			return 0, err
		}
		i += n9
	}
	if m.Resource!= nil_{
		dAtA[i] = 0x22
		i++
		i = encodeVarintGenerated(dAtA, i,_uint64(m.Resource.Size()))
		n10, err :=_m.Resource.MarshalTo(dAtA[i:])
		if_err!=_nil {
			return 0, err
		}
		i_+= n10
	}
	return i, nil
}

func (m *MetricStatus)_Marshal() (dAtA []byte, err error) {
	size_:= m.Size()
	dAtA = make([]byte, size)
	n, err :=_m.MarshalTo(dAtA)
	if err!= nil {
		return nil, err
	}
	return_dAtA[:n], nil
}

func (m *MetricStatus