tracing/types.go
func (t *StreamCompression) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch StreamCompression(in.String()) {
	case StreamCompressionNone:
		*t = StreamCompressionNone
	case StreamCompressionGzip:
		*t = StreamCompressionGzip

	default:
		in.AddError(errors.New("unknown StreamCompression value"))
	}
}
func (t *StreamCompression) UnmarshalEasyJSON(in *jlexer.Lexer) {
	switch StreamCompression(in.String()) {
	case StreamCompressionNone:
		*t = StreamCompressionNone
	case StreamCompressionGzip:
		*t = StreamCompressionGzip

	default:
		in.AddError(errors.New("unknown StreamCompression value"))
	}
}
// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.