public static <T> Globally<T> globally() {
    return new AutoValue_ApproximateCountDistinct_Globally.Builder<T>()
        .setPrecision(HllCount.DEFAULT_PRECISION)
        .build();
  }
@Test
  @Category(NeedsRunner.class)
  public void testStandardTypesGlobalForBytes() {
    PCollection<Long> approxResultByte =
        p.apply(
                "BytesHLL",
                Create.of(
                    INTS1.stream()
                        .map(x -> ByteBuffer.allocate(4).putInt(x).array())
                        .collect(Collectors.toList())))
            .apply(ApproximateCountDistinct.globally());

    PAssert.thatSingleton(approxResultByte).isEqualTo(INTS1_ESTIMATE);

    p.run();
  }