package com.google.android.gms.internal.vision; import java.util.Map; /* loaded from: classes2.dex */ final class zzgk implements Map.Entry { private Map.Entry zzyf; private zzgk(Map.Entry entry) { this.zzyf = entry; } @Override // java.util.Map.Entry public final K getKey() { return this.zzyf.getKey(); } @Override // java.util.Map.Entry public final Object getValue() { if (this.zzyf.getValue() == null) { return null; } return zzgi.zzfr(); } public final zzgi zzfs() { return this.zzyf.getValue(); } @Override // java.util.Map.Entry public final Object setValue(Object obj) { if (!(obj instanceof zzhf)) { throw new IllegalArgumentException("LazyField now only used for MessageSet, and the value of MessageSet must be an instance of MessageLite"); } return this.zzyf.getValue().zzi((zzhf) obj); } }