package com.google.android.gms.internal.gtm; import com.google.android.gms.analytics.zzi; import com.google.android.gms.common.internal.Preconditions; import com.huawei.hms.framework.common.ContainerUtils; import java.util.Collections; import java.util.HashMap; import java.util.Map; /* loaded from: classes.dex */ public final class zzu extends zzi { private final Map zztc = new HashMap(); public final String toString() { return zza((Object) this.zztc); } public final void set(String str, String str2) { Preconditions.checkNotEmpty(str); if (str != null && str.startsWith(ContainerUtils.FIELD_DELIMITER)) { str = str.substring(1); } Preconditions.checkNotEmpty(str, "Name can not be empty or \"&\""); this.zztc.put(str, str2); } public final Map zzbm() { return Collections.unmodifiableMap(this.zztc); } @Override // com.google.android.gms.analytics.zzi public final /* synthetic */ void zzb(zzu zzuVar) { zzu zzuVar2 = zzuVar; Preconditions.checkNotNull(zzuVar2); zzuVar2.zztc.putAll(this.zztc); } }