Value$KindCase.smali
.class public final enum Lcom/google/protobuf/Value$KindCase;
.super Ljava/lang/Enum;
.source "Value.java"
# interfaces
.implements Lf6/k0$c;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/google/protobuf/Value$KindCase;",
">;",
"Lf6/k0$c;",
"Ljava/lang/Object;"
}
.end annotation
# static fields
.field public static final synthetic $VALUES:[Lcom/google/protobuf/Value$KindCase;
.field public static final enum BOOL_VALUE:Lcom/google/protobuf/Value$KindCase;
.field public static final enum KIND_NOT_SET:Lcom/google/protobuf/Value$KindCase;
.field public static final enum LIST_VALUE:Lcom/google/protobuf/Value$KindCase;
.field public static final enum NULL_VALUE:Lcom/google/protobuf/Value$KindCase;
.field public static final enum NUMBER_VALUE:Lcom/google/protobuf/Value$KindCase;
.field public static final enum STRING_VALUE:Lcom/google/protobuf/Value$KindCase;
.field public static final enum STRUCT_VALUE:Lcom/google/protobuf/Value$KindCase;
# instance fields
.field public final value:I
# direct methods
.method public static synthetic $values()[Lcom/google/protobuf/Value$KindCase;
.registers 3
const/4 v0, 0x7
new-array v0, v0, [Lcom/google/protobuf/Value$KindCase;
sget-object v1, Lcom/google/protobuf/Value$KindCase;->NULL_VALUE:Lcom/google/protobuf/Value$KindCase;
const/4 v2, 0x0
aput-object v1, v0, v2
sget-object v1, Lcom/google/protobuf/Value$KindCase;->NUMBER_VALUE:Lcom/google/protobuf/Value$KindCase;
const/4 v2, 0x1
aput-object v1, v0, v2
sget-object v1, Lcom/google/protobuf/Value$KindCase;->STRING_VALUE:Lcom/google/protobuf/Value$KindCase;
const/4 v2, 0x2
aput-object v1, v0, v2
sget-object v1, Lcom/google/protobuf/Value$KindCase;->BOOL_VALUE:Lcom/google/protobuf/Value$KindCase;
const/4 v2, 0x3
aput-object v1, v0, v2
sget-object v1, Lcom/google/protobuf/Value$KindCase;->STRUCT_VALUE:Lcom/google/protobuf/Value$KindCase;
const/4 v2, 0x4
aput-object v1, v0, v2
sget-object v1, Lcom/google/protobuf/Value$KindCase;->LIST_VALUE:Lcom/google/protobuf/Value$KindCase;
const/4 v2, 0x5
aput-object v1, v0, v2
sget-object v1, Lcom/google/protobuf/Value$KindCase;->KIND_NOT_SET:Lcom/google/protobuf/Value$KindCase;
const/4 v2, 0x6
aput-object v1, v0, v2
return-object v0
.end method
.method public static constructor <clinit>()V
.registers 5
new-instance v0, Lcom/google/protobuf/Value$KindCase;
const/4 v1, 0x1
const/4 v2, 0x0
const-string v3, "NULL_VALUE"
invoke-direct {v0, v3, v2, v1}, Lcom/google/protobuf/Value$KindCase;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/google/protobuf/Value$KindCase;->NULL_VALUE:Lcom/google/protobuf/Value$KindCase;
new-instance v0, Lcom/google/protobuf/Value$KindCase;
const/4 v3, 0x2
const-string v4, "NUMBER_VALUE"
invoke-direct {v0, v4, v1, v3}, Lcom/google/protobuf/Value$KindCase;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/google/protobuf/Value$KindCase;->NUMBER_VALUE:Lcom/google/protobuf/Value$KindCase;
new-instance v0, Lcom/google/protobuf/Value$KindCase;
const/4 v1, 0x3
const-string v4, "STRING_VALUE"
invoke-direct {v0, v4, v3, v1}, Lcom/google/protobuf/Value$KindCase;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/google/protobuf/Value$KindCase;->STRING_VALUE:Lcom/google/protobuf/Value$KindCase;
new-instance v0, Lcom/google/protobuf/Value$KindCase;
const/4 v3, 0x4
const-string v4, "BOOL_VALUE"
invoke-direct {v0, v4, v1, v3}, Lcom/google/protobuf/Value$KindCase;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/google/protobuf/Value$KindCase;->BOOL_VALUE:Lcom/google/protobuf/Value$KindCase;
new-instance v0, Lcom/google/protobuf/Value$KindCase;
const/4 v1, 0x5
const-string v4, "STRUCT_VALUE"
invoke-direct {v0, v4, v3, v1}, Lcom/google/protobuf/Value$KindCase;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/google/protobuf/Value$KindCase;->STRUCT_VALUE:Lcom/google/protobuf/Value$KindCase;
new-instance v0, Lcom/google/protobuf/Value$KindCase;
const/4 v3, 0x6
const-string v4, "LIST_VALUE"
invoke-direct {v0, v4, v1, v3}, Lcom/google/protobuf/Value$KindCase;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/google/protobuf/Value$KindCase;->LIST_VALUE:Lcom/google/protobuf/Value$KindCase;
new-instance v0, Lcom/google/protobuf/Value$KindCase;
const-string v1, "KIND_NOT_SET"
invoke-direct {v0, v1, v3, v2}, Lcom/google/protobuf/Value$KindCase;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/google/protobuf/Value$KindCase;->KIND_NOT_SET:Lcom/google/protobuf/Value$KindCase;
invoke-static {}, Lcom/google/protobuf/Value$KindCase;->$values()[Lcom/google/protobuf/Value$KindCase;
move-result-object v0
sput-object v0, Lcom/google/protobuf/Value$KindCase;->$VALUES:[Lcom/google/protobuf/Value$KindCase;
return-void
.end method
.method public constructor <init>(Ljava/lang/String;II)V
.registers 4
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)V"
}
.end annotation
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
iput p3, p0, Lcom/google/protobuf/Value$KindCase;->value:I
return-void
.end method
.method public static forNumber(I)Lcom/google/protobuf/Value$KindCase;
.registers 1
packed-switch p0, :pswitch_data_1a
const/4 p0, 0x0
return-object p0
:pswitch_5
sget-object p0, Lcom/google/protobuf/Value$KindCase;->LIST_VALUE:Lcom/google/protobuf/Value$KindCase;
return-object p0
:pswitch_8
sget-object p0, Lcom/google/protobuf/Value$KindCase;->STRUCT_VALUE:Lcom/google/protobuf/Value$KindCase;
return-object p0
:pswitch_b
sget-object p0, Lcom/google/protobuf/Value$KindCase;->BOOL_VALUE:Lcom/google/protobuf/Value$KindCase;
return-object p0
:pswitch_e
sget-object p0, Lcom/google/protobuf/Value$KindCase;->STRING_VALUE:Lcom/google/protobuf/Value$KindCase;
return-object p0
:pswitch_11
sget-object p0, Lcom/google/protobuf/Value$KindCase;->NUMBER_VALUE:Lcom/google/protobuf/Value$KindCase;
return-object p0
:pswitch_14
sget-object p0, Lcom/google/protobuf/Value$KindCase;->NULL_VALUE:Lcom/google/protobuf/Value$KindCase;
return-object p0
:pswitch_17
sget-object p0, Lcom/google/protobuf/Value$KindCase;->KIND_NOT_SET:Lcom/google/protobuf/Value$KindCase;
return-object p0
:pswitch_data_1a
.packed-switch 0x0
:pswitch_17
:pswitch_14
:pswitch_11
:pswitch_e
:pswitch_b
:pswitch_8
:pswitch_5
.end packed-switch
.end method
.method public static valueOf(I)Lcom/google/protobuf/Value$KindCase;
.registers 1
.annotation runtime Ljava/lang/Deprecated;
.end annotation
invoke-static {p0}, Lcom/google/protobuf/Value$KindCase;->forNumber(I)Lcom/google/protobuf/Value$KindCase;
move-result-object p0
return-object p0
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/google/protobuf/Value$KindCase;
.registers 2
const-class v0, Lcom/google/protobuf/Value$KindCase;
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/Value$KindCase;
return-object p0
.end method
.method public static values()[Lcom/google/protobuf/Value$KindCase;
.registers 1
sget-object v0, Lcom/google/protobuf/Value$KindCase;->$VALUES:[Lcom/google/protobuf/Value$KindCase;
invoke-virtual {v0}, [Lcom/google/protobuf/Value$KindCase;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/google/protobuf/Value$KindCase;
return-object v0
.end method
# virtual methods
.method public getNumber()I
.registers 2
iget v0, p0, Lcom/google/protobuf/Value$KindCase;->value:I
return v0
.end method