Files
rr3-apk/smali_classes3/com/google/protobuf/Value.smali
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3
- APKTool decompilation (Smali bytecode) for modding and rebuilding APK
- Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures
- Includes full Smali source, resources, and native libraries
- Ready to rebuild APK after modifications with apktool b command
- Added comprehensive README-apktool.md with modding guide

This branch complements the JADX branches:
- Use JADX (main/discord-community) to UNDERSTAND code (readable Java)
- Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali)

Total: 44,417 files, 538.51 MB Smali source code
2026-02-18 16:13:44 -08:00

1429 lines
34 KiB
Smali

.class public final Lcom/google/protobuf/Value;
.super Lcom/google/protobuf/GeneratedMessageLite;
.source "SourceFile"
# interfaces
.implements Lcom/google/protobuf/ValueOrBuilder;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/protobuf/Value$Builder;,
Lcom/google/protobuf/Value$KindCase;
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/protobuf/GeneratedMessageLite<",
"Lcom/google/protobuf/Value;",
"Lcom/google/protobuf/Value$Builder;",
">;",
"Lcom/google/protobuf/ValueOrBuilder;"
}
.end annotation
# static fields
.field public static final BOOL_VALUE_FIELD_NUMBER:I = 0x4
.field private static final DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.field public static final LIST_VALUE_FIELD_NUMBER:I = 0x6
.field public static final NULL_VALUE_FIELD_NUMBER:I = 0x1
.field public static final NUMBER_VALUE_FIELD_NUMBER:I = 0x2
.field private static volatile PARSER:Lcom/google/protobuf/Parser; = null
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/protobuf/Parser<",
"Lcom/google/protobuf/Value;",
">;"
}
.end annotation
.end field
.field public static final STRING_VALUE_FIELD_NUMBER:I = 0x3
.field public static final STRUCT_VALUE_FIELD_NUMBER:I = 0x5
# instance fields
.field private kindCase_:I
.field private kind_:Ljava/lang/Object;
# direct methods
.method static constructor <clinit>()V
.locals 2
.line 1074
new-instance v0, Lcom/google/protobuf/Value;
invoke-direct {v0}, Lcom/google/protobuf/Value;-><init>()V
sput-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
const-class v1, Lcom/google/protobuf/Value;
.line 1078
invoke-static {v1, v0}, Lcom/google/protobuf/GeneratedMessageLite;->registerDefaultInstance(Ljava/lang/Class;Lcom/google/protobuf/GeneratedMessageLite;)V
return-void
.end method
.method private constructor <init>()V
.locals 1
.line 22
invoke-direct {p0}, Lcom/google/protobuf/GeneratedMessageLite;-><init>()V
const/4 v0, 0x0
iput v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
return-void
.end method
.method public static synthetic access$000()Lcom/google/protobuf/Value;
.locals 1
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
return-object v0
.end method
.method public static synthetic access$100(Lcom/google/protobuf/Value;)V
.locals 0
.line 17
invoke-direct {p0}, Lcom/google/protobuf/Value;->clearKind()V
return-void
.end method
.method public static synthetic access$1000(Lcom/google/protobuf/Value;Z)V
.locals 0
.line 17
invoke-direct {p0, p1}, Lcom/google/protobuf/Value;->setBoolValue(Z)V
return-void
.end method
.method public static synthetic access$1100(Lcom/google/protobuf/Value;)V
.locals 0
.line 17
invoke-direct {p0}, Lcom/google/protobuf/Value;->clearBoolValue()V
return-void
.end method
.method public static synthetic access$1200(Lcom/google/protobuf/Value;Lcom/google/protobuf/Struct;)V
.locals 0
.line 17
invoke-direct {p0, p1}, Lcom/google/protobuf/Value;->setStructValue(Lcom/google/protobuf/Struct;)V
return-void
.end method
.method public static synthetic access$1300(Lcom/google/protobuf/Value;Lcom/google/protobuf/Struct;)V
.locals 0
.line 17
invoke-direct {p0, p1}, Lcom/google/protobuf/Value;->mergeStructValue(Lcom/google/protobuf/Struct;)V
return-void
.end method
.method public static synthetic access$1400(Lcom/google/protobuf/Value;)V
.locals 0
.line 17
invoke-direct {p0}, Lcom/google/protobuf/Value;->clearStructValue()V
return-void
.end method
.method public static synthetic access$1500(Lcom/google/protobuf/Value;Lcom/google/protobuf/ListValue;)V
.locals 0
.line 17
invoke-direct {p0, p1}, Lcom/google/protobuf/Value;->setListValue(Lcom/google/protobuf/ListValue;)V
return-void
.end method
.method public static synthetic access$1600(Lcom/google/protobuf/Value;Lcom/google/protobuf/ListValue;)V
.locals 0
.line 17
invoke-direct {p0, p1}, Lcom/google/protobuf/Value;->mergeListValue(Lcom/google/protobuf/ListValue;)V
return-void
.end method
.method public static synthetic access$1700(Lcom/google/protobuf/Value;)V
.locals 0
.line 17
invoke-direct {p0}, Lcom/google/protobuf/Value;->clearListValue()V
return-void
.end method
.method public static synthetic access$200(Lcom/google/protobuf/Value;I)V
.locals 0
.line 17
invoke-direct {p0, p1}, Lcom/google/protobuf/Value;->setNullValueValue(I)V
return-void
.end method
.method public static synthetic access$300(Lcom/google/protobuf/Value;Lcom/google/protobuf/NullValue;)V
.locals 0
.line 17
invoke-direct {p0, p1}, Lcom/google/protobuf/Value;->setNullValue(Lcom/google/protobuf/NullValue;)V
return-void
.end method
.method public static synthetic access$400(Lcom/google/protobuf/Value;)V
.locals 0
.line 17
invoke-direct {p0}, Lcom/google/protobuf/Value;->clearNullValue()V
return-void
.end method
.method public static synthetic access$500(Lcom/google/protobuf/Value;D)V
.locals 0
.line 17
invoke-direct {p0, p1, p2}, Lcom/google/protobuf/Value;->setNumberValue(D)V
return-void
.end method
.method public static synthetic access$600(Lcom/google/protobuf/Value;)V
.locals 0
.line 17
invoke-direct {p0}, Lcom/google/protobuf/Value;->clearNumberValue()V
return-void
.end method
.method public static synthetic access$700(Lcom/google/protobuf/Value;Ljava/lang/String;)V
.locals 0
.line 17
invoke-direct {p0, p1}, Lcom/google/protobuf/Value;->setStringValue(Ljava/lang/String;)V
return-void
.end method
.method public static synthetic access$800(Lcom/google/protobuf/Value;)V
.locals 0
.line 17
invoke-direct {p0}, Lcom/google/protobuf/Value;->clearStringValue()V
return-void
.end method
.method public static synthetic access$900(Lcom/google/protobuf/Value;Lcom/google/protobuf/ByteString;)V
.locals 0
.line 17
invoke-direct {p0, p1}, Lcom/google/protobuf/Value;->setStringValueBytes(Lcom/google/protobuf/ByteString;)V
return-void
.end method
.method private clearBoolValue()V
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x4
if-ne v0, v1, :cond_0
const/4 v0, 0x0
iput v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v0, 0x0
iput-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
:cond_0
return-void
.end method
.method private clearKind()V
.locals 1
const/4 v0, 0x0
iput v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v0, 0x0
iput-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
return-void
.end method
.method private clearListValue()V
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x6
if-ne v0, v1, :cond_0
const/4 v0, 0x0
iput v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v0, 0x0
iput-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
:cond_0
return-void
.end method
.method private clearNullValue()V
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x1
if-ne v0, v1, :cond_0
const/4 v0, 0x0
iput v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v0, 0x0
iput-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
:cond_0
return-void
.end method
.method private clearNumberValue()V
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x2
if-ne v0, v1, :cond_0
const/4 v0, 0x0
iput v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v0, 0x0
iput-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
:cond_0
return-void
.end method
.method private clearStringValue()V
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x3
if-ne v0, v1, :cond_0
const/4 v0, 0x0
iput v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v0, 0x0
iput-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
:cond_0
return-void
.end method
.method private clearStructValue()V
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x5
if-ne v0, v1, :cond_0
const/4 v0, 0x0
iput v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v0, 0x0
iput-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
:cond_0
return-void
.end method
.method public static getDefaultInstance()Lcom/google/protobuf/Value;
.locals 1
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
return-object v0
.end method
.method private mergeListValue(Lcom/google/protobuf/ListValue;)V
.locals 3
.line 469
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x6
if-ne v0, v1, :cond_0
iget-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
.line 471
invoke-static {}, Lcom/google/protobuf/ListValue;->getDefaultInstance()Lcom/google/protobuf/ListValue;
move-result-object v2
if-eq v0, v2, :cond_0
iget-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
.line 472
check-cast v0, Lcom/google/protobuf/ListValue;
invoke-static {v0}, Lcom/google/protobuf/ListValue;->newBuilder(Lcom/google/protobuf/ListValue;)Lcom/google/protobuf/ListValue$Builder;
move-result-object v0
.line 473
invoke-virtual {v0, p1}, Lcom/google/protobuf/GeneratedMessageLite$Builder;->mergeFrom(Lcom/google/protobuf/GeneratedMessageLite;)Lcom/google/protobuf/GeneratedMessageLite$Builder;
move-result-object p1
check-cast p1, Lcom/google/protobuf/ListValue$Builder;
invoke-virtual {p1}, Lcom/google/protobuf/GeneratedMessageLite$Builder;->buildPartial()Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p1
iput-object p1, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
goto :goto_0
:cond_0
iput-object p1, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
:goto_0
iput v1, p0, Lcom/google/protobuf/Value;->kindCase_:I
return-void
.end method
.method private mergeStructValue(Lcom/google/protobuf/Struct;)V
.locals 3
.line 399
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x5
if-ne v0, v1, :cond_0
iget-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
.line 401
invoke-static {}, Lcom/google/protobuf/Struct;->getDefaultInstance()Lcom/google/protobuf/Struct;
move-result-object v2
if-eq v0, v2, :cond_0
iget-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
.line 402
check-cast v0, Lcom/google/protobuf/Struct;
invoke-static {v0}, Lcom/google/protobuf/Struct;->newBuilder(Lcom/google/protobuf/Struct;)Lcom/google/protobuf/Struct$Builder;
move-result-object v0
.line 403
invoke-virtual {v0, p1}, Lcom/google/protobuf/GeneratedMessageLite$Builder;->mergeFrom(Lcom/google/protobuf/GeneratedMessageLite;)Lcom/google/protobuf/GeneratedMessageLite$Builder;
move-result-object p1
check-cast p1, Lcom/google/protobuf/Struct$Builder;
invoke-virtual {p1}, Lcom/google/protobuf/GeneratedMessageLite$Builder;->buildPartial()Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p1
iput-object p1, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
goto :goto_0
:cond_0
iput-object p1, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
:goto_0
iput v1, p0, Lcom/google/protobuf/Value;->kindCase_:I
return-void
.end method
.method public static newBuilder()Lcom/google/protobuf/Value$Builder;
.locals 1
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.line 568
invoke-virtual {v0}, Lcom/google/protobuf/GeneratedMessageLite;->createBuilder()Lcom/google/protobuf/GeneratedMessageLite$Builder;
move-result-object v0
check-cast v0, Lcom/google/protobuf/Value$Builder;
return-object v0
.end method
.method public static newBuilder(Lcom/google/protobuf/Value;)Lcom/google/protobuf/Value$Builder;
.locals 1
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.line 571
invoke-virtual {v0, p0}, Lcom/google/protobuf/GeneratedMessageLite;->createBuilder(Lcom/google/protobuf/GeneratedMessageLite;)Lcom/google/protobuf/GeneratedMessageLite$Builder;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Value$Builder;
return-object p0
.end method
.method public static parseDelimitedFrom(Ljava/io/InputStream;)Lcom/google/protobuf/Value;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.line 545
invoke-static {v0, p0}, Lcom/google/protobuf/GeneratedMessageLite;->parseDelimitedFrom(Lcom/google/protobuf/GeneratedMessageLite;Ljava/io/InputStream;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Value;
return-object p0
.end method
.method public static parseDelimitedFrom(Ljava/io/InputStream;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/Value;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.line 551
invoke-static {v0, p0, p1}, Lcom/google/protobuf/GeneratedMessageLite;->parseDelimitedFrom(Lcom/google/protobuf/GeneratedMessageLite;Ljava/io/InputStream;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Value;
return-object p0
.end method
.method public static parseFrom(Lcom/google/protobuf/ByteString;)Lcom/google/protobuf/Value;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.line 509
invoke-static {v0, p0}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;Lcom/google/protobuf/ByteString;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Value;
return-object p0
.end method
.method public static parseFrom(Lcom/google/protobuf/ByteString;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/Value;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.line 516
invoke-static {v0, p0, p1}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;Lcom/google/protobuf/ByteString;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Value;
return-object p0
.end method
.method public static parseFrom(Lcom/google/protobuf/CodedInputStream;)Lcom/google/protobuf/Value;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.line 556
invoke-static {v0, p0}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;Lcom/google/protobuf/CodedInputStream;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Value;
return-object p0
.end method
.method public static parseFrom(Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/Value;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.line 563
invoke-static {v0, p0, p1}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Value;
return-object p0
.end method
.method public static parseFrom(Ljava/io/InputStream;)Lcom/google/protobuf/Value;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.line 533
invoke-static {v0, p0}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;Ljava/io/InputStream;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Value;
return-object p0
.end method
.method public static parseFrom(Ljava/io/InputStream;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/Value;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.line 540
invoke-static {v0, p0, p1}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;Ljava/io/InputStream;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Value;
return-object p0
.end method
.method public static parseFrom(Ljava/nio/ByteBuffer;)Lcom/google/protobuf/Value;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.line 496
invoke-static {v0, p0}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;Ljava/nio/ByteBuffer;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Value;
return-object p0
.end method
.method public static parseFrom(Ljava/nio/ByteBuffer;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/Value;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.line 503
invoke-static {v0, p0, p1}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;Ljava/nio/ByteBuffer;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Value;
return-object p0
.end method
.method public static parseFrom([B)Lcom/google/protobuf/Value;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.line 521
invoke-static {v0, p0}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;[B)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Value;
return-object p0
.end method
.method public static parseFrom([BLcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/Value;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.line 528
invoke-static {v0, p0, p1}, Lcom/google/protobuf/GeneratedMessageLite;->parseFrom(Lcom/google/protobuf/GeneratedMessageLite;[BLcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/GeneratedMessageLite;
move-result-object p0
check-cast p0, Lcom/google/protobuf/Value;
return-object p0
.end method
.method public static parser()Lcom/google/protobuf/Parser;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/protobuf/Parser<",
"Lcom/google/protobuf/Value;",
">;"
}
.end annotation
sget-object v0, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.line 1089
invoke-virtual {v0}, Lcom/google/protobuf/GeneratedMessageLite;->getParserForType()Lcom/google/protobuf/Parser;
move-result-object v0
return-object v0
.end method
.method private setBoolValue(Z)V
.locals 1
const/4 v0, 0x4
iput v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
.line 337
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p1
iput-object p1, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
return-void
.end method
.method private setListValue(Lcom/google/protobuf/ListValue;)V
.locals 0
.line 457
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
iput-object p1, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
const/4 p1, 0x6
iput p1, p0, Lcom/google/protobuf/Value;->kindCase_:I
return-void
.end method
.method private setNullValue(Lcom/google/protobuf/NullValue;)V
.locals 0
.line 140
invoke-virtual {p1}, Lcom/google/protobuf/NullValue;->getNumber()I
move-result p1
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
iput-object p1, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
const/4 p1, 0x1
iput p1, p0, Lcom/google/protobuf/Value;->kindCase_:I
return-void
.end method
.method private setNullValueValue(I)V
.locals 1
const/4 v0, 0x1
iput v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
.line 129
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object p1
iput-object p1, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
return-void
.end method
.method private setNumberValue(D)V
.locals 1
const/4 v0, 0x2
iput v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
.line 195
invoke-static {p1, p2}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;
move-result-object p1
iput-object p1, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
return-void
.end method
.method private setStringValue(Ljava/lang/String;)V
.locals 1
.line 267
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
const/4 v0, 0x3
iput v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
iput-object p1, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
return-void
.end method
.method private setStringValueBytes(Lcom/google/protobuf/ByteString;)V
.locals 0
.line 294
invoke-static {p1}, Lcom/google/protobuf/AbstractMessageLite;->checkByteStringIsUtf8(Lcom/google/protobuf/ByteString;)V
.line 295
invoke-virtual {p1}, Lcom/google/protobuf/ByteString;->toStringUtf8()Ljava/lang/String;
move-result-object p1
iput-object p1, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
const/4 p1, 0x3
iput p1, p0, Lcom/google/protobuf/Value;->kindCase_:I
return-void
.end method
.method private setStructValue(Lcom/google/protobuf/Struct;)V
.locals 0
.line 387
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
iput-object p1, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
const/4 p1, 0x5
iput p1, p0, Lcom/google/protobuf/Value;->kindCase_:I
return-void
.end method
# virtual methods
.method public final dynamicMethod(Lcom/google/protobuf/GeneratedMessageLite$MethodToInvoke;Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
.line 1022
sget-object p2, Lcom/google/protobuf/Value$1;->$SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke:[I
invoke-virtual {p1}, Ljava/lang/Enum;->ordinal()I
move-result p1
aget p1, p2, p1
const/4 p2, 0x0
packed-switch p1, :pswitch_data_0
.line 1067
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
:pswitch_0
return-object p2
:pswitch_1
const/4 p1, 0x1
.line 1061
invoke-static {p1}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;
move-result-object p1
return-object p1
:pswitch_2
sget-object p1, Lcom/google/protobuf/Value;->PARSER:Lcom/google/protobuf/Parser;
if-nez p1, :cond_1
const-class p2, Lcom/google/protobuf/Value;
.line 1048
monitor-enter p2
:try_start_0
sget-object p1, Lcom/google/protobuf/Value;->PARSER:Lcom/google/protobuf/Parser;
if-nez p1, :cond_0
.line 1051
new-instance p1, Lcom/google/protobuf/GeneratedMessageLite$DefaultInstanceBasedParser;
sget-object p3, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
invoke-direct {p1, p3}, Lcom/google/protobuf/GeneratedMessageLite$DefaultInstanceBasedParser;-><init>(Lcom/google/protobuf/GeneratedMessageLite;)V
sput-object p1, Lcom/google/protobuf/Value;->PARSER:Lcom/google/protobuf/Parser;
goto :goto_0
:catchall_0
move-exception p1
goto :goto_1
.line 1056
:cond_0
:goto_0
monitor-exit p2
goto :goto_2
:goto_1
monitor-exit p2
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
:cond_1
:goto_2
return-object p1
:pswitch_3
sget-object p1, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
return-object p1
:pswitch_4
const-string p1, "kind_"
const-string p2, "kindCase_"
const-class p3, Lcom/google/protobuf/Struct;
const-class v0, Lcom/google/protobuf/ListValue;
filled-new-array {p1, p2, p3, v0}, [Ljava/lang/Object;
move-result-object p1
const-string p2, "\u0000\u0006\u0001\u0000\u0001\u0006\u0006\u0000\u0000\u0000\u0001?\u0000\u00023\u0000\u0003\u023b\u0000\u0004:\u0000\u0005<\u0000\u0006<\u0000"
sget-object p3, Lcom/google/protobuf/Value;->DEFAULT_INSTANCE:Lcom/google/protobuf/Value;
.line 1039
invoke-static {p3, p2, p1}, Lcom/google/protobuf/GeneratedMessageLite;->newMessageInfo(Lcom/google/protobuf/MessageLite;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object p1
return-object p1
.line 1027
:pswitch_5
new-instance p1, Lcom/google/protobuf/Value$Builder;
invoke-direct {p1, p2}, Lcom/google/protobuf/Value$Builder;-><init>(Lcom/google/protobuf/Value$1;)V
return-object p1
.line 1024
:pswitch_6
new-instance p1, Lcom/google/protobuf/Value;
invoke-direct {p1}, Lcom/google/protobuf/Value;-><init>()V
return-object p1
nop
:pswitch_data_0
.packed-switch 0x1
:pswitch_6
:pswitch_5
:pswitch_4
:pswitch_3
:pswitch_2
:pswitch_1
:pswitch_0
.end packed-switch
.end method
.method public getBoolValue()Z
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x4
if-ne v0, v1, :cond_0
iget-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
.line 323
check-cast v0, Ljava/lang/Boolean;
invoke-virtual {v0}, Ljava/lang/Boolean;->booleanValue()Z
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public getKindCase()Lcom/google/protobuf/Value$KindCase;
.locals 1
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
.line 66
invoke-static {v0}, Lcom/google/protobuf/Value$KindCase;->forNumber(I)Lcom/google/protobuf/Value$KindCase;
move-result-object v0
return-object v0
.end method
.method public getListValue()Lcom/google/protobuf/ListValue;
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x6
if-ne v0, v1, :cond_0
iget-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
.line 445
check-cast v0, Lcom/google/protobuf/ListValue;
return-object v0
.line 447
:cond_0
invoke-static {}, Lcom/google/protobuf/ListValue;->getDefaultInstance()Lcom/google/protobuf/ListValue;
move-result-object v0
return-object v0
.end method
.method public getNullValue()Lcom/google/protobuf/NullValue;
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x1
if-ne v0, v1, :cond_1
iget-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
.line 114
check-cast v0, Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
invoke-static {v0}, Lcom/google/protobuf/NullValue;->forNumber(I)Lcom/google/protobuf/NullValue;
move-result-object v0
if-nez v0, :cond_0
.line 115
sget-object v0, Lcom/google/protobuf/NullValue;->UNRECOGNIZED:Lcom/google/protobuf/NullValue;
:cond_0
return-object v0
.line 117
:cond_1
sget-object v0, Lcom/google/protobuf/NullValue;->NULL_VALUE:Lcom/google/protobuf/NullValue;
return-object v0
.end method
.method public getNullValueValue()I
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x1
if-ne v0, v1, :cond_0
iget-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
.line 99
check-cast v0, Ljava/lang/Integer;
invoke-virtual {v0}, Ljava/lang/Integer;->intValue()I
move-result v0
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method
.method public getNumberValue()D
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x2
if-ne v0, v1, :cond_0
iget-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
.line 181
check-cast v0, Ljava/lang/Double;
invoke-virtual {v0}, Ljava/lang/Double;->doubleValue()D
move-result-wide v0
return-wide v0
:cond_0
const-wide/16 v0, 0x0
return-wide v0
.end method
.method public getStringValue()Ljava/lang/String;
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x3
if-ne v0, v1, :cond_0
iget-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
.line 236
check-cast v0, Ljava/lang/String;
goto :goto_0
:cond_0
const-string v0, ""
:goto_0
return-object v0
.end method
.method public getStringValueBytes()Lcom/google/protobuf/ByteString;
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x3
if-ne v0, v1, :cond_0
iget-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
.line 253
check-cast v0, Ljava/lang/String;
goto :goto_0
:cond_0
const-string v0, ""
.line 255
:goto_0
invoke-static {v0}, Lcom/google/protobuf/ByteString;->copyFromUtf8(Ljava/lang/String;)Lcom/google/protobuf/ByteString;
move-result-object v0
return-object v0
.end method
.method public getStructValue()Lcom/google/protobuf/Struct;
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x5
if-ne v0, v1, :cond_0
iget-object v0, p0, Lcom/google/protobuf/Value;->kind_:Ljava/lang/Object;
.line 375
check-cast v0, Lcom/google/protobuf/Struct;
return-object v0
.line 377
:cond_0
invoke-static {}, Lcom/google/protobuf/Struct;->getDefaultInstance()Lcom/google/protobuf/Struct;
move-result-object v0
return-object v0
.end method
.method public hasBoolValue()Z
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x4
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public hasListValue()Z
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x6
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public hasNullValue()Z
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x1
if-ne v0, v1, :cond_0
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
return v1
.end method
.method public hasNumberValue()Z
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x2
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public hasStringValue()Z
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x3
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public hasStructValue()Z
.locals 2
iget v0, p0, Lcom/google/protobuf/Value;->kindCase_:I
const/4 v1, 0x5
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method