AndroidDevice$GetOffersRequest.smali
.class public final Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;
.super Lcom/google/protobuf/GeneratedMessageLite;
# interfaces
.implements Lcom/google/protobuf/MessageLiteOrBuilder;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest$Builder;
}
.end annotation
# static fields
.field private static final k:Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;
.field public static l:Lcom/google/protobuf/Parser;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/protobuf/Parser<",
"Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;",
">;"
}
.end annotation
.end field
# instance fields
.field private f:I
.field private g:Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;
.field private h:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lcom/avast/alpha/common/api/ClientCommon$CallerInfo;",
">;"
}
.end annotation
.end field
.field private i:B
.field private j:I
# direct methods
.method static constructor <clinit>()V
.registers 2
new-instance v0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest$1;
invoke-direct {v0}, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest$1;-><init>()V
sput-object v0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->l:Lcom/google/protobuf/Parser;
new-instance v0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;
const/4 v1, 0x1
invoke-direct {v0, v1}, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;-><init>(Z)V
sput-object v0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->k:Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;
invoke-direct {v0}, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->o()V
return-void
.end method
.method private constructor <init>(Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;)V
.registers 9
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
invoke-direct {p0}, Lcom/google/protobuf/GeneratedMessageLite;-><init>()V
const/4 v0, -0x1
iput-byte v0, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->i:B
iput v0, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->j:I
invoke-direct {p0}, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->o()V
const/4 v0, 0x0
const/4 v1, 0x0
:cond_d
:goto_d
const/4 v2, 0x2
if-nez v0, :cond_8d
:try_start_10
invoke-virtual {p1}, Lcom/google/protobuf/CodedInputStream;->u()I
move-result v3
const/4 v4, 0x1
if-eqz v3, :cond_66
const/16 v5, 0xa
if-eq v3, v5, :cond_3f
const/16 v5, 0x12
if-eq v3, v5, :cond_26
invoke-virtual {p0, p1, p2, v3}, Lcom/google/protobuf/GeneratedMessageLite;->g(Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;I)Z
move-result v2
if-nez v2, :cond_d
goto :goto_66
:cond_26
and-int/lit8 v3, v1, 0x2
if-eq v3, v2, :cond_33
new-instance v3, Ljava/util/ArrayList;
invoke-direct {v3}, Ljava/util/ArrayList;-><init>()V
iput-object v3, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->h:Ljava/util/List;
or-int/lit8 v1, v1, 0x2
:cond_33
iget-object v3, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->h:Ljava/util/List;
sget-object v4, Lcom/avast/alpha/common/api/ClientCommon$CallerInfo;->m:Lcom/google/protobuf/Parser;
invoke-virtual {p1, v4, p2}, Lcom/google/protobuf/CodedInputStream;->n(Lcom/google/protobuf/Parser;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/MessageLite;
move-result-object v4
invoke-interface {v3, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z
goto :goto_d
:cond_3f
const/4 v3, 0x0
iget v5, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->f:I
and-int/2addr v5, v4
if-ne v5, v4, :cond_4b
iget-object v3, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->g:Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;
invoke-virtual {v3}, Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;->F0()Lcom/avast/alpha/common/api/ClientCommon$ClientInfo$Builder;
move-result-object v3
:cond_4b
sget-object v5, Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;->D:Lcom/google/protobuf/Parser;
invoke-virtual {p1, v5, p2}, Lcom/google/protobuf/CodedInputStream;->n(Lcom/google/protobuf/Parser;Lcom/google/protobuf/ExtensionRegistryLite;)Lcom/google/protobuf/MessageLite;
move-result-object v5
check-cast v5, Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;
iput-object v5, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->g:Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;
if-eqz v3, :cond_60
invoke-virtual {v3, v5}, Lcom/avast/alpha/common/api/ClientCommon$ClientInfo$Builder;->t(Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;)Lcom/avast/alpha/common/api/ClientCommon$ClientInfo$Builder;
invoke-virtual {v3}, Lcom/avast/alpha/common/api/ClientCommon$ClientInfo$Builder;->j()Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;
move-result-object v3
iput-object v3, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->g:Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;
:cond_60
iget v3, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->f:I
or-int/2addr v3, v4
iput v3, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->f:I
:try_end_65
.catch Lcom/google/protobuf/InvalidProtocolBufferException; {:try_start_10 .. :try_end_65} :catch_78
.catch Ljava/io/IOException; {:try_start_10 .. :try_end_65} :catch_6a
.catchall {:try_start_10 .. :try_end_65} :catchall_68
goto :goto_d
:cond_66
:goto_66
const/4 v0, 0x1
goto :goto_d
:catchall_68
move-exception p1
goto :goto_7d
:catch_6a
move-exception p1
:try_start_6b
new-instance p2, Lcom/google/protobuf/InvalidProtocolBufferException;
invoke-virtual {p1}, Ljava/io/IOException;->getMessage()Ljava/lang/String;
move-result-object p1
invoke-direct {p2, p1}, Lcom/google/protobuf/InvalidProtocolBufferException;-><init>(Ljava/lang/String;)V
invoke-virtual {p2, p0}, Lcom/google/protobuf/InvalidProtocolBufferException;->g(Lcom/google/protobuf/MessageLite;)Lcom/google/protobuf/InvalidProtocolBufferException;
throw p2
:catch_78
move-exception p1
invoke-virtual {p1, p0}, Lcom/google/protobuf/InvalidProtocolBufferException;->g(Lcom/google/protobuf/MessageLite;)Lcom/google/protobuf/InvalidProtocolBufferException;
throw p1
:try_end_7d
.catchall {:try_start_6b .. :try_end_7d} :catchall_68
:goto_7d
and-int/lit8 p2, v1, 0x2
if-ne p2, v2, :cond_89
iget-object p2, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->h:Ljava/util/List;
invoke-static {p2}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object p2
iput-object p2, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->h:Ljava/util/List;
:cond_89
invoke-virtual {p0}, Lcom/google/protobuf/GeneratedMessageLite;->f()V
throw p1
:cond_8d
and-int/lit8 p1, v1, 0x2
if-ne p1, v2, :cond_99
iget-object p1, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->h:Ljava/util/List;
invoke-static {p1}, Ljava/util/Collections;->unmodifiableList(Ljava/util/List;)Ljava/util/List;
move-result-object p1
iput-object p1, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->h:Ljava/util/List;
:cond_99
invoke-virtual {p0}, Lcom/google/protobuf/GeneratedMessageLite;->f()V
return-void
.end method
.method synthetic constructor <init>(Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;Lcom/avast/alpha/vanheim/api/AndroidDevice$1;)V
.registers 4
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/google/protobuf/InvalidProtocolBufferException;
}
.end annotation
invoke-direct {p0, p1, p2}, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;-><init>(Lcom/google/protobuf/CodedInputStream;Lcom/google/protobuf/ExtensionRegistryLite;)V
return-void
.end method
.method private constructor <init>(Lcom/google/protobuf/GeneratedMessageLite$Builder;)V
.registers 2
invoke-direct {p0, p1}, Lcom/google/protobuf/GeneratedMessageLite;-><init>(Lcom/google/protobuf/GeneratedMessageLite$Builder;)V
const/4 p1, -0x1
iput-byte p1, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->i:B
iput p1, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->j:I
return-void
.end method
.method synthetic constructor <init>(Lcom/google/protobuf/GeneratedMessageLite$Builder;Lcom/avast/alpha/vanheim/api/AndroidDevice$1;)V
.registers 3
invoke-direct {p0, p1}, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;-><init>(Lcom/google/protobuf/GeneratedMessageLite$Builder;)V
return-void
.end method
.method private constructor <init>(Z)V
.registers 2
invoke-direct {p0}, Lcom/google/protobuf/GeneratedMessageLite;-><init>()V
const/4 p1, -0x1
iput-byte p1, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->i:B
iput p1, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->j:I
return-void
.end method
.method static synthetic h(Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;)Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;
.registers 2
iput-object p1, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->g:Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;
return-object p1
.end method
.method static synthetic i(Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;)Ljava/util/List;
.registers 1
iget-object p0, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->h:Ljava/util/List;
return-object p0
.end method
.method static synthetic j(Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;Ljava/util/List;)Ljava/util/List;
.registers 2
iput-object p1, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->h:Ljava/util/List;
return-object p1
.end method
.method static synthetic k(Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;I)I
.registers 2
iput p1, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->f:I
return p1
.end method
.method public static m()Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;
.registers 1
sget-object v0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->k:Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;
return-object v0
.end method
.method private o()V
.registers 2
invoke-static {}, Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;->S()Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;
move-result-object v0
iput-object v0, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->g:Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
move-result-object v0
iput-object v0, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->h:Ljava/util/List;
return-void
.end method
.method public static p()Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest$Builder;
.registers 1
invoke-static {}, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest$Builder;->g()Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest$Builder;
move-result-object v0
return-object v0
.end method
.method public static parseFrom(Ljava/io/InputStream;)Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;
.registers 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
sget-object v0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->l:Lcom/google/protobuf/Parser;
invoke-interface {v0, p0}, Lcom/google/protobuf/Parser;->a(Ljava/io/InputStream;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;
return-object p0
.end method
# virtual methods
.method public b(Lcom/google/protobuf/CodedOutputStream;)V
.registers 5
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
invoke-virtual {p0}, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->c()I
iget v0, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->f:I
const/4 v1, 0x1
and-int/2addr v0, v1
if-ne v0, v1, :cond_e
iget-object v0, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->g:Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;
invoke-virtual {p1, v1, v0}, Lcom/google/protobuf/CodedOutputStream;->M(ILcom/google/protobuf/MessageLite;)V
:cond_e
const/4 v0, 0x0
:goto_f
iget-object v1, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->h:Ljava/util/List;
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
if-ge v0, v1, :cond_26
const/4 v1, 0x2
iget-object v2, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->h:Ljava/util/List;
invoke-interface {v2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
check-cast v2, Lcom/google/protobuf/MessageLite;
invoke-virtual {p1, v1, v2}, Lcom/google/protobuf/CodedOutputStream;->M(ILcom/google/protobuf/MessageLite;)V
add-int/lit8 v0, v0, 0x1
goto :goto_f
:cond_26
return-void
.end method
.method public c()I
.registers 5
iget v0, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->j:I
const/4 v1, -0x1
if-eq v0, v1, :cond_6
return v0
:cond_6
iget v0, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->f:I
const/4 v1, 0x1
and-int/2addr v0, v1
const/4 v2, 0x0
if-ne v0, v1, :cond_15
iget-object v0, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->g:Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;
invoke-static {v1, v0}, Lcom/google/protobuf/CodedOutputStream;->p(ILcom/google/protobuf/MessageLite;)I
move-result v0
add-int/2addr v0, v2
goto :goto_16
:cond_15
const/4 v0, 0x0
:goto_16
iget-object v1, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->h:Ljava/util/List;
invoke-interface {v1}, Ljava/util/List;->size()I
move-result v1
if-ge v2, v1, :cond_2f
const/4 v1, 0x2
iget-object v3, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->h:Ljava/util/List;
invoke-interface {v3, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v3
check-cast v3, Lcom/google/protobuf/MessageLite;
invoke-static {v1, v3}, Lcom/google/protobuf/CodedOutputStream;->p(ILcom/google/protobuf/MessageLite;)I
move-result v1
add-int/2addr v0, v1
add-int/lit8 v2, v2, 0x1
goto :goto_16
:cond_2f
iput v0, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->j:I
return v0
.end method
.method public final isInitialized()Z
.registers 4
iget-byte v0, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->i:B
const/4 v1, 0x1
const/4 v2, -0x1
if-eq v0, v2, :cond_b
if-ne v0, v1, :cond_9
goto :goto_a
:cond_9
const/4 v1, 0x0
:goto_a
return v1
:cond_b
iput-byte v1, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->i:B
return v1
.end method
.method public l()Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;
.registers 2
iget-object v0, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->g:Lcom/avast/alpha/common/api/ClientCommon$ClientInfo;
return-object v0
.end method
.method public n()Z
.registers 3
iget v0, p0, Lcom/avast/alpha/vanheim/api/AndroidDevice$GetOffersRequest;->f:I
const/4 v1, 0x1
and-int/2addr v0, v1
if-ne v0, v1, :cond_7
goto :goto_8
:cond_7
const/4 v1, 0x0
:goto_8
return v1
.end method