.class public final enum Lcom/google/protobuf/Value$KindCase; .super Ljava/lang/Enum; .source "SourceFile" # 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;", ">;" } .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 private static synthetic $values()[Lcom/google/protobuf/Value$KindCase; .locals 7 sget-object v0, Lcom/google/protobuf/Value$KindCase;->NULL_VALUE:Lcom/google/protobuf/Value$KindCase; sget-object v1, Lcom/google/protobuf/Value$KindCase;->NUMBER_VALUE:Lcom/google/protobuf/Value$KindCase; sget-object v2, Lcom/google/protobuf/Value$KindCase;->STRING_VALUE:Lcom/google/protobuf/Value$KindCase; sget-object v3, Lcom/google/protobuf/Value$KindCase;->BOOL_VALUE:Lcom/google/protobuf/Value$KindCase; sget-object v4, Lcom/google/protobuf/Value$KindCase;->STRUCT_VALUE:Lcom/google/protobuf/Value$KindCase; sget-object v5, Lcom/google/protobuf/Value$KindCase;->LIST_VALUE:Lcom/google/protobuf/Value$KindCase; sget-object v6, Lcom/google/protobuf/Value$KindCase;->KIND_NOT_SET:Lcom/google/protobuf/Value$KindCase; filled-new-array/range {v0 .. v6}, [Lcom/google/protobuf/Value$KindCase; move-result-object v0 return-object v0 .end method .method static constructor ()V .locals 5 .line 27 new-instance v0, Lcom/google/protobuf/Value$KindCase; const-string v1, "NULL_VALUE" const/4 v2, 0x0 const/4 v3, 0x1 invoke-direct {v0, v1, v2, v3}, Lcom/google/protobuf/Value$KindCase;->(Ljava/lang/String;II)V sput-object v0, Lcom/google/protobuf/Value$KindCase;->NULL_VALUE:Lcom/google/protobuf/Value$KindCase; .line 28 new-instance v0, Lcom/google/protobuf/Value$KindCase; const-string v1, "NUMBER_VALUE" const/4 v4, 0x2 invoke-direct {v0, v1, v3, v4}, Lcom/google/protobuf/Value$KindCase;->(Ljava/lang/String;II)V sput-object v0, Lcom/google/protobuf/Value$KindCase;->NUMBER_VALUE:Lcom/google/protobuf/Value$KindCase; .line 29 new-instance v0, Lcom/google/protobuf/Value$KindCase; const-string v1, "STRING_VALUE" const/4 v3, 0x3 invoke-direct {v0, v1, v4, v3}, Lcom/google/protobuf/Value$KindCase;->(Ljava/lang/String;II)V sput-object v0, Lcom/google/protobuf/Value$KindCase;->STRING_VALUE:Lcom/google/protobuf/Value$KindCase; .line 30 new-instance v0, Lcom/google/protobuf/Value$KindCase; const-string v1, "BOOL_VALUE" const/4 v4, 0x4 invoke-direct {v0, v1, v3, v4}, Lcom/google/protobuf/Value$KindCase;->(Ljava/lang/String;II)V sput-object v0, Lcom/google/protobuf/Value$KindCase;->BOOL_VALUE:Lcom/google/protobuf/Value$KindCase; .line 31 new-instance v0, Lcom/google/protobuf/Value$KindCase; const-string v1, "STRUCT_VALUE" const/4 v3, 0x5 invoke-direct {v0, v1, v4, v3}, Lcom/google/protobuf/Value$KindCase;->(Ljava/lang/String;II)V sput-object v0, Lcom/google/protobuf/Value$KindCase;->STRUCT_VALUE:Lcom/google/protobuf/Value$KindCase; .line 32 new-instance v0, Lcom/google/protobuf/Value$KindCase; const-string v1, "LIST_VALUE" const/4 v4, 0x6 invoke-direct {v0, v1, v3, v4}, Lcom/google/protobuf/Value$KindCase;->(Ljava/lang/String;II)V sput-object v0, Lcom/google/protobuf/Value$KindCase;->LIST_VALUE:Lcom/google/protobuf/Value$KindCase; .line 33 new-instance v0, Lcom/google/protobuf/Value$KindCase; const-string v1, "KIND_NOT_SET" invoke-direct {v0, v1, v4, v2}, Lcom/google/protobuf/Value$KindCase;->(Ljava/lang/String;II)V sput-object v0, Lcom/google/protobuf/Value$KindCase;->KIND_NOT_SET:Lcom/google/protobuf/Value$KindCase; .line 26 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 private constructor (Ljava/lang/String;II)V .locals 0 .annotation system Ldalvik/annotation/Signature; value = { "(I)V" } .end annotation .line 35 invoke-direct {p0, p1, p2}, Ljava/lang/Enum;->(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; .locals 0 packed-switch p0, :pswitch_data_0 const/4 p0, 0x0 return-object p0 :pswitch_0 sget-object p0, Lcom/google/protobuf/Value$KindCase;->LIST_VALUE:Lcom/google/protobuf/Value$KindCase; return-object p0 :pswitch_1 sget-object p0, Lcom/google/protobuf/Value$KindCase;->STRUCT_VALUE:Lcom/google/protobuf/Value$KindCase; return-object p0 :pswitch_2 sget-object p0, Lcom/google/protobuf/Value$KindCase;->BOOL_VALUE:Lcom/google/protobuf/Value$KindCase; return-object p0 :pswitch_3 sget-object p0, Lcom/google/protobuf/Value$KindCase;->STRING_VALUE:Lcom/google/protobuf/Value$KindCase; return-object p0 :pswitch_4 sget-object p0, Lcom/google/protobuf/Value$KindCase;->NUMBER_VALUE:Lcom/google/protobuf/Value$KindCase; return-object p0 :pswitch_5 sget-object p0, Lcom/google/protobuf/Value$KindCase;->NULL_VALUE:Lcom/google/protobuf/Value$KindCase; return-object p0 :pswitch_6 sget-object p0, Lcom/google/protobuf/Value$KindCase;->KIND_NOT_SET:Lcom/google/protobuf/Value$KindCase; return-object p0 :pswitch_data_0 .packed-switch 0x0 :pswitch_6 :pswitch_5 :pswitch_4 :pswitch_3 :pswitch_2 :pswitch_1 :pswitch_0 .end packed-switch .end method .method public static valueOf(I)Lcom/google/protobuf/Value$KindCase; .locals 0 .annotation runtime Ljava/lang/Deprecated; .end annotation .line 43 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; .locals 1 const-class v0, Lcom/google/protobuf/Value$KindCase; .line 26 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; .locals 1 sget-object v0, Lcom/google/protobuf/Value$KindCase;->$VALUES:[Lcom/google/protobuf/Value$KindCase; .line 26 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 .locals 1 iget v0, p0, Lcom/google/protobuf/Value$KindCase;->value:I return v0 .end method