granularity level: instruction
.class public Lcom/google/android/gms/common/api/internal/RegistrationMethods$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/RegistrationMethods;
.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;",
"L: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<",
"Ljava/lang/Void;",
">;>;"
}
.end annotation
.end field
.field private zab: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<",
"Ljava/lang/Boolean;",
">;>;"
}
.end annotation
.end field
.field private zac:Ljava/lang/Runnable;
.field private zad:Lcom/google/android/gms/common/api/internal/ListenerHolder;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/google/android/gms/common/api/internal/ListenerHolder<",
"T",
"L;",
">;"
}
.end annotation
.end field
.field private zae:[Lcom/google/android/gms/common/Feature;
.field private zaf:Z
.field private zag:I
.method private constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
sget-object v0, Lcom/google/android/gms/common/api/internal/zacj;->zaa:Lcom/google/android/gms/common/api/internal/zacj;
iput-object v0, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zac:Ljava/lang/Runnable;
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zaf:Z
return-void
.end method
.method synthetic constructor <init>(Lcom/google/android/gms/common/api/internal/zacm;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
sget-object p1, Lcom/google/android/gms/common/api/internal/zacj;->zaa:Lcom/google/android/gms/common/api/internal/zacj;
iput-object p1, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zac:Ljava/lang/Runnable;
const/4 p1, 0x1
iput-boolean p1, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zaf:Z
return-void
.end method
.method static bridge synthetic zaa(Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;)Lcom/google/android/gms/common/api/internal/RemoteCall;
.locals 0
iget-object p0, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zaa:Lcom/google/android/gms/common/api/internal/RemoteCall;
return-object p0
.end method
.method static bridge synthetic zab(Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;)Lcom/google/android/gms/common/api/internal/RemoteCall;
.locals 0
iget-object p0, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zab:Lcom/google/android/gms/common/api/internal/RemoteCall;
return-object p0
.end method
.method public build()Lcom/google/android/gms/common/api/internal/RegistrationMethods;
.locals 9
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Lcom/google/android/gms/common/api/internal/RegistrationMethods<",
"TA;T",
"L;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zaa:Lcom/google/android/gms/common/api/internal/RemoteCall;
const/4 v1, 0x1
const/4 v2, 0x0
if-eqz v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
const-string v3, "Must set register function"
invoke-static {v0, v3}, Lcom/google/android/gms/common/internal/Preconditions;->checkArgument(ZLjava/lang/Object;)V
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zab:Lcom/google/android/gms/common/api/internal/RemoteCall;
if-eqz v0, :cond_1
const/4 v0, 0x1
goto :goto_1
:cond_1
const/4 v0, 0x0
:goto_1
const-string v3, "Must set unregister function"
invoke-static {v0, v3}, Lcom/google/android/gms/common/internal/Preconditions;->checkArgument(ZLjava/lang/Object;)V
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zad:Lcom/google/android/gms/common/api/internal/ListenerHolder;
if-eqz v0, :cond_2
goto :goto_2
:cond_2
const/4 v1, 0x0
:goto_2
const-string v0, "Must set holder"
invoke-static {v1, v0}, Lcom/google/android/gms/common/internal/Preconditions;->checkArgument(ZLjava/lang/Object;)V
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zad:Lcom/google/android/gms/common/api/internal/ListenerHolder;
invoke-virtual {v0}, Lcom/google/android/gms/common/api/internal/ListenerHolder;->getListenerKey()Lcom/google/android/gms/common/api/internal/ListenerHolder$ListenerKey;
move-result-object v0
const-string v1, "Key must not be null"
invoke-static {v0, v1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/google/android/gms/common/api/internal/ListenerHolder$ListenerKey;
new-instance v1, Lcom/google/android/gms/common/api/internal/RegistrationMethods;
new-instance v8, Lcom/google/android/gms/common/api/internal/zack;
iget-object v4, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zad:Lcom/google/android/gms/common/api/internal/ListenerHolder;
iget-object v5, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zae:[Lcom/google/android/gms/common/Feature;
iget-boolean v6, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zaf:Z
iget v7, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zag:I
move-object v2, v8
move-object v3, p0
invoke-direct/range {v2 .. v7}, Lcom/google/android/gms/common/api/internal/zack;-><init>(Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;Lcom/google/android/gms/common/api/internal/ListenerHolder;[Lcom/google/android/gms/common/Feature;ZI)V
new-instance v2, Lcom/google/android/gms/common/api/internal/zacl;
invoke-direct {v2, p0, v0}, Lcom/google/android/gms/common/api/internal/zacl;-><init>(Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;Lcom/google/android/gms/common/api/internal/ListenerHolder$ListenerKey;)V
iget-object v0, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zac:Ljava/lang/Runnable;
const/4 v3, 0x0
invoke-direct {v1, v8, v2, v0, v3}, Lcom/google/android/gms/common/api/internal/RegistrationMethods;-><init>(Lcom/google/android/gms/common/api/internal/RegisterListenerMethod;Lcom/google/android/gms/common/api/internal/UnregisterListenerMethod;Ljava/lang/Runnable;Lcom/google/android/gms/common/api/internal/zacn;)V
return-object v1
.end method
.method public onConnectionSuspended(Ljava/lang/Runnable;)Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Runnable;",
")",
"Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder<",
"TA;T",
"L;",
">;"
}
.end annotation
iput-object p1, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zac:Ljava/lang/Runnable;
return-object p0
.end method
.method public register(Lcom/google/android/gms/common/api/internal/RemoteCall;)Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/android/gms/common/api/internal/RemoteCall<",
"TA;",
"Lcom/google/android/gms/tasks/TaskCompletionSource<",
"Ljava/lang/Void;",
">;>;)",
"Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder<",
"TA;T",
"L;",
">;"
}
.end annotation
iput-object p1, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$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/RegistrationMethods$Builder;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(Z)",
"Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder<",
"TA;T",
"L;",
">;"
}
.end annotation
iput-boolean p1, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zaf:Z
return-object p0
.end method
.method public varargs setFeatures([Lcom/google/android/gms/common/Feature;)Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"([",
"Lcom/google/android/gms/common/Feature;",
")",
"Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder<",
"TA;T",
"L;",
">;"
}
.end annotation
iput-object p1, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zae:[Lcom/google/android/gms/common/Feature;
return-object p0
.end method
.method public setMethodKey(I)Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(I)",
"Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder<",
"TA;T",
"L;",
">;"
}
.end annotation
iput p1, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zag:I
return-object p0
.end method
.method public unregister(Lcom/google/android/gms/common/api/internal/RemoteCall;)Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/android/gms/common/api/internal/RemoteCall<",
"TA;",
"Lcom/google/android/gms/tasks/TaskCompletionSource<",
"Ljava/lang/Boolean;",
">;>;)",
"Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder<",
"TA;T",
"L;",
">;"
}
.end annotation
iput-object p1, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zab:Lcom/google/android/gms/common/api/internal/RemoteCall;
return-object p0
.end method
.method public withHolder(Lcom/google/android/gms/common/api/internal/ListenerHolder;)Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/google/android/gms/common/api/internal/ListenerHolder<",
"T",
"L;",
">;)",
"Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder<",
"TA;T",
"L;",
">;"
}
.end annotation
iput-object p1, p0, Lcom/google/android/gms/common/api/internal/RegistrationMethods$Builder;->zad:Lcom/google/android/gms/common/api/internal/ListenerHolder;
return-object p0
.end method