Rabbit-R1/original r1/java/sources/io/sentry/MeasurementUnit.java
2024-05-21 17:08:36 -04:00

82 lines
1.8 KiB
Java

package io.sentry;
import java.util.Locale;
/* loaded from: classes3.dex */
public interface MeasurementUnit {
public static final String NONE = "none";
String apiName();
String name();
/* loaded from: classes3.dex */
public enum Duration implements MeasurementUnit {
NANOSECOND,
MICROSECOND,
MILLISECOND,
SECOND,
MINUTE,
HOUR,
DAY,
WEEK;
@Override // io.sentry.MeasurementUnit
public String apiName() {
return name().toLowerCase(Locale.ROOT);
}
}
/* loaded from: classes3.dex */
public enum Information implements MeasurementUnit {
BIT,
BYTE,
KILOBYTE,
KIBIBYTE,
MEGABYTE,
MEBIBYTE,
GIGABYTE,
GIBIBYTE,
TERABYTE,
TEBIBYTE,
PETABYTE,
PEBIBYTE,
EXABYTE,
EXBIBYTE;
@Override // io.sentry.MeasurementUnit
public String apiName() {
return name().toLowerCase(Locale.ROOT);
}
}
/* loaded from: classes3.dex */
public enum Fraction implements MeasurementUnit {
RATIO,
PERCENT;
@Override // io.sentry.MeasurementUnit
public String apiName() {
return name().toLowerCase(Locale.ROOT);
}
}
/* loaded from: classes3.dex */
public static final class Custom implements MeasurementUnit {
private final String name;
@Override // io.sentry.MeasurementUnit
public String name() {
return this.name;
}
public Custom(String str) {
this.name = str;
}
@Override // io.sentry.MeasurementUnit
public String apiName() {
return name().toLowerCase(Locale.ROOT);
}
}
}