granularity level: instruction
.class public Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;
.super Ljava/lang/Object;
.source "com.google.android.gms:play-services-base@@18.0.1"
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/android/gms/common/api/internal/TaskApiCall;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Builder"
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<A::",
"Lcom/google/android/gms/common/api/Api$AnyClient;",
"ResultT:",
"Ljava/lang/Object;",
">",
"Ljava/lang/Object;"
}
.end annotation
.field private zaa:Lcom/google/android/gms/common/api/internal/RemoteCall;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/android/gms/common/api/internal/RemoteCall<",
"TA;",
"Lcom/google/android/gms/tasks/TaskCompletionSource<",
"TResultT;>;>;"
}
.end annotation
.end field
.field private zab:Z
.field private zac:[Lcom/google/android/gms/common/Feature;
.field private zad:I
.method private constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;->zab:Z
const/4 v0, 0x0
iput v0, p0, Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;->zad:I
return-void
.end method
.method synthetic constructor <init>(Lcom/google/android/gms/common/api/internal/zacw;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 p1, 0x1
iput-boolean p1, p0, Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;->zab:Z
const/4 p1, 0x0
iput p1, p0, Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;->zad:I
return-void
.end method
.method static bridge synthetic zaa(Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;)Lcom/google/android/gms/common/api/internal/RemoteCall;
.locals 0
iget-object p0, p0, Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;->zaa:Lcom/google/android/gms/common/api/internal/RemoteCall;
return-object p0
.end method
.method public build()Lcom/google/android/gms/common/api/internal/TaskApiCall;
.locals 4
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/android/gms/common/api/internal/TaskApiCall<",
"TA;TResultT;>;"
}
.end annotation
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;->zaa:Lcom/google/android/gms/common/api/internal/RemoteCall;
if-eqz v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
const-string v1, "execute parameter required"
invoke-static {v0, v1}, Lcom/google/android/gms/common/internal/Preconditions;->checkArgument(ZLjava/lang/Object;)V
new-instance v0, Lcom/google/android/gms/common/api/internal/zacv;
iget-object v1, p0, Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;->zac:[Lcom/google/android/gms/common/Feature;
iget-boolean v2, p0, Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;->zab:Z
iget v3, p0, Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;->zad:I
invoke-direct {v0, p0, v1, v2, v3}, Lcom/google/android/gms/common/api/internal/zacv;-><init>(Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;[Lcom/google/android/gms/common/Feature;ZI)V
return-object v0
.end method
.method public execute(Lcom/google/android/gms/common/util/BiConsumer;)Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;
.locals 1
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/android/gms/common/util/BiConsumer<",
"TA;",
"Lcom/google/android/gms/tasks/TaskCompletionSource<",
"TResultT;>;>;)",
"Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder<",
"TA;TResultT;>;"
}
.end annotation
new-instance v0, Lcom/google/android/gms/common/api/internal/zacu;
invoke-direct {v0, p1}, Lcom/google/android/gms/common/api/internal/zacu;-><init>(Lcom/google/android/gms/common/util/BiConsumer;)V
iput-object v0, p0, Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;->zaa:Lcom/google/android/gms/common/api/internal/RemoteCall;
return-object p0
.end method
.method public run(Lcom/google/android/gms/common/api/internal/RemoteCall;)Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/android/gms/common/api/internal/RemoteCall<",
"TA;",
"Lcom/google/android/gms/tasks/TaskCompletionSource<",
"TResultT;>;>;)",
"Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder<",
"TA;TResultT;>;"
}
.end annotation
iput-object p1, p0, Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;->zaa:Lcom/google/android/gms/common/api/internal/RemoteCall;
return-object p0
.end method
.method public setAutoResolveMissingFeatures(Z)Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(Z)",
"Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder<",
"TA;TResultT;>;"
}
.end annotation
iput-boolean p1, p0, Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;->zab:Z
return-object p0
.end method
.method public varargs setFeatures([Lcom/google/android/gms/common/Feature;)Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Lcom/google/android/gms/common/Feature;",
")",
"Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder<",
"TA;TResultT;>;"
}
.end annotation
iput-object p1, p0, Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;->zac:[Lcom/google/android/gms/common/Feature;
return-object p0
.end method
.method public setMethodKey(I)Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder<",
"TA;TResultT;>;"
}
.end annotation
iput p1, p0, Lcom/google/android/gms/common/api/internal/TaskApiCall$Builder;->zad:I
return-object p0
.end method