func (z *StatsPayload) DecodeMsg(dc *msgp.Reader) (err error) {
	var field []byte
	_ = field
	var zb0001 uint32
	zb0001, err = dc.ReadMapHeader()
	if err != nil {
		return
	}
	for zb0001 > 0 {
		zb0001--
		field, err = dc.ReadMapKeyPtr()
		if err != nil {
			return
		}
		switch msgp.UnsafeString(field) {
		case "AgentHostname":
			z.AgentHostname, err = dc.ReadString()
			if err != nil {
				return
			}
		case "AgentEnv":
			z.AgentEnv, err = dc.ReadString()
			if err != nil {
				return
			}
		case "Stats":
			var zb0002 uint32
			zb0002, err = dc.ReadArrayHeader()
			if err != nil {
				return
			}
			if cap(z.Stats) >= int(zb0002) {
				z.Stats = (z.Stats)[:zb0002]
			} else {
				z.Stats = make([]ClientStatsPayload, zb0002)
			}
			for za0001 := range z.Stats {
				err = z.Stats[za0001].DecodeMsg(dc)
				if err != nil {
					return
				}
			}
		case "AgentVersion":
			z.AgentVersion, err = dc.ReadString()
			if err != nil {
				return
			}
		case "ClientComputed":
			z.ClientComputed, err = dc.ReadBool()
			if err != nil {
				return
			}
		default:
			err = dc.Skip()
			if err != nil {
				return
			}
		}
	}
	return
}
// DecodeMsg implements msgp.Decodable
DecodeMsg implements msgp.Decodable
// DecodeMsg implements msgp . Decodable
func (z *StatsPayload) DecodeMsg(dc *msgp.Reader) (err error) {
	var field []byte
	_ = field
	var zb0001 uint32
	zb0001, err = dc.ReadMapHeader()
	if err != nil {
		return
	}
	for zb0001 > 0 {
		zb0001--
		field, err = dc.ReadMapKeyPtr()
		if err != nil {
			return
		}
		switch msgp.UnsafeString(field) {
		case "AgentHostname":
			z.AgentHostname, err = dc.ReadString()
			if err != nil {
				return
			}
		case "AgentEnv":
			z.AgentEnv, err = dc.ReadString()
			if err != nil {
				return
			}
		case "Stats":
			var zb0002 uint32
			zb0002, err = dc.ReadArrayHeader()
			if err != nil {
				return
			}
			if cap(z.Stats) >= int(zb0002) {
				z.Stats = (z.Stats)[:zb0002]
			} else {
				z.Stats = make([]ClientStatsPayload, zb0002)
			}
			for za0001 := range z.Stats {
				err = z.Stats[za0001].DecodeMsg(dc)
				if err != nil {
					return
				}
			}
		case "AgentVersion":
			z.AgentVersion, err = dc.ReadString()
			if err != nil {
				return
			}
		case "ClientComputed":
			z.ClientComputed, err = dc.ReadBool()
			if err != nil {
				return
			}
		default:
			err = dc.Skip()
			if err != nil {
				return
			}
		}
	}
	return
}
func ( z * StatsPayload ) DecodeMsg ( dc * msgp . Reader ) ( err error ) { var field [ ] byte _ = field var zb0001 uint32 zb0001 , err = dc . ReadMapHeader ( ) if err != nil { return } for zb0001 > 0 { zb0001 -- field , err = dc . ReadMapKeyPtr ( ) if err != nil { return } switch msgp . UnsafeString ( field ) { case " " : z . AgentHostname , err = dc . ReadString ( ) if err != nil { return } case " " : z . AgentEnv , err = dc . ReadString ( ) if err != nil { return } case " " : var zb0002 uint32 zb0002 , err = dc . ReadArrayHeader ( ) if err != nil { return } if cap ( z . Stats ) >= int ( zb0002 ) { z . Stats = ( z . Stats ) [ : zb0002 ] } else { z . Stats = make ( [ ] ClientStatsPayload , zb0002 ) } for za0001 := range z . Stats { err = z . Stats [ za0001 ] . DecodeMsg ( dc ) if err != nil { return } } case " " : z . AgentVersion , err = dc . ReadString ( ) if err != nil { return } case " " : z . ClientComputed , err = dc . ReadBool ( ) if err != nil { return } default : err = dc . Skip ( ) if err != nil { return } } } return }
DecodeMsg implements msgp.Decodable
DecodeMsg implements msgp . Decodable