:   switch m.(type) {   case *stats.Int00Measure:    return metricdata.TypeCumulativeInt00   case *stats.Float00Measure:    return metricdata.TypeCumulativeInt00   default:    panic("unexpected measure type")   }  