c2.smali
.class public final enum Lcom/google/protobuf/c2;
.super Ljava/lang/Enum;
.source "SourceFile"
# interfaces
.implements Lcom/google/protobuf/s0$c;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/google/protobuf/c2;",
">;",
"Lcom/google/protobuf/s0$c;"
}
.end annotation
# static fields
.field private static final synthetic $VALUES:[Lcom/google/protobuf/c2;
.field public static final enum NULL_VALUE:Lcom/google/protobuf/c2;
.field public static final NULL_VALUE_VALUE:I
.field public static final enum UNRECOGNIZED:Lcom/google/protobuf/c2;
.field private static final VALUES:[Lcom/google/protobuf/c2;
.field private static final internalValueMap:Lcom/google/protobuf/s0$d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/protobuf/s0$d<",
"Lcom/google/protobuf/c2;",
">;"
}
.end annotation
.end field
# instance fields
.field private final value:I
# direct methods
.method private static synthetic $values()[Lcom/google/protobuf/c2;
.registers 3
const/4 v0, 0x2
new-array v0, v0, [Lcom/google/protobuf/c2;
sget-object v1, Lcom/google/protobuf/c2;->NULL_VALUE:Lcom/google/protobuf/c2;
const/4 v2, 0x0
aput-object v1, v0, v2
sget-object v1, Lcom/google/protobuf/c2;->UNRECOGNIZED:Lcom/google/protobuf/c2;
const/4 v2, 0x1
aput-object v1, v0, v2
return-object v0
.end method
.method public static constructor <clinit>()V
.registers 4
.line 1
new-instance v0, Lcom/google/protobuf/c2;
const-string v1, "NULL_VALUE"
const/4 v2, 0x0
invoke-direct {v0, v1, v2, v2}, Lcom/google/protobuf/c2;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/google/protobuf/c2;->NULL_VALUE:Lcom/google/protobuf/c2;
.line 2
new-instance v0, Lcom/google/protobuf/c2;
const-string v1, "UNRECOGNIZED"
const/4 v2, 0x1
const/4 v3, -0x1
invoke-direct {v0, v1, v2, v3}, Lcom/google/protobuf/c2;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/google/protobuf/c2;->UNRECOGNIZED:Lcom/google/protobuf/c2;
.line 3
invoke-static {}, Lcom/google/protobuf/c2;->$values()[Lcom/google/protobuf/c2;
move-result-object v0
sput-object v0, Lcom/google/protobuf/c2;->$VALUES:[Lcom/google/protobuf/c2;
.line 4
new-instance v0, Lcom/google/protobuf/c2$a;
invoke-direct {v0}, Lcom/google/protobuf/c2$a;-><init>()V
sput-object v0, Lcom/google/protobuf/c2;->internalValueMap:Lcom/google/protobuf/s0$d;
.line 5
invoke-static {}, Lcom/google/protobuf/c2;->values()[Lcom/google/protobuf/c2;
move-result-object v0
sput-object v0, Lcom/google/protobuf/c2;->VALUES:[Lcom/google/protobuf/c2;
return-void
.end method
.method private constructor <init>(Ljava/lang/String;II)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)V"
}
.end annotation
.line 1
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
.line 2
iput p3, p0, Lcom/google/protobuf/c2;->value:I
return-void
.end method
.method public static forNumber(I)Lcom/google/protobuf/c2;
.registers 1
if-eqz p0, :cond_4
const/4 p0, 0x0
return-object p0
:cond_4
sget-object p0, Lcom/google/protobuf/c2;->NULL_VALUE:Lcom/google/protobuf/c2;
return-object p0
.end method
.method public static final getDescriptor()Lcom/google/protobuf/t$e;
.registers 2
.line 1
sget-object v0, Lcom/google/protobuf/w2;->h:Lcom/google/protobuf/t$h;
.line 2
invoke-virtual {v0}, Lcom/google/protobuf/t$h;->g()Ljava/util/List;
move-result-object v0
const/4 v1, 0x0
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/protobuf/t$e;
return-object v0
.end method
.method public static internalGetValueMap()Lcom/google/protobuf/s0$d;
.registers 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/protobuf/s0$d<",
"Lcom/google/protobuf/c2;",
">;"
}
.end annotation
sget-object v0, Lcom/google/protobuf/c2;->internalValueMap:Lcom/google/protobuf/s0$d;
return-object v0
.end method
.method public static valueOf(I)Lcom/google/protobuf/c2;
.registers 1
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 2
invoke-static {p0}, Lcom/google/protobuf/c2;->forNumber(I)Lcom/google/protobuf/c2;
move-result-object p0
return-object p0
.end method
.method public static valueOf(Lcom/google/protobuf/t$f;)Lcom/google/protobuf/c2;
.registers 3
.line 3
iget-object v0, p0, Lcom/google/protobuf/t$f;->d:Lcom/google/protobuf/t$e;
.line 4
invoke-static {}, Lcom/google/protobuf/c2;->getDescriptor()Lcom/google/protobuf/t$e;
move-result-object v1
if-ne v0, v1, :cond_15
.line 5
iget p0, p0, Lcom/google/protobuf/t$f;->a:I
const/4 v0, -0x1
if-ne p0, v0, :cond_10
.line 6
sget-object p0, Lcom/google/protobuf/c2;->UNRECOGNIZED:Lcom/google/protobuf/c2;
return-object p0
.line 7
:cond_10
sget-object v0, Lcom/google/protobuf/c2;->VALUES:[Lcom/google/protobuf/c2;
aget-object p0, v0, p0
return-object p0
.line 8
:cond_15
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string v0, "EnumValueDescriptor is not for this type."
invoke-direct {p0, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/google/protobuf/c2;
.registers 2
.line 1
const-class v0, Lcom/google/protobuf/c2;
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
move-result-object p0
check-cast p0, Lcom/google/protobuf/c2;
return-object p0
.end method
.method public static values()[Lcom/google/protobuf/c2;
.registers 1
sget-object v0, Lcom/google/protobuf/c2;->$VALUES:[Lcom/google/protobuf/c2;
invoke-virtual {v0}, [Lcom/google/protobuf/c2;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/google/protobuf/c2;
return-object v0
.end method
# virtual methods
.method public final getDescriptorForType()Lcom/google/protobuf/t$e;
.registers 2
invoke-static {}, Lcom/google/protobuf/c2;->getDescriptor()Lcom/google/protobuf/t$e;
move-result-object v0
return-object v0
.end method
.method public final getNumber()I
.registers 3
.line 1
sget-object v0, Lcom/google/protobuf/c2;->UNRECOGNIZED:Lcom/google/protobuf/c2;
if-eq p0, v0, :cond_7
.line 2
iget v0, p0, Lcom/google/protobuf/c2;->value:I
return v0
.line 3
:cond_7
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Can\'t get the number of an unknown enum value."
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public final getValueDescriptor()Lcom/google/protobuf/t$f;
.registers 3
.line 1
sget-object v0, Lcom/google/protobuf/c2;->UNRECOGNIZED:Lcom/google/protobuf/c2;
if-eq p0, v0, :cond_17
.line 2
invoke-static {}, Lcom/google/protobuf/c2;->getDescriptor()Lcom/google/protobuf/t$e;
move-result-object v0
invoke-virtual {v0}, Lcom/google/protobuf/t$e;->h()Ljava/util/List;
move-result-object v0
invoke-virtual {p0}, Ljava/lang/Enum;->ordinal()I
move-result v1
invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/protobuf/t$f;
return-object v0
.line 3
:cond_17
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "Can\'t get the descriptor of an unrecognized enum value."
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method