@Immutable @AutoValue // Suppress Checker Framework warning about missing @Nullable in generated equals method. @AutoValue.CopyAnnotations @SuppressWarnings("nullness") abstract static class AttributeValueString extends AttributeValue { AttributeValueString() {} static AttributeValue create(String stringValue) { return new AutoValue_AttributeValue_AttributeValueString( checkNotNull(stringValue, "stringValue")); } @Override public final <T> T match( Function<? super String, T> stringFunction, Function<? super Boolean, T> booleanFunction, Function<? super Long, T> longFunction, Function<Object, T> defaultFunction) { return stringFunction.apply(getStringValue()); } abstract String getStringValue(); }
@Immutable @AutoValue // Suppress Checker Framework warning about missing @Nullable in generated equals method. @AutoValue.CopyAnnotations @SuppressWarnings("nullness") abstract static class AttributeValueBoolean extends AttributeValue { AttributeValueBoolean() {} static AttributeValue create(Boolean stringValue) { return new AutoValue_AttributeValue_AttributeValueBoolean( checkNotNull(stringValue, "stringValue")); } @Override public final <T> T match( Function<? super String, T> stringFunction, Function<? super Boolean, T> booleanFunction, Function<? super Long, T> longFunction, Function<Object, T> defaultFunction) { return booleanFunction.apply(getBooleanValue()); } abstract Boolean getBooleanValue(); }
@Immutable @AutoValue // Suppress Checker Framework warning about missing @Nullable in generated equals method. @AutoValue.CopyAnnotations @SuppressWarnings("nullness") abstract static class AttributeValueLong extends AttributeValue { AttributeValueLong() {} static AttributeValue create(Long stringValue) { return new AutoValue_AttributeValue_AttributeValueLong( checkNotNull(stringValue, "stringValue")); } @Override public final <T> T match( Function<? super String, T> stringFunction, Function<? super Boolean, T> booleanFunction, Function<? super Long, T> longFunction, Function<Object, T> defaultFunction) { return longFunction.apply(getLongValue()); } abstract Long getLongValue(); } }
@AutoValue @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract static class SumDataDouble extends AggregationData {
@AutoValue @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract static class TimedEvent<T> {
@AutoValue @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract class Tag {
@AutoValue @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract static class SumDataLong extends AggregationData {
@AutoValue @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract class BucketBoundaries {
@AutoValue @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract static class CountData extends AggregationData {
@AutoValue @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract static class MeasurementLong extends Measurement {
@AutoValue @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract static class Name {
@AutoValue @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract static class IntervalData extends AggregationWindowData {
@Immutable @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract static class Summary {
@AutoValue @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract static class MeasurementDouble extends Measurement {
@AutoValue @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract static class Cumulative extends AggregationWindow {
@AutoValue @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract static class Mean extends Aggregation {
@AutoValue @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract static class Sum extends Aggregation {
@Immutable @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract static class Summary {
@AutoValue @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract static class Count extends Aggregation {
@Immutable @AutoValue.CopyAnnotations @SuppressWarnings("nullness") public abstract static class PerSpanNameSummary {