what-the-bank/sources/o/CuI.java

257 lines
10 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import java.lang.reflect.Type;
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Found several "values" enum fields: [] */
/* loaded from: classes2.dex */
public final class CuI {
private static final CuI[] $VALUES;
public static final CuI BOOL;
public static final CuI BOOL_LIST;
public static final CuI BOOL_LIST_PACKED;
public static final CuI BYTES;
public static final CuI BYTES_LIST;
public static final CuI DOUBLE;
public static final CuI DOUBLE_LIST;
public static final CuI DOUBLE_LIST_PACKED;
private static final Type[] EMPTY_TYPES;
public static final CuI ENUM;
public static final CuI ENUM_LIST;
public static final CuI ENUM_LIST_PACKED;
public static final CuI FIXED32;
public static final CuI FIXED32_LIST;
public static final CuI FIXED32_LIST_PACKED;
public static final CuI FIXED64;
public static final CuI FIXED64_LIST;
public static final CuI FIXED64_LIST_PACKED;
public static final CuI FLOAT;
public static final CuI FLOAT_LIST;
public static final CuI FLOAT_LIST_PACKED;
public static final CuI GROUP;
public static final CuI GROUP_LIST;
public static final CuI INT32;
public static final CuI INT32_LIST;
public static final CuI INT32_LIST_PACKED;
public static final CuI INT64;
public static final CuI INT64_LIST;
public static final CuI INT64_LIST_PACKED;
public static final CuI MAP;
public static final CuI MESSAGE;
public static final CuI MESSAGE_LIST;
public static final CuI SFIXED32;
public static final CuI SFIXED32_LIST;
public static final CuI SFIXED32_LIST_PACKED;
public static final CuI SFIXED64;
public static final CuI SFIXED64_LIST;
public static final CuI SFIXED64_LIST_PACKED;
public static final CuI SINT32;
public static final CuI SINT32_LIST;
public static final CuI SINT32_LIST_PACKED;
public static final CuI SINT64;
public static final CuI SINT64_LIST;
public static final CuI SINT64_LIST_PACKED;
public static final CuI STRING;
public static final CuI STRING_LIST;
public static final CuI UINT32;
public static final CuI UINT32_LIST;
public static final CuI UINT32_LIST_PACKED;
public static final CuI UINT64;
public static final CuI UINT64_LIST;
public static final CuI UINT64_LIST_PACKED;
private static final CuI[] VALUES;
final HBt collection;
private final Class<?> elementType;
final int id;
private final XgR javaType;
private final boolean primitiveScalar;
public static CuI valueOf(String str) {
return (CuI) Enum.valueOf(CuI.class, str);
}
public static CuI[] values() {
return (CuI[]) $VALUES.clone();
}
static {
CuI cuI = new CuI("DOUBLE", 0, 0, HBt.SCALAR, XgR.DOUBLE);
DOUBLE = cuI;
CuI cuI2 = new CuI("FLOAT", 1, 1, HBt.SCALAR, XgR.FLOAT);
FLOAT = cuI2;
CuI cuI3 = new CuI("INT64", 2, 2, HBt.SCALAR, XgR.LONG);
INT64 = cuI3;
CuI cuI4 = new CuI("UINT64", 3, 3, HBt.SCALAR, XgR.LONG);
UINT64 = cuI4;
CuI cuI5 = new CuI("INT32", 4, 4, HBt.SCALAR, XgR.INT);
INT32 = cuI5;
CuI cuI6 = new CuI("FIXED64", 5, 5, HBt.SCALAR, XgR.LONG);
FIXED64 = cuI6;
CuI cuI7 = new CuI("FIXED32", 6, 6, HBt.SCALAR, XgR.INT);
FIXED32 = cuI7;
CuI cuI8 = new CuI("BOOL", 7, 7, HBt.SCALAR, XgR.BOOLEAN);
BOOL = cuI8;
CuI cuI9 = new CuI("STRING", 8, 8, HBt.SCALAR, XgR.STRING);
STRING = cuI9;
CuI cuI10 = new CuI("MESSAGE", 9, 9, HBt.SCALAR, XgR.MESSAGE);
MESSAGE = cuI10;
CuI cuI11 = new CuI("BYTES", 10, 10, HBt.SCALAR, XgR.BYTE_STRING);
BYTES = cuI11;
CuI cuI12 = new CuI("UINT32", 11, 11, HBt.SCALAR, XgR.INT);
UINT32 = cuI12;
CuI cuI13 = new CuI("ENUM", 12, 12, HBt.SCALAR, XgR.ENUM);
ENUM = cuI13;
CuI cuI14 = new CuI("SFIXED32", 13, 13, HBt.SCALAR, XgR.INT);
SFIXED32 = cuI14;
CuI cuI15 = new CuI("SFIXED64", 14, 14, HBt.SCALAR, XgR.LONG);
SFIXED64 = cuI15;
CuI cuI16 = new CuI("SINT32", 15, 15, HBt.SCALAR, XgR.INT);
SINT32 = cuI16;
CuI cuI17 = new CuI("SINT64", 16, 16, HBt.SCALAR, XgR.LONG);
SINT64 = cuI17;
CuI cuI18 = new CuI("GROUP", 17, 17, HBt.SCALAR, XgR.MESSAGE);
GROUP = cuI18;
CuI cuI19 = new CuI("DOUBLE_LIST", 18, 18, HBt.VECTOR, XgR.DOUBLE);
DOUBLE_LIST = cuI19;
CuI cuI20 = new CuI("FLOAT_LIST", 19, 19, HBt.VECTOR, XgR.FLOAT);
FLOAT_LIST = cuI20;
CuI cuI21 = new CuI("INT64_LIST", 20, 20, HBt.VECTOR, XgR.LONG);
INT64_LIST = cuI21;
CuI cuI22 = new CuI("UINT64_LIST", 21, 21, HBt.VECTOR, XgR.LONG);
UINT64_LIST = cuI22;
CuI cuI23 = new CuI("INT32_LIST", 22, 22, HBt.VECTOR, XgR.INT);
INT32_LIST = cuI23;
CuI cuI24 = new CuI("FIXED64_LIST", 23, 23, HBt.VECTOR, XgR.LONG);
FIXED64_LIST = cuI24;
CuI cuI25 = new CuI("FIXED32_LIST", 24, 24, HBt.VECTOR, XgR.INT);
FIXED32_LIST = cuI25;
CuI cuI26 = new CuI("BOOL_LIST", 25, 25, HBt.VECTOR, XgR.BOOLEAN);
BOOL_LIST = cuI26;
CuI cuI27 = new CuI("STRING_LIST", 26, 26, HBt.VECTOR, XgR.STRING);
STRING_LIST = cuI27;
CuI cuI28 = new CuI("MESSAGE_LIST", 27, 27, HBt.VECTOR, XgR.MESSAGE);
MESSAGE_LIST = cuI28;
CuI cuI29 = new CuI("BYTES_LIST", 28, 28, HBt.VECTOR, XgR.BYTE_STRING);
BYTES_LIST = cuI29;
CuI cuI30 = new CuI("UINT32_LIST", 29, 29, HBt.VECTOR, XgR.INT);
UINT32_LIST = cuI30;
CuI cuI31 = new CuI("ENUM_LIST", 30, 30, HBt.VECTOR, XgR.ENUM);
ENUM_LIST = cuI31;
CuI cuI32 = new CuI("SFIXED32_LIST", 31, 31, HBt.VECTOR, XgR.INT);
SFIXED32_LIST = cuI32;
CuI cuI33 = new CuI("SFIXED64_LIST", 32, 32, HBt.VECTOR, XgR.LONG);
SFIXED64_LIST = cuI33;
CuI cuI34 = new CuI("SINT32_LIST", 33, 33, HBt.VECTOR, XgR.INT);
SINT32_LIST = cuI34;
CuI cuI35 = new CuI("SINT64_LIST", 34, 34, HBt.VECTOR, XgR.LONG);
SINT64_LIST = cuI35;
CuI cuI36 = new CuI("DOUBLE_LIST_PACKED", 35, 35, HBt.PACKED_VECTOR, XgR.DOUBLE);
DOUBLE_LIST_PACKED = cuI36;
CuI cuI37 = new CuI("FLOAT_LIST_PACKED", 36, 36, HBt.PACKED_VECTOR, XgR.FLOAT);
FLOAT_LIST_PACKED = cuI37;
CuI cuI38 = new CuI("INT64_LIST_PACKED", 37, 37, HBt.PACKED_VECTOR, XgR.LONG);
INT64_LIST_PACKED = cuI38;
CuI cuI39 = new CuI("UINT64_LIST_PACKED", 38, 38, HBt.PACKED_VECTOR, XgR.LONG);
UINT64_LIST_PACKED = cuI39;
CuI cuI40 = new CuI("INT32_LIST_PACKED", 39, 39, HBt.PACKED_VECTOR, XgR.INT);
INT32_LIST_PACKED = cuI40;
CuI cuI41 = new CuI("FIXED64_LIST_PACKED", 40, 40, HBt.PACKED_VECTOR, XgR.LONG);
FIXED64_LIST_PACKED = cuI41;
CuI cuI42 = new CuI("FIXED32_LIST_PACKED", 41, 41, HBt.PACKED_VECTOR, XgR.INT);
FIXED32_LIST_PACKED = cuI42;
CuI cuI43 = new CuI("BOOL_LIST_PACKED", 42, 42, HBt.PACKED_VECTOR, XgR.BOOLEAN);
BOOL_LIST_PACKED = cuI43;
CuI cuI44 = new CuI("UINT32_LIST_PACKED", 43, 43, HBt.PACKED_VECTOR, XgR.INT);
UINT32_LIST_PACKED = cuI44;
CuI cuI45 = new CuI("ENUM_LIST_PACKED", 44, 44, HBt.PACKED_VECTOR, XgR.ENUM);
ENUM_LIST_PACKED = cuI45;
CuI cuI46 = new CuI("SFIXED32_LIST_PACKED", 45, 45, HBt.PACKED_VECTOR, XgR.INT);
SFIXED32_LIST_PACKED = cuI46;
CuI cuI47 = new CuI("SFIXED64_LIST_PACKED", 46, 46, HBt.PACKED_VECTOR, XgR.LONG);
SFIXED64_LIST_PACKED = cuI47;
CuI cuI48 = new CuI("SINT32_LIST_PACKED", 47, 47, HBt.PACKED_VECTOR, XgR.INT);
SINT32_LIST_PACKED = cuI48;
CuI cuI49 = new CuI("SINT64_LIST_PACKED", 48, 48, HBt.PACKED_VECTOR, XgR.LONG);
SINT64_LIST_PACKED = cuI49;
CuI cuI50 = new CuI("GROUP_LIST", 49, 49, HBt.VECTOR, XgR.MESSAGE);
GROUP_LIST = cuI50;
CuI cuI51 = new CuI("MAP", 50, 50, HBt.MAP, XgR.VOID);
MAP = cuI51;
$VALUES = new CuI[]{cuI, cuI2, cuI3, cuI4, cuI5, cuI6, cuI7, cuI8, cuI9, cuI10, cuI11, cuI12, cuI13, cuI14, cuI15, cuI16, cuI17, cuI18, cuI19, cuI20, cuI21, cuI22, cuI23, cuI24, cuI25, cuI26, cuI27, cuI28, cuI29, cuI30, cuI31, cuI32, cuI33, cuI34, cuI35, cuI36, cuI37, cuI38, cuI39, cuI40, cuI41, cuI42, cuI43, cuI44, cuI45, cuI46, cuI47, cuI48, cuI49, cuI50, cuI51};
EMPTY_TYPES = new Type[0];
CuI[] values = values();
VALUES = new CuI[values.length];
for (CuI cuI52 : values) {
VALUES[cuI52.id] = cuI52;
}
}
private CuI(String str, int i, int i2, HBt hBt, XgR xgR) {
int i3;
this.id = i2;
this.collection = hBt;
this.javaType = xgR;
int i4 = AnonymousClass5.e[hBt.ordinal()];
if (i4 == 1) {
this.elementType = xgR.boxedType;
} else if (i4 != 2) {
this.elementType = null;
} else {
this.elementType = xgR.boxedType;
}
this.primitiveScalar = (hBt != HBt.SCALAR || (i3 = AnonymousClass5.d[xgR.ordinal()]) == 1 || i3 == 2 || i3 == 3) ? false : true;
}
/* renamed from: o.CuI$5, reason: invalid class name */
/* loaded from: classes2.dex */
static /* synthetic */ class AnonymousClass5 {
static final int[] d;
static final int[] e;
static {
int[] iArr = new int[XgR.values().length];
d = iArr;
try {
iArr[XgR.BYTE_STRING.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
d[XgR.MESSAGE.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
d[XgR.STRING.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
int[] iArr2 = new int[HBt.values().length];
e = iArr2;
try {
iArr2[HBt.MAP.ordinal()] = 1;
} catch (NoSuchFieldError unused4) {
}
try {
e[HBt.VECTOR.ordinal()] = 2;
} catch (NoSuchFieldError unused5) {
}
try {
e[HBt.SCALAR.ordinal()] = 3;
} catch (NoSuchFieldError unused6) {
}
}
}
/* loaded from: classes2.dex */
enum HBt {
SCALAR(false),
VECTOR(true),
PACKED_VECTOR(true),
MAP(false);
final boolean isList;
HBt(boolean z) {
this.isList = z;
}
}
}