what-the-bank/sources/com/google/android/gms/common/internal/TelemetryLoggingOptions.java

62 lines
1.5 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.gms.common.internal;
import android.os.Bundle;
import com.google.android.gms.common.api.Api;
/* loaded from: classes.dex */
public class TelemetryLoggingOptions implements Api.ApiOptions.Optional {
public static final TelemetryLoggingOptions zaa = builder().build();
private final String zab;
public final boolean equals(Object obj) {
if (obj == this) {
return true;
}
if (obj instanceof TelemetryLoggingOptions) {
return Objects.equal(this.zab, ((TelemetryLoggingOptions) obj).zab);
}
return false;
}
public final int hashCode() {
return Objects.hashCode(this.zab);
}
public final Bundle zaa() {
Bundle bundle = new Bundle();
String str = this.zab;
if (str != null) {
bundle.putString("api", str);
}
return bundle;
}
/* loaded from: classes.dex */
public static class Builder {
private String zaa;
public Builder setApi(String str) {
this.zaa = str;
return this;
}
public TelemetryLoggingOptions build() {
return new TelemetryLoggingOptions(this.zaa, null);
}
/* synthetic */ Builder(zaac zaacVar) {
}
private Builder() {
}
}
public static Builder builder() {
return new Builder(null);
}
/* synthetic */ TelemetryLoggingOptions(String str, zaad zaadVar) {
this.zab = str;
}
}