FileInfo.smali
.class public final Lcom/beetalklib/network/file/protocol/FileInfo;
.super Lcom/squareup/wire/Message;
.source "FileInfo.java"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/beetalklib/network/file/protocol/FileInfo$Builder;
}
.end annotation
# static fields
.field public static final DEFAULT_ITEMS:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lcom/beetalklib/network/file/protocol/FileInfoItem;",
">;"
}
.end annotation
.end field
.field public static final DEFAULT_LASTREADTIME:Ljava/lang/Long;
.field public static final DEFAULT_LASTUPLOADTIME:Ljava/lang/Long;
.field public static final DEFAULT_UPLOADCOUNT:Ljava/lang/Integer;
.field public static final serialVersionUID:J
# instance fields
.field public final LastReadTime:Ljava/lang/Long;
.annotation runtime Lcom/squareup/wire/ProtoField;
tag = 0x3
type = .enum Lcom/squareup/wire/Message$Datatype;->INT64:Lcom/squareup/wire/Message$Datatype;
.end annotation
.end field
.field public final LastUploadTime:Ljava/lang/Long;
.annotation runtime Lcom/squareup/wire/ProtoField;
tag = 0x2
type = .enum Lcom/squareup/wire/Message$Datatype;->INT64:Lcom/squareup/wire/Message$Datatype;
.end annotation
.end field
.field public final UploadCount:Ljava/lang/Integer;
.annotation runtime Lcom/squareup/wire/ProtoField;
tag = 0x1
type = .enum Lcom/squareup/wire/Message$Datatype;->INT32:Lcom/squareup/wire/Message$Datatype;
.end annotation
.end field
.field public final items:Ljava/util/List;
.annotation runtime Lcom/squareup/wire/ProtoField;
label = .enum Lcom/squareup/wire/Message$Label;->REPEATED:Lcom/squareup/wire/Message$Label;
messageType = Lcom/beetalklib/network/file/protocol/FileInfoItem;
tag = 0x4
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lcom/beetalklib/network/file/protocol/FileInfoItem;",
">;"
}
.end annotation
.end field
# direct methods
.method public static constructor <clinit>()V
.registers 2
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/FileInfo;->DEFAULT_UPLOADCOUNT:Ljava/lang/Integer;
const-wide/16 v0, 0x0
invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
move-result-object v0
sput-object v0, Lcom/beetalklib/network/file/protocol/FileInfo;->DEFAULT_LASTUPLOADTIME:Ljava/lang/Long;
sput-object v0, Lcom/beetalklib/network/file/protocol/FileInfo;->DEFAULT_LASTREADTIME:Ljava/lang/Long;
invoke-static {}, Ljava/util/Collections;->emptyList()Ljava/util/List;
move-result-object v0
sput-object v0, Lcom/beetalklib/network/file/protocol/FileInfo;->DEFAULT_ITEMS:Ljava/util/List;
return-void
.end method
.method public constructor <init>(Lcom/beetalklib/network/file/protocol/FileInfo$Builder;)V
.registers 6
iget-object v0, p1, Lcom/beetalklib/network/file/protocol/FileInfo$Builder;->UploadCount:Ljava/lang/Integer;
iget-object v1, p1, Lcom/beetalklib/network/file/protocol/FileInfo$Builder;->LastUploadTime:Ljava/lang/Long;
iget-object v2, p1, Lcom/beetalklib/network/file/protocol/FileInfo$Builder;->LastReadTime:Ljava/lang/Long;
iget-object v3, p1, Lcom/beetalklib/network/file/protocol/FileInfo$Builder;->items:Ljava/util/List;
invoke-direct {p0, v0, v1, v2, v3}, Lcom/beetalklib/network/file/protocol/FileInfo;-><init>(Ljava/lang/Integer;Ljava/lang/Long;Ljava/lang/Long;Ljava/util/List;)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/FileInfo$Builder;Lcom/beetalklib/network/file/protocol/FileInfo$a;)V
.registers 3
invoke-direct {p0, p1}, Lcom/beetalklib/network/file/protocol/FileInfo;-><init>(Lcom/beetalklib/network/file/protocol/FileInfo$Builder;)V
return-void
.end method
.method public constructor <init>(Ljava/lang/Integer;Ljava/lang/Long;Ljava/lang/Long;Ljava/util/List;)V
.registers 5
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Integer;",
"Ljava/lang/Long;",
"Ljava/lang/Long;",
"Ljava/util/List<",
"Lcom/beetalklib/network/file/protocol/FileInfoItem;",
">;)V"
}
.end annotation
invoke-direct {p0}, Lcom/squareup/wire/Message;-><init>()V
iput-object p1, p0, Lcom/beetalklib/network/file/protocol/FileInfo;->UploadCount:Ljava/lang/Integer;
iput-object p2, p0, Lcom/beetalklib/network/file/protocol/FileInfo;->LastUploadTime:Ljava/lang/Long;
iput-object p3, p0, Lcom/beetalklib/network/file/protocol/FileInfo;->LastReadTime:Ljava/lang/Long;
invoke-static {p4}, Lcom/squareup/wire/Message;->immutableCopyOf(Ljava/util/List;)Ljava/util/List;
move-result-object p1
iput-object p1, p0, Lcom/beetalklib/network/file/protocol/FileInfo;->items:Ljava/util/List;
return-void
.end method
.method public static synthetic access$000(Ljava/util/List;)Ljava/util/List;
.registers 1
invoke-static {p0}, Lcom/squareup/wire/Message;->copyOf(Ljava/util/List;)Ljava/util/List;
move-result-object p0
return-object p0
.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/FileInfo;
const/4 v2, 0x0
if-nez v1, :cond_a
return v2
:cond_a
check-cast p1, Lcom/beetalklib/network/file/protocol/FileInfo;
iget-object v1, p0, Lcom/beetalklib/network/file/protocol/FileInfo;->UploadCount:Ljava/lang/Integer;
iget-object v3, p1, Lcom/beetalklib/network/file/protocol/FileInfo;->UploadCount: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_35
iget-object v1, p0, Lcom/beetalklib/network/file/protocol/FileInfo;->LastUploadTime:Ljava/lang/Long;
iget-object v3, p1, Lcom/beetalklib/network/file/protocol/FileInfo;->LastUploadTime:Ljava/lang/Long;
invoke-virtual {p0, v1, v3}, Lcom/squareup/wire/Message;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_35
iget-object v1, p0, Lcom/beetalklib/network/file/protocol/FileInfo;->LastReadTime:Ljava/lang/Long;
iget-object v3, p1, Lcom/beetalklib/network/file/protocol/FileInfo;->LastReadTime:Ljava/lang/Long;
invoke-virtual {p0, v1, v3}, Lcom/squareup/wire/Message;->equals(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_35
iget-object v1, p0, Lcom/beetalklib/network/file/protocol/FileInfo;->items:Ljava/util/List;
iget-object p1, p1, Lcom/beetalklib/network/file/protocol/FileInfo;->items:Ljava/util/List;
invoke-virtual {p0, v1, p1}, Lcom/squareup/wire/Message;->equals(Ljava/util/List;Ljava/util/List;)Z
move-result p1
if-eqz p1, :cond_35
goto :goto_36
:cond_35
const/4 v0, 0x0
:goto_36
return v0
.end method
.method public hashCode()I
.registers 4
iget v0, p0, Lcom/squareup/wire/Message;->hashCode:I
if-nez v0, :cond_36
iget-object v0, p0, Lcom/beetalklib/network/file/protocol/FileInfo;->UploadCount: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
iget-object v2, p0, Lcom/beetalklib/network/file/protocol/FileInfo;->LastUploadTime:Ljava/lang/Long;
if-eqz v2, :cond_1a
invoke-virtual {v2}, Ljava/lang/Long;->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/FileInfo;->LastReadTime:Ljava/lang/Long;
if-eqz v2, :cond_26
invoke-virtual {v2}, Ljava/lang/Long;->hashCode()I
move-result v1
:cond_26
add-int/2addr v0, v1
mul-int/lit8 v0, v0, 0x25
iget-object v1, p0, Lcom/beetalklib/network/file/protocol/FileInfo;->items:Ljava/util/List;
if-eqz v1, :cond_32
invoke-interface {v1}, Ljava/util/List;->hashCode()I
move-result v1
goto :goto_33
:cond_32
const/4 v1, 0x1
:goto_33
add-int/2addr v0, v1
iput v0, p0, Lcom/squareup/wire/Message;->hashCode:I
:cond_36
return v0
.end method