PluginProtos$CodeGeneratorResponse$Feature.smali
.class public final enum Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
.super Ljava/lang/Enum;
.source "PluginProtos.java"
# interfaces
.implements Lf6/v1;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x4019
name = "Feature"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Enum<",
"Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;",
">;",
"Lf6/v1;"
}
.end annotation
# static fields
.field public static final synthetic $VALUES:[Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
.field public static final enum FEATURE_NONE:Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
.field public static final FEATURE_NONE_VALUE:I = 0x0
.field public static final enum FEATURE_PROTO3_OPTIONAL:Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
.field public static final FEATURE_PROTO3_OPTIONAL_VALUE:I = 0x1
.field public static final VALUES:[Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
.field public static final internalValueMap:Lf6/k0$d;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lf6/k0$d<",
"Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;",
">;"
}
.end annotation
.end field
# instance fields
.field public final value:I
# direct methods
.method public static synthetic $values()[Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
.registers 3
const/4 v0, 0x2
new-array v0, v0, [Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
sget-object v1, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->FEATURE_NONE:Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
const/4 v2, 0x0
aput-object v1, v0, v2
sget-object v1, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->FEATURE_PROTO3_OPTIONAL:Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
const/4 v2, 0x1
aput-object v1, v0, v2
return-object v0
.end method
.method public static constructor <clinit>()V
.registers 3
new-instance v0, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
const/4 v1, 0x0
const-string v2, "FEATURE_NONE"
invoke-direct {v0, v2, v1, v1}, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->FEATURE_NONE:Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
new-instance v0, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
const/4 v1, 0x1
const-string v2, "FEATURE_PROTO3_OPTIONAL"
invoke-direct {v0, v2, v1, v1}, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;-><init>(Ljava/lang/String;II)V
sput-object v0, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->FEATURE_PROTO3_OPTIONAL:Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
invoke-static {}, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->$values()[Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
move-result-object v0
sput-object v0, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->$VALUES:[Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
new-instance v0, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature$a;
invoke-direct {v0}, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature$a;-><init>()V
sput-object v0, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->internalValueMap:Lf6/k0$d;
invoke-static {}, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->values()[Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
move-result-object v0
sput-object v0, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->VALUES:[Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
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/compiler/PluginProtos$CodeGeneratorResponse$Feature;->value:I
return-void
.end method
.method public static forNumber(I)Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
.registers 2
if-eqz p0, :cond_a
const/4 v0, 0x1
if-eq p0, v0, :cond_7
const/4 p0, 0x0
return-object p0
:cond_7
sget-object p0, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->FEATURE_PROTO3_OPTIONAL:Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
return-object p0
:cond_a
sget-object p0, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->FEATURE_NONE:Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
return-object p0
.end method
.method public static final getDescriptor()Lcom/google/protobuf/Descriptors$d;
.registers 2
invoke-static {}, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse;->getDescriptor()Lcom/google/protobuf/Descriptors$b;
move-result-object v0
invoke-virtual {v0}, Lcom/google/protobuf/Descriptors$b;->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/Descriptors$d;
return-object v0
.end method
.method public static internalGetValueMap()Lf6/k0$d;
.registers 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lf6/k0$d<",
"Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;",
">;"
}
.end annotation
sget-object v0, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->internalValueMap:Lf6/k0$d;
return-object v0
.end method
.method public static valueOf(I)Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
.registers 1
.annotation runtime Ljava/lang/Deprecated;
.end annotation
invoke-static {p0}, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->forNumber(I)Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
move-result-object p0
return-object p0
.end method
.method public static valueOf(Lcom/google/protobuf/Descriptors$e;)Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
.registers 3
invoke-virtual {p0}, Lcom/google/protobuf/Descriptors$e;->g()Lcom/google/protobuf/Descriptors$d;
move-result-object v0
invoke-static {}, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->getDescriptor()Lcom/google/protobuf/Descriptors$d;
move-result-object v1
if-ne v0, v1, :cond_13
sget-object v0, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->VALUES:[Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
invoke-virtual {p0}, Lcom/google/protobuf/Descriptors$e;->f()I
move-result p0
aget-object p0, v0, p0
return-object p0
:cond_13
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/compiler/PluginProtos$CodeGeneratorResponse$Feature;
.registers 2
const-class v0, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
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/compiler/PluginProtos$CodeGeneratorResponse$Feature;
return-object p0
.end method
.method public static values()[Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
.registers 1
sget-object v0, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->$VALUES:[Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
invoke-virtual {v0}, [Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->clone()Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;
return-object v0
.end method
# virtual methods
.method public final getDescriptorForType()Lcom/google/protobuf/Descriptors$d;
.registers 2
invoke-static {}, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->getDescriptor()Lcom/google/protobuf/Descriptors$d;
move-result-object v0
return-object v0
.end method
.method public final getNumber()I
.registers 2
iget v0, p0, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->value:I
return v0
.end method
.method public final getValueDescriptor()Lcom/google/protobuf/Descriptors$e;
.registers 3
invoke-static {}, Lcom/google/protobuf/compiler/PluginProtos$CodeGeneratorResponse$Feature;->getDescriptor()Lcom/google/protobuf/Descriptors$d;
move-result-object v0
invoke-virtual {v0}, Lcom/google/protobuf/Descriptors$d;->f()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/Descriptors$e;
return-object v0
.end method