mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-14 09:57:16 +01:00
50 lines
1.3 KiB
Java
50 lines
1.3 KiB
Java
package com.google.mlkit.common.model;
|
|
|
|
import androidx.annotation.NonNull;
|
|
import androidx.annotation.Nullable;
|
|
import com.google.android.gms.common.annotation.KeepForSdk;
|
|
import com.google.android.gms.common.internal.Objects;
|
|
import com.google.android.gms.internal.mlkit_common.zzq;
|
|
import com.google.android.gms.internal.mlkit_common.zzr;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes8.dex */
|
|
public abstract class RemoteModelSource {
|
|
|
|
@Nullable
|
|
private final String zza;
|
|
|
|
@KeepForSdk
|
|
public RemoteModelSource(@Nullable String str) {
|
|
this.zza = str;
|
|
}
|
|
|
|
public boolean equals(@Nullable Object obj) {
|
|
if (obj == this) {
|
|
return true;
|
|
}
|
|
if (obj == null) {
|
|
return false;
|
|
}
|
|
if (obj.getClass().equals(getClass())) {
|
|
return Objects.equal(this.zza, ((RemoteModelSource) obj).zza);
|
|
}
|
|
return false;
|
|
}
|
|
|
|
public int hashCode() {
|
|
return Objects.hashCode(this.zza);
|
|
}
|
|
|
|
@NonNull
|
|
public String toString() {
|
|
zzq zzb = zzr.zzb("RemoteModelSource");
|
|
zzb.zza("firebaseModelName", this.zza);
|
|
return zzb.toString();
|
|
}
|
|
|
|
@Nullable
|
|
public final String zza() {
|
|
return this.zza;
|
|
}
|
|
}
|