JobInvocation$Builder.smali
.class public final Lcom/firebase/jobdispatcher/JobInvocation$Builder;
.super Ljava/lang/Object;
.source "JobInvocation.java"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/firebase/jobdispatcher/JobInvocation;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Builder"
.end annotation
# instance fields
.field public constraints:[I
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end field
.field public final extras:Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end field
.field public lifetime:I
.field public recurring:Z
.field public replaceCurrent:Z
.field public retryStrategy:Lcom/firebase/jobdispatcher/RetryStrategy;
.field public service:Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end field
.field public tag:Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end field
.field public trigger:Lcom/firebase/jobdispatcher/JobTrigger;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end field
.field public triggerReason:Lcom/firebase/jobdispatcher/TriggerReason;
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>()V
.registers 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Landroid/os/Bundle;
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
iput-object v0, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->extras:Landroid/os/Bundle;
return-void
.end method
.method public static synthetic access$000(Lcom/firebase/jobdispatcher/JobInvocation$Builder;)Ljava/lang/String;
.registers 1
iget-object p0, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->tag:Ljava/lang/String;
return-object p0
.end method
.method public static synthetic access$100(Lcom/firebase/jobdispatcher/JobInvocation$Builder;)Ljava/lang/String;
.registers 1
iget-object p0, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->service:Ljava/lang/String;
return-object p0
.end method
.method public static synthetic access$200(Lcom/firebase/jobdispatcher/JobInvocation$Builder;)Lcom/firebase/jobdispatcher/JobTrigger;
.registers 1
iget-object p0, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->trigger:Lcom/firebase/jobdispatcher/JobTrigger;
return-object p0
.end method
.method public static synthetic access$300(Lcom/firebase/jobdispatcher/JobInvocation$Builder;)Lcom/firebase/jobdispatcher/RetryStrategy;
.registers 1
iget-object p0, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->retryStrategy:Lcom/firebase/jobdispatcher/RetryStrategy;
return-object p0
.end method
.method public static synthetic access$400(Lcom/firebase/jobdispatcher/JobInvocation$Builder;)Z
.registers 1
iget-boolean p0, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->recurring:Z
return p0
.end method
.method public static synthetic access$500(Lcom/firebase/jobdispatcher/JobInvocation$Builder;)I
.registers 1
iget p0, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->lifetime:I
return p0
.end method
.method public static synthetic access$600(Lcom/firebase/jobdispatcher/JobInvocation$Builder;)[I
.registers 1
iget-object p0, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->constraints:[I
return-object p0
.end method
.method public static synthetic access$700(Lcom/firebase/jobdispatcher/JobInvocation$Builder;)Landroid/os/Bundle;
.registers 1
iget-object p0, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->extras:Landroid/os/Bundle;
return-object p0
.end method
.method public static synthetic access$800(Lcom/firebase/jobdispatcher/JobInvocation$Builder;)Z
.registers 1
iget-boolean p0, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->replaceCurrent:Z
return p0
.end method
.method public static synthetic access$900(Lcom/firebase/jobdispatcher/JobInvocation$Builder;)Lcom/firebase/jobdispatcher/TriggerReason;
.registers 1
iget-object p0, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->triggerReason:Lcom/firebase/jobdispatcher/TriggerReason;
return-object p0
.end method
# virtual methods
.method public addExtras(Landroid/os/Bundle;)Lcom/firebase/jobdispatcher/JobInvocation$Builder;
.registers 3
if-eqz p1, :cond_7
iget-object v0, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->extras:Landroid/os/Bundle;
invoke-virtual {v0, p1}, Landroid/os/Bundle;->putAll(Landroid/os/Bundle;)V
:cond_7
return-object p0
.end method
.method public build()Lcom/firebase/jobdispatcher/JobInvocation;
.registers 3
iget-object v0, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->tag:Ljava/lang/String;
if-eqz v0, :cond_13
iget-object v0, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->service:Ljava/lang/String;
if-eqz v0, :cond_13
iget-object v0, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->trigger:Lcom/firebase/jobdispatcher/JobTrigger;
if-eqz v0, :cond_13
new-instance v0, Lcom/firebase/jobdispatcher/JobInvocation;
const/4 v1, 0x0
invoke-direct {v0, p0, v1}, Lcom/firebase/jobdispatcher/JobInvocation;-><init>(Lcom/firebase/jobdispatcher/JobInvocation$Builder;Lcom/firebase/jobdispatcher/JobInvocation$1;)V
return-object v0
:cond_13
new-instance v0, Ljava/lang/IllegalArgumentException;
const-string v1, "Required fields were not populated."
invoke-direct {v0, v1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public setConstraints([I)Lcom/firebase/jobdispatcher/JobInvocation$Builder;
.registers 2
.param p1 # [I
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
iput-object p1, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->constraints:[I
return-object p0
.end method
.method public setLifetime(I)Lcom/firebase/jobdispatcher/JobInvocation$Builder;
.registers 2
iput p1, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->lifetime:I
return-object p0
.end method
.method public setRecurring(Z)Lcom/firebase/jobdispatcher/JobInvocation$Builder;
.registers 2
iput-boolean p1, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->recurring:Z
return-object p0
.end method
.method public setReplaceCurrent(Z)Lcom/firebase/jobdispatcher/JobInvocation$Builder;
.registers 2
iput-boolean p1, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->replaceCurrent:Z
return-object p0
.end method
.method public setRetryStrategy(Lcom/firebase/jobdispatcher/RetryStrategy;)Lcom/firebase/jobdispatcher/JobInvocation$Builder;
.registers 2
iput-object p1, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->retryStrategy:Lcom/firebase/jobdispatcher/RetryStrategy;
return-object p0
.end method
.method public setService(Ljava/lang/String;)Lcom/firebase/jobdispatcher/JobInvocation$Builder;
.registers 2
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
iput-object p1, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->service:Ljava/lang/String;
return-object p0
.end method
.method public setTag(Ljava/lang/String;)Lcom/firebase/jobdispatcher/JobInvocation$Builder;
.registers 2
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
iput-object p1, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->tag:Ljava/lang/String;
return-object p0
.end method
.method public setTrigger(Lcom/firebase/jobdispatcher/JobTrigger;)Lcom/firebase/jobdispatcher/JobInvocation$Builder;
.registers 2
.param p1 # Lcom/firebase/jobdispatcher/JobTrigger;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
iput-object p1, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->trigger:Lcom/firebase/jobdispatcher/JobTrigger;
return-object p0
.end method
.method public setTriggerReason(Lcom/firebase/jobdispatcher/TriggerReason;)Lcom/firebase/jobdispatcher/JobInvocation$Builder;
.registers 2
iput-object p1, p0, Lcom/firebase/jobdispatcher/JobInvocation$Builder;->triggerReason:Lcom/firebase/jobdispatcher/TriggerReason;
return-object p0
.end method