FSGeneralError.smali
.class public final Lcom/beetalklib/network/file/protocol/FSGeneralError;
.super Lcom/squareup/wire/Message;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/beetalklib/network/file/protocol/FSGeneralError$Builder;
}
.end annotation
# static fields
.field public static final DEFAULT_ERRORCODE:Ljava/lang/Integer;
.field private static final serialVersionUID:J
# instance fields
.field public final ErrorCode:Ljava/lang/Integer;
.annotation runtime Lcom/squareup/wire/ProtoField;
label = .enum Lcom/squareup/wire/Message$Label;->REQUIRED:Lcom/squareup/wire/Message$Label;
tag = 0x1
type = .enum Lcom/squareup/wire/Message$Datatype;->INT32:Lcom/squareup/wire/Message$Datatype;
.end annotation
.end field
.field public final RequestId:Ljava/lang/String;
.annotation runtime Lcom/squareup/wire/ProtoField;
tag = 0x2
type = .enum Lcom/squareup/wire/Message$Datatype;->STRING:Lcom/squareup/wire/Message$Datatype;
.end annotation
.end field
# direct methods
.method public static constructor <clinit>()V
.registers 1
const/4 v0, 0x0
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
sput-object v0, Lcom/beetalklib/network/file/protocol/FSGeneralError;->DEFAULT_ERRORCODE:Ljava/lang/Integer;
return-void
.end method
.method private constructor <init>(Lcom/beetalklib/network/file/protocol/FSGeneralError$Builder;)V
.registers 4
.line 5
iget-object v0, p1, Lcom/beetalklib/network/file/protocol/FSGeneralError$Builder;->ErrorCode:Ljava/lang/Integer;
iget-object v1, p1, Lcom/beetalklib/network/file/protocol/FSGeneralError$Builder;->RequestId:Ljava/lang/String;
invoke-direct {p0, v0, v1}, Lcom/beetalklib/network/file/protocol/FSGeneralError;-><init>(Ljava/lang/Integer;Ljava/lang/String;)V
.line 6
invoke-virtual {p0, p1}, Lcom/squareup/wire/Message;->setBuilder(Lcom/squareup/wire/Message$Builder;)V
return-void
.end method
.method public synthetic constructor <init>(Lcom/beetalklib/network/file/protocol/FSGeneralError$Builder;Lcom/beetalklib/network/file/protocol/FSGeneralError$a;)V
.registers 3
.line 1
invoke-direct {p0, p1}, Lcom/beetalklib/network/file/protocol/FSGeneralError;-><init>(Lcom/beetalklib/network/file/protocol/FSGeneralError$Builder;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/Integer;Ljava/lang/String;)V
.registers 3
.line 2
invoke-direct {p0}, Lcom/squareup/wire/Message;-><init>()V
.line 3
iput-object p1, p0, Lcom/beetalklib/network/file/protocol/FSGeneralError;->ErrorCode:Ljava/lang/Integer;
.line 4
iput-object p2, p0, Lcom/beetalklib/network/file/protocol/FSGeneralError;->RequestId:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public equals(Ljava/lang/Object;)Z
.registers 6
const/4 v0, 0x1
if-ne p1, p0, :cond_4
return v0
.line 1
:cond_4
instance-of v1, p1, Lcom/beetalklib/network/file/protocol/FSGeneralError;
const/4 v2, 0x0
if-nez v1, :cond_a
return v2
.line 2
:cond_a
check-cast p1, Lcom/beetalklib/network/file/protocol/FSGeneralError;
.line 3
iget-object v1, p0, Lcom/beetalklib/network/file/protocol/FSGeneralError;->ErrorCode:Ljava/lang/Integer;
iget-object v3, p1, Lcom/beetalklib/network/file/protocol/FSGeneralError;->ErrorCode:Ljava/lang/Integer;
invoke-virtual {p0, v1, v3}, Lcom/squareup/wire/Message;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_21
iget-object v1, p0, Lcom/beetalklib/network/file/protocol/FSGeneralError;->RequestId:Ljava/lang/String;
iget-object p1, p1, Lcom/beetalklib/network/file/protocol/FSGeneralError;->RequestId:Ljava/lang/String;
.line 4
invoke-virtual {p0, v1, p1}, Lcom/squareup/wire/Message;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-eqz p1, :cond_21
goto :goto_22
:cond_21
const/4 v0, 0x0
:goto_22
return v0
.end method
.method public hashCode()I
.registers 4
.line 1
iget v0, p0, Lcom/squareup/wire/Message;->hashCode:I
if-nez v0, :cond_1c
.line 2
iget-object v0, p0, Lcom/beetalklib/network/file/protocol/FSGeneralError;->ErrorCode:Ljava/lang/Integer;
const/4 v1, 0x0
if-eqz v0, :cond_e
invoke-virtual {v0}, Ljava/lang/Integer;->hashCode()I
move-result v0
goto :goto_f
:cond_e
const/4 v0, 0x0
:goto_f
mul-int/lit8 v0, v0, 0x25
.line 3
iget-object v2, p0, Lcom/beetalklib/network/file/protocol/FSGeneralError;->RequestId:Ljava/lang/String;
if-eqz v2, :cond_19
invoke-virtual {v2}, Ljava/lang/String;->hashCode()I
move-result v1
:cond_19
add-int/2addr v0, v1
.line 4
iput v0, p0, Lcom/squareup/wire/Message;->hashCode:I
:cond_1c
return v0
.end method