func (z *ClientStatsPayload) 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 "Hostname":
			z.Hostname, err = dc.ReadString()
			if err != nil {
				return
			}
		case "Env":
			z.Env, err = dc.ReadString()
			if err != nil {
				return
			}
		case "Version":
			z.Version, 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([]ClientStatsBucket, zb0002)
			}
			for za0001 := range z.Stats {
				err = z.Stats[za0001].DecodeMsg(dc)
				if err != nil {
					return
				}
			}
		case "Lang":
			z.Lang, err = dc.ReadString()
			if err != nil {
				return
			}
		case "TracerVersion":
			z.TracerVersion, err = dc.ReadString()
			if err != nil {
				return
			}
		case "RuntimeID":
			z.RuntimeID, err = dc.ReadString()
			if err != nil {
				return
			}
		case "Sequence":
			z.Sequence, err = dc.ReadUint64()
			if err != nil {
				return
			}
		case "AgentAggregation":
			z.AgentAggregation, err = dc.ReadString()
			if err != nil {
				return
			}
		case "Service":
			z.Service, err = dc.ReadString()
			if err != nil {
				return
			}
		case "ContainerID":
			z.ContainerID, err = dc.ReadString()
			if err != nil {
				return
			}
		case "Tags":
			var zb0003 uint32
			zb0003, err = dc.ReadArrayHeader()
			if err != nil {
				return
			}
			if cap(z.Tags) >= int(zb0003) {
				z.Tags = (z.Tags)[:zb0003]
			} else {
				z.Tags = make([]string, zb0003)
			}
			for za0002 := range z.Tags {
				z.Tags[za0002], err = dc.ReadString()
				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 *ClientStatsPayload) 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 "Hostname":
			z.Hostname, err = dc.ReadString()
			if err != nil {
				return
			}
		case "Env":
			z.Env, err = dc.ReadString()
			if err != nil {
				return
			}
		case "Version":
			z.Version, 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([]ClientStatsBucket, zb0002)
			}
			for za0001 := range z.Stats {
				err = z.Stats[za0001].DecodeMsg(dc)
				if err != nil {
					return
				}
			}
		case "Lang":
			z.Lang, err = dc.ReadString()
			if err != nil {
				return
			}
		case "TracerVersion":
			z.TracerVersion, err = dc.ReadString()
			if err != nil {
				return
			}
		case "RuntimeID":
			z.RuntimeID, err = dc.ReadString()
			if err != nil {
				return
			}
		case "Sequence":
			z.Sequence, err = dc.ReadUint64()
			if err != nil {
				return
			}
		case "AgentAggregation":
			z.AgentAggregation, err = dc.ReadString()
			if err != nil {
				return
			}
		case "Service":
			z.Service, err = dc.ReadString()
			if err != nil {
				return
			}
		case "ContainerID":
			z.ContainerID, err = dc.ReadString()
			if err != nil {
				return
			}
		case "Tags":
			var zb0003 uint32
			zb0003, err = dc.ReadArrayHeader()
			if err != nil {
				return
			}
			if cap(z.Tags) >= int(zb0003) {
				z.Tags = (z.Tags)[:zb0003]
			} else {
				z.Tags = make([]string, zb0003)
			}
			for za0002 := range z.Tags {
				z.Tags[za0002], err = dc.ReadString()
				if err != nil {
					return
				}
			}
		default:
			err = dc.Skip()
			if err != nil {
				return
			}
		}
	}
	return
}
func ( z * ClientStatsPayload ) 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 . Hostname , err = dc . ReadString ( ) if err != nil { return } case " " : z . Env , err = dc . ReadString ( ) if err != nil { return } case " " : z . Version , 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 ( [ ] ClientStatsBucket , zb0002 ) } for za0001 := range z . Stats { err = z . Stats [ za0001 ] . DecodeMsg ( dc ) if err != nil { return } } case " " : z . Lang , err = dc . ReadString ( ) if err != nil { return } case " " : z . TracerVersion , err = dc . ReadString ( ) if err != nil { return } case " " : z . RuntimeID , err = dc . ReadString ( ) if err != nil { return } case " " : z . Sequence , err = dc . ReadUint64 ( ) if err != nil { return } case " " : z . AgentAggregation , err = dc . ReadString ( ) if err != nil { return } case " " : z . Service , err = dc . ReadString ( ) if err != nil { return } case " " : z . ContainerID , err = dc . ReadString ( ) if err != nil { return } case " " : var zb0003 uint32 zb0003 , err = dc . ReadArrayHeader ( ) if err != nil { return } if cap ( z . Tags ) >= int ( zb0003 ) { z . Tags = ( z . Tags ) [ : zb0003 ] } else { z . Tags = make ( [ ] string , zb0003 ) } for za0002 := range z . Tags { z . Tags [ za0002 ] , err = dc . ReadString ( ) if err != nil { return } } default : err = dc . Skip ( ) if err != nil { return } } } return }
DecodeMsg implements msgp.Decodable
DecodeMsg implements msgp . Decodable