FileResponse.smali

.class public final Lcom/beetalklib/network/file/protocol/FileResponse;
.super Lcom/squareup/wire/Message;
.source "FileResponse.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/beetalklib/network/file/protocol/FileResponse$Builder;
    }
.end annotation


# static fields
.field public static final DEFAULT_CONTENT:Lokio/ByteString;

.field public static final DEFAULT_ERROR_CODE:Ljava/lang/Integer;

.field public static final DEFAULT_EXPIRE:Ljava/lang/Integer;

.field public static final DEFAULT_NAME:Ljava/lang/String; = ""

.field public static final DEFAULT_PARAMETER:Lokio/ByteString;

.field public static final DEFAULT_TOKEN:Lokio/ByteString;

.field public static final DEFAULT_TYPE:Ljava/lang/String; = ""

.field public static final serialVersionUID:J


# instance fields
.field public final content:Lokio/ByteString;
    .annotation runtime Lcom/squareup/wire/ProtoField;
        tag = 0x4
        type = .enum Lcom/squareup/wire/Message$Datatype;->BYTES:Lcom/squareup/wire/Message$Datatype;
    .end annotation
.end field

.field public final error_code:Ljava/lang/Integer;
    .annotation runtime Lcom/squareup/wire/ProtoField;
        tag = 0x7
        type = .enum Lcom/squareup/wire/Message$Datatype;->INT32:Lcom/squareup/wire/Message$Datatype;
    .end annotation
.end field

.field public final expire:Ljava/lang/Integer;
    .annotation runtime Lcom/squareup/wire/ProtoField;
        tag = 0x6
        type = .enum Lcom/squareup/wire/Message$Datatype;->INT32:Lcom/squareup/wire/Message$Datatype;
    .end annotation
.end field

.field public final name:Ljava/lang/String;
    .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;->STRING:Lcom/squareup/wire/Message$Datatype;
    .end annotation
.end field

.field public final parameter:Lokio/ByteString;
    .annotation runtime Lcom/squareup/wire/ProtoField;
        label = .enum Lcom/squareup/wire/Message$Label;->REQUIRED:Lcom/squareup/wire/Message$Label;
        tag = 0x5
        type = .enum Lcom/squareup/wire/Message$Datatype;->BYTES:Lcom/squareup/wire/Message$Datatype;
    .end annotation
.end field

.field public final token:Lokio/ByteString;
    .annotation runtime Lcom/squareup/wire/ProtoField;
        tag = 0x2
        type = .enum Lcom/squareup/wire/Message$Datatype;->BYTES:Lcom/squareup/wire/Message$Datatype;
    .end annotation
.end field

.field public final type:Ljava/lang/String;
    .annotation runtime Lcom/squareup/wire/ProtoField;
        tag = 0x3
        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

    sget-object v0, Lokio/ByteString;->EMPTY:Lokio/ByteString;

    sput-object v0, Lcom/beetalklib/network/file/protocol/FileResponse;->DEFAULT_TOKEN:Lokio/ByteString;

    sput-object v0, Lcom/beetalklib/network/file/protocol/FileResponse;->DEFAULT_CONTENT:Lokio/ByteString;

    sput-object v0, Lcom/beetalklib/network/file/protocol/FileResponse;->DEFAULT_PARAMETER:Lokio/ByteString;

    const/16 v0, 0x18

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    sput-object v0, Lcom/beetalklib/network/file/protocol/FileResponse;->DEFAULT_EXPIRE:Ljava/lang/Integer;

    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/FileResponse;->DEFAULT_ERROR_CODE:Ljava/lang/Integer;

    return-void
.end method

.method public constructor <init>(Lcom/beetalklib/network/file/protocol/FileResponse$Builder;)V
    .registers 10

    iget-object v1, p1, Lcom/beetalklib/network/file/protocol/FileResponse$Builder;->name:Ljava/lang/String;

    iget-object v2, p1, Lcom/beetalklib/network/file/protocol/FileResponse$Builder;->token:Lokio/ByteString;

    iget-object v3, p1, Lcom/beetalklib/network/file/protocol/FileResponse$Builder;->type:Ljava/lang/String;

    iget-object v4, p1, Lcom/beetalklib/network/file/protocol/FileResponse$Builder;->content:Lokio/ByteString;

    iget-object v5, p1, Lcom/beetalklib/network/file/protocol/FileResponse$Builder;->parameter:Lokio/ByteString;

    iget-object v6, p1, Lcom/beetalklib/network/file/protocol/FileResponse$Builder;->expire:Ljava/lang/Integer;

    iget-object v7, p1, Lcom/beetalklib/network/file/protocol/FileResponse$Builder;->error_code:Ljava/lang/Integer;

    move-object v0, p0

    invoke-direct/range {v0 .. v7}, Lcom/beetalklib/network/file/protocol/FileResponse;-><init>(Ljava/lang/String;Lokio/ByteString;Ljava/lang/String;Lokio/ByteString;Lokio/ByteString;Ljava/lang/Integer;Ljava/lang/Integer;)V

    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/FileResponse$Builder;Lcom/beetalklib/network/file/protocol/FileResponse$a;)V
    .registers 3

    invoke-direct {p0, p1}, Lcom/beetalklib/network/file/protocol/FileResponse;-><init>(Lcom/beetalklib/network/file/protocol/FileResponse$Builder;)V

    return-void
.end method

.method public constructor <init>(Ljava/lang/String;Lokio/ByteString;Ljava/lang/String;Lokio/ByteString;Lokio/ByteString;Ljava/lang/Integer;Ljava/lang/Integer;)V
    .registers 8

    invoke-direct {p0}, Lcom/squareup/wire/Message;-><init>()V

    iput-object p1, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->name:Ljava/lang/String;

    iput-object p2, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->token:Lokio/ByteString;

    iput-object p3, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->type:Ljava/lang/String;

    iput-object p4, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->content:Lokio/ByteString;

    iput-object p5, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->parameter:Lokio/ByteString;

    iput-object p6, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->expire:Ljava/lang/Integer;

    iput-object p7, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->error_code:Ljava/lang/Integer;

    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

    :cond_4
    instance-of v1, p1, Lcom/beetalklib/network/file/protocol/FileResponse;

    const/4 v2, 0x0

    if-nez v1, :cond_a

    return v2

    :cond_a
    check-cast p1, Lcom/beetalklib/network/file/protocol/FileResponse;

    iget-object v1, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->name:Ljava/lang/String;

    iget-object v3, p1, Lcom/beetalklib/network/file/protocol/FileResponse;->name:Ljava/lang/String;

    invoke-virtual {p0, v1, v3}, Lcom/squareup/wire/Message;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_53

    iget-object v1, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->token:Lokio/ByteString;

    iget-object v3, p1, Lcom/beetalklib/network/file/protocol/FileResponse;->token:Lokio/ByteString;

    invoke-virtual {p0, v1, v3}, Lcom/squareup/wire/Message;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_53

    iget-object v1, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->type:Ljava/lang/String;

    iget-object v3, p1, Lcom/beetalklib/network/file/protocol/FileResponse;->type:Ljava/lang/String;

    invoke-virtual {p0, v1, v3}, Lcom/squareup/wire/Message;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_53

    iget-object v1, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->content:Lokio/ByteString;

    iget-object v3, p1, Lcom/beetalklib/network/file/protocol/FileResponse;->content:Lokio/ByteString;

    invoke-virtual {p0, v1, v3}, Lcom/squareup/wire/Message;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_53

    iget-object v1, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->parameter:Lokio/ByteString;

    iget-object v3, p1, Lcom/beetalklib/network/file/protocol/FileResponse;->parameter:Lokio/ByteString;

    invoke-virtual {p0, v1, v3}, Lcom/squareup/wire/Message;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_53

    iget-object v1, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->expire:Ljava/lang/Integer;

    iget-object v3, p1, Lcom/beetalklib/network/file/protocol/FileResponse;->expire: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_53

    iget-object v1, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->error_code:Ljava/lang/Integer;

    iget-object p1, p1, Lcom/beetalklib/network/file/protocol/FileResponse;->error_code:Ljava/lang/Integer;

    invoke-virtual {p0, v1, p1}, Lcom/squareup/wire/Message;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z

    move-result p1

    if-eqz p1, :cond_53

    goto :goto_54

    :cond_53
    const/4 v0, 0x0

    :goto_54
    return v0
.end method

.method public hashCode()I
    .registers 4

    iget v0, p0, Lcom/squareup/wire/Message;->hashCode:I

    if-nez v0, :cond_5d

    iget-object v0, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->name:Ljava/lang/String;

    const/4 v1, 0x0

    if-eqz v0, :cond_e

    invoke-virtual {v0}, Ljava/lang/String;->hashCode()I

    move-result v0

    goto :goto_f

    :cond_e
    const/4 v0, 0x0

    :goto_f
    mul-int/lit8 v0, v0, 0x25

    iget-object v2, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->token:Lokio/ByteString;

    if-eqz v2, :cond_1a

    invoke-virtual {v2}, Lokio/ByteString;->hashCode()I

    move-result v2

    goto :goto_1b

    :cond_1a
    const/4 v2, 0x0

    :goto_1b
    add-int/2addr v0, v2

    mul-int/lit8 v0, v0, 0x25

    iget-object v2, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->type:Ljava/lang/String;

    if-eqz v2, :cond_27

    invoke-virtual {v2}, Ljava/lang/String;->hashCode()I

    move-result v2

    goto :goto_28

    :cond_27
    const/4 v2, 0x0

    :goto_28
    add-int/2addr v0, v2

    mul-int/lit8 v0, v0, 0x25

    iget-object v2, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->content:Lokio/ByteString;

    if-eqz v2, :cond_34

    invoke-virtual {v2}, Lokio/ByteString;->hashCode()I

    move-result v2

    goto :goto_35

    :cond_34
    const/4 v2, 0x0

    :goto_35
    add-int/2addr v0, v2

    mul-int/lit8 v0, v0, 0x25

    iget-object v2, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->parameter:Lokio/ByteString;

    if-eqz v2, :cond_41

    invoke-virtual {v2}, Lokio/ByteString;->hashCode()I

    move-result v2

    goto :goto_42

    :cond_41
    const/4 v2, 0x0

    :goto_42
    add-int/2addr v0, v2

    mul-int/lit8 v0, v0, 0x25

    iget-object v2, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->expire:Ljava/lang/Integer;

    if-eqz v2, :cond_4e

    invoke-virtual {v2}, Ljava/lang/Integer;->hashCode()I

    move-result v2

    goto :goto_4f

    :cond_4e
    const/4 v2, 0x0

    :goto_4f
    add-int/2addr v0, v2

    mul-int/lit8 v0, v0, 0x25

    iget-object v2, p0, Lcom/beetalklib/network/file/protocol/FileResponse;->error_code:Ljava/lang/Integer;

    if-eqz v2, :cond_5a

    invoke-virtual {v2}, Ljava/lang/Integer;->hashCode()I

    move-result v1

    :cond_5a
    add-int/2addr v0, v1

    iput v0, p0, Lcom/squareup/wire/Message;->hashCode:I

    :cond_5d
    return v0
.end method