granularity level: instruction
.class public final Lcom/google/firebase/FirebaseOptions;
.super Ljava/lang/Object;
.source "FirebaseOptions.java"
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/firebase/FirebaseOptions$Builder;
}
.end annotation
.field private static final API_KEY_RESOURCE_NAME:Ljava/lang/String; = "google_api_key"
.field private static final APP_ID_RESOURCE_NAME:Ljava/lang/String; = "google_app_id"
.field private static final DATABASE_URL_RESOURCE_NAME:Ljava/lang/String; = "firebase_database_url"
.field private static final GA_TRACKING_ID_RESOURCE_NAME:Ljava/lang/String; = "ga_trackingId"
.field private static final GCM_SENDER_ID_RESOURCE_NAME:Ljava/lang/String; = "gcm_defaultSenderId"
.field private static final PROJECT_ID_RESOURCE_NAME:Ljava/lang/String; = "project_id"
.field private static final STORAGE_BUCKET_RESOURCE_NAME:Ljava/lang/String; = "google_storage_bucket"
.field private final apiKey:Ljava/lang/String;
.field private final applicationId:Ljava/lang/String;
.field private final databaseUrl:Ljava/lang/String;
.field private final gaTrackingId:Ljava/lang/String;
.field private final gcmSenderId:Ljava/lang/String;
.field private final projectId:Ljava/lang/String;
.field private final storageBucket:Ljava/lang/String;
.method private constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.locals 2
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
invoke-static {p1}, Lcom/google/android/gms/common/util/Strings;->isEmptyOrWhitespace(Ljava/lang/String;)Z
move-result v0
xor-int/lit8 v0, v0, 0x1
const-string v1, "ApplicationId must be set."
invoke-static {v0, v1}, Lcom/google/android/gms/common/internal/Preconditions;->checkState(ZLjava/lang/Object;)V
iput-object p1, p0, Lcom/google/firebase/FirebaseOptions;->applicationId:Ljava/lang/String;
iput-object p2, p0, Lcom/google/firebase/FirebaseOptions;->apiKey:Ljava/lang/String;
iput-object p3, p0, Lcom/google/firebase/FirebaseOptions;->databaseUrl:Ljava/lang/String;
iput-object p4, p0, Lcom/google/firebase/FirebaseOptions;->gaTrackingId:Ljava/lang/String;
iput-object p5, p0, Lcom/google/firebase/FirebaseOptions;->gcmSenderId:Ljava/lang/String;
iput-object p6, p0, Lcom/google/firebase/FirebaseOptions;->storageBucket:Ljava/lang/String;
iput-object p7, p0, Lcom/google/firebase/FirebaseOptions;->projectId:Ljava/lang/String;
return-void
.end method
.method synthetic constructor <init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/google/firebase/FirebaseOptions$1;)V
.locals 0
invoke-direct/range {p0 .. p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method static synthetic access$000(Lcom/google/firebase/FirebaseOptions;)Ljava/lang/String;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic access$100(Lcom/google/firebase/FirebaseOptions;)Ljava/lang/String;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic access$200(Lcom/google/firebase/FirebaseOptions;)Ljava/lang/String;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic access$300(Lcom/google/firebase/FirebaseOptions;)Ljava/lang/String;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic access$400(Lcom/google/firebase/FirebaseOptions;)Ljava/lang/String;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic access$500(Lcom/google/firebase/FirebaseOptions;)Ljava/lang/String;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method static synthetic access$600(Lcom/google/firebase/FirebaseOptions;)Ljava/lang/String;
.locals 0
const/4 v0, 0x0
return-object v0
.end method
.method public static fromResource(Landroid/content/Context;)Lcom/google/firebase/FirebaseOptions;
.locals 9
new-instance v0, Lcom/google/android/gms/common/internal/StringResourceValueReader;
invoke-direct {v0, p0}, Lcom/google/android/gms/common/internal/StringResourceValueReader;-><init>(Landroid/content/Context;)V
const-string p0, "google_app_id"
invoke-virtual {v0, p0}, Lcom/google/android/gms/common/internal/StringResourceValueReader;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v2
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result p0
new-instance p0, Lcom/google/firebase/FirebaseOptions;
const-string v1, "google_api_key"
invoke-virtual {v0, v1}, Lcom/google/android/gms/common/internal/StringResourceValueReader;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
const-string v1, "firebase_database_url"
invoke-virtual {v0, v1}, Lcom/google/android/gms/common/internal/StringResourceValueReader;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v4
const-string v1, "ga_trackingId"
invoke-virtual {v0, v1}, Lcom/google/android/gms/common/internal/StringResourceValueReader;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v5
const-string v1, "gcm_defaultSenderId"
invoke-virtual {v0, v1}, Lcom/google/android/gms/common/internal/StringResourceValueReader;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v6
const-string v1, "google_storage_bucket"
invoke-virtual {v0, v1}, Lcom/google/android/gms/common/internal/StringResourceValueReader;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v7
const-string v1, "project_id"
invoke-virtual {v0, v1}, Lcom/google/android/gms/common/internal/StringResourceValueReader;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v8
move-object v1, p0
invoke-direct/range {v1 .. v8}, Lcom/google/firebase/FirebaseOptions;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
return-object p0
.end method
.method public equals(Ljava/lang/Object;)Z
.locals 3
const/4 v0, 0x0
return v0
.end method
.method public getApiKey()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/firebase/FirebaseOptions;->apiKey:Ljava/lang/String;
return-object v0
.end method
.method public getApplicationId()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/firebase/FirebaseOptions;->applicationId:Ljava/lang/String;
return-object v0
.end method
.method public getDatabaseUrl()Ljava/lang/String;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public getGaTrackingId()Ljava/lang/String;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public getGcmSenderId()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/firebase/FirebaseOptions;->gcmSenderId:Ljava/lang/String;
return-object v0
.end method
.method public getProjectId()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/google/firebase/FirebaseOptions;->projectId:Ljava/lang/String;
return-object v0
.end method
.method public getStorageBucket()Ljava/lang/String;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public hashCode()I
.locals 3
const/4 v0, 0x0
return v0
.end method
.method public toString()Ljava/lang/String;
.locals 3
const/4 v0, 0x0
return-object v0
.end method