Value$KindCase.smali
.class public final enum Lcom/google/protobuf/Value$KindCase;
.super Ljava/lang/Enum;
.source "Value.java"
# interfaces
.implements Lcom/google/protobuf/Internal$EnumLite;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/protobuf/Value;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "KindCase"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum",
"<",
"Lcom/google/protobuf/Value$KindCase;",
">;",
"Lcom/google/protobuf/Internal$EnumLite;"
}
.end annotation
# static fields
.field private 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 private final value:I
# direct methods
.method static constructor <clinit>()V
.registers 9
.prologue
const/4 v8, 0x4
const/4 v7, 0x3
const/4 v6, 0x2
const/4 v5, 0x1
const/4 v4, 0x0
.line 130
new-instance v0, Lcom/google/protobuf/Value$KindCase;
const-string v1, "NULL_VALUE"
invoke-direct {v0, v1, v4, v5}, 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;
.line 131
new-instance v0, Lcom/google/protobuf/Value$KindCase;
const-string v1, "NUMBER_VALUE"
invoke-direct {v0, v1, v5, v6}, 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;
.line 132
new-instance v0, Lcom/google/protobuf/Value$KindCase;
const-string v1, "STRING_VALUE"
invoke-direct {v0, v1, v6, v7}, 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;
.line 133
new-instance v0, Lcom/google/protobuf/Value$KindCase;
const-string v1, "BOOL_VALUE"
invoke-direct {v0, v1, v7, v8}, 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;
.line 134
new-instance v0, Lcom/google/protobuf/Value$KindCase;
const-string v1, "STRUCT_VALUE"
const/4 v2, 0x5
invoke-direct {v0, v1, v8, v2}, 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;
.line 135
new-instance v0, Lcom/google/protobuf/Value$KindCase;
const-string v1, "LIST_VALUE"
const/4 v2, 0x5
const/4 v3, 0x6
invoke-direct {v0, v1, v2, 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;
.line 136
new-instance v0, Lcom/google/protobuf/Value$KindCase;
const-string v1, "KIND_NOT_SET"
const/4 v2, 0x6
invoke-direct {v0, v1, v2, v4}, 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;
.line 128
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;
aput-object v1, v0, v4
sget-object v1, Lcom/google/protobuf/Value$KindCase;->NUMBER_VALUE:Lcom/google/protobuf/Value$KindCase;
aput-object v1, v0, v5
sget-object v1, Lcom/google/protobuf/Value$KindCase;->STRING_VALUE:Lcom/google/protobuf/Value$KindCase;
aput-object v1, v0, v6
sget-object v1, Lcom/google/protobuf/Value$KindCase;->BOOL_VALUE:Lcom/google/protobuf/Value$KindCase;
aput-object v1, v0, v7
sget-object v1, Lcom/google/protobuf/Value$KindCase;->STRUCT_VALUE:Lcom/google/protobuf/Value$KindCase;
aput-object v1, v0, v8
const/4 v1, 0x5
sget-object v2, Lcom/google/protobuf/Value$KindCase;->LIST_VALUE:Lcom/google/protobuf/Value$KindCase;
aput-object v2, v0, v1
const/4 v1, 0x6
sget-object v2, Lcom/google/protobuf/Value$KindCase;->KIND_NOT_SET:Lcom/google/protobuf/Value$KindCase;
aput-object v2, v0, v1
sput-object v0, Lcom/google/protobuf/Value$KindCase;->$VALUES:[Lcom/google/protobuf/Value$KindCase;
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
.prologue
.line 138
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
.line 139
iput p3, p0, Lcom/google/protobuf/Value$KindCase;->value:I
.line 140
return-void
.end method
.method public static forNumber(I)Lcom/google/protobuf/Value$KindCase;
.registers 2
.prologue
.line 150
packed-switch p0, :pswitch_data_1a
.line 158
const/4 v0, 0x0
:goto_4
return-object v0
.line 151
:pswitch_5
sget-object v0, Lcom/google/protobuf/Value$KindCase;->NULL_VALUE:Lcom/google/protobuf/Value$KindCase;
goto :goto_4
.line 152
:pswitch_8
sget-object v0, Lcom/google/protobuf/Value$KindCase;->NUMBER_VALUE:Lcom/google/protobuf/Value$KindCase;
goto :goto_4
.line 153
:pswitch_b
sget-object v0, Lcom/google/protobuf/Value$KindCase;->STRING_VALUE:Lcom/google/protobuf/Value$KindCase;
goto :goto_4
.line 154
:pswitch_e
sget-object v0, Lcom/google/protobuf/Value$KindCase;->BOOL_VALUE:Lcom/google/protobuf/Value$KindCase;
goto :goto_4
.line 155
:pswitch_11
sget-object v0, Lcom/google/protobuf/Value$KindCase;->STRUCT_VALUE:Lcom/google/protobuf/Value$KindCase;
goto :goto_4
.line 156
:pswitch_14
sget-object v0, Lcom/google/protobuf/Value$KindCase;->LIST_VALUE:Lcom/google/protobuf/Value$KindCase;
goto :goto_4
.line 157
:pswitch_17
sget-object v0, Lcom/google/protobuf/Value$KindCase;->KIND_NOT_SET:Lcom/google/protobuf/Value$KindCase;
goto :goto_4
.line 150
:pswitch_data_1a
.packed-switch 0x0
:pswitch_17
:pswitch_5
:pswitch_8
:pswitch_b
:pswitch_e
:pswitch_11
:pswitch_14
.end packed-switch
.end method
.method public static valueOf(I)Lcom/google/protobuf/Value$KindCase;
.registers 2
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.prologue
.line 146
invoke-static {p0}, Lcom/google/protobuf/Value$KindCase;->forNumber(I)Lcom/google/protobuf/Value$KindCase;
move-result-object v0
return-object v0
.end method
.method public static valueOf(Ljava/lang/String;)Lcom/google/protobuf/Value$KindCase;
.registers 2
.prologue
.line 128
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 v0
check-cast v0, Lcom/google/protobuf/Value$KindCase;
return-object v0
.end method
.method public static values()[Lcom/google/protobuf/Value$KindCase;
.registers 1
.prologue
.line 128
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
.prologue
.line 162
iget v0, p0, Lcom/google/protobuf/Value$KindCase;->value:I
return v0
.end method