package com.google.android.gms.common.api.internal; import com.google.android.gms.common.api.Api; import com.google.android.gms.common.api.Api.ApiOptions; import com.google.android.gms.common.internal.Objects; /* loaded from: classes.dex */ public final class ApiKey { private final int zaa; private final Api zab; private final O zac; private final String zad; private ApiKey(Api api, O o2, String str) { this.zab = api; this.zac = o2; this.zad = str; this.zaa = Objects.hashCode(api, o2, str); } public static ApiKey zaa(Api api, O o2, String str) { return new ApiKey<>(api, o2, str); } public final boolean equals(Object obj) { if (obj == null) { return false; } if (obj == this) { return true; } if (!(obj instanceof ApiKey)) { return false; } ApiKey apiKey = (ApiKey) obj; return Objects.equal(this.zab, apiKey.zab) && Objects.equal(this.zac, apiKey.zac) && Objects.equal(this.zad, apiKey.zad); } public final String zab() { return this.zab.zad(); } public final int hashCode() { return this.zaa; } }