package com.google.firebase.perf.v1; import com.google.firebase.perf.v1.AndroidApplicationInfo; import com.google.protobuf.GeneratedMessageLite; import com.google.protobuf.MapEntryLite; import com.google.protobuf.MapFieldLite; import com.google.protobuf.MessageLiteOrBuilder; import com.google.protobuf.Parser; import com.google.protobuf.WireFormat; import java.util.Map; /* loaded from: classes3.dex */ public final class ApplicationInfo extends GeneratedMessageLite implements MessageLiteOrBuilder { public static final int ANDROID_APP_INFO_FIELD_NUMBER = 3; public static final int APPLICATION_PROCESS_STATE_FIELD_NUMBER = 5; public static final int APP_INSTANCE_ID_FIELD_NUMBER = 2; public static final int CUSTOM_ATTRIBUTES_FIELD_NUMBER = 6; private static final ApplicationInfo DEFAULT_INSTANCE; public static final int GOOGLE_APP_ID_FIELD_NUMBER = 1; private static volatile Parser PARSER; private AndroidApplicationInfo androidAppInfo_; private int applicationProcessState_; private int bitField0_; private MapFieldLite customAttributes_ = MapFieldLite.emptyMapField(); private String googleAppId_ = ""; private String appInstanceId_ = ""; public static ApplicationInfo getDefaultInstance() { return DEFAULT_INSTANCE; } public boolean hasAndroidAppInfo() { return (this.bitField0_ & 4) != 0; } public boolean hasAppInstanceId() { return (this.bitField0_ & 2) != 0; } public boolean hasApplicationProcessState() { return (this.bitField0_ & 8) != 0; } public boolean hasGoogleAppId() { return (this.bitField0_ & 1) != 0; } public final void setGoogleAppId(String str) { str.getClass(); this.bitField0_ |= 1; this.googleAppId_ = str; } public final void setAppInstanceId(String str) { str.getClass(); this.bitField0_ |= 2; this.appInstanceId_ = str; } public AndroidApplicationInfo getAndroidAppInfo() { AndroidApplicationInfo androidApplicationInfo = this.androidAppInfo_; return androidApplicationInfo == null ? AndroidApplicationInfo.getDefaultInstance() : androidApplicationInfo; } public final void setAndroidAppInfo(AndroidApplicationInfo androidApplicationInfo) { androidApplicationInfo.getClass(); this.androidAppInfo_ = androidApplicationInfo; this.bitField0_ |= 4; } public final void setApplicationProcessState(ApplicationProcessState applicationProcessState) { this.applicationProcessState_ = applicationProcessState.getNumber(); this.bitField0_ |= 8; } public static final class CustomAttributesDefaultEntryHolder { public static final MapEntryLite defaultEntry; static { WireFormat.FieldType fieldType = WireFormat.FieldType.STRING; defaultEntry = MapEntryLite.newDefaultInstance(fieldType, "", fieldType, ""); } } public final MapFieldLite internalGetMutableCustomAttributes() { if (!this.customAttributes_.isMutable()) { this.customAttributes_ = this.customAttributes_.mutableCopy(); } return this.customAttributes_; } public final Map getMutableCustomAttributesMap() { return internalGetMutableCustomAttributes(); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static final class Builder extends GeneratedMessageLite.Builder implements MessageLiteOrBuilder { public /* synthetic */ Builder(AnonymousClass1 anonymousClass1) { this(); } public Builder() { super(ApplicationInfo.DEFAULT_INSTANCE); } public Builder setGoogleAppId(String str) { copyOnWrite(); ((ApplicationInfo) this.instance).setGoogleAppId(str); return this; } public boolean hasAppInstanceId() { return ((ApplicationInfo) this.instance).hasAppInstanceId(); } public Builder setAppInstanceId(String str) { copyOnWrite(); ((ApplicationInfo) this.instance).setAppInstanceId(str); return this; } public Builder setAndroidAppInfo(AndroidApplicationInfo.Builder builder) { copyOnWrite(); ((ApplicationInfo) this.instance).setAndroidAppInfo((AndroidApplicationInfo) builder.build()); return this; } public Builder setApplicationProcessState(ApplicationProcessState applicationProcessState) { copyOnWrite(); ((ApplicationInfo) this.instance).setApplicationProcessState(applicationProcessState); return this; } public Builder putAllCustomAttributes(Map map) { copyOnWrite(); ((ApplicationInfo) this.instance).getMutableCustomAttributesMap().putAll(map); return this; } } /* renamed from: com.google.firebase.perf.v1.ApplicationInfo$1, reason: invalid class name */ public static /* synthetic */ class AnonymousClass1 { public static final /* synthetic */ int[] $SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke; static { int[] iArr = new int[GeneratedMessageLite.MethodToInvoke.values().length]; $SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke = iArr; try { iArr[GeneratedMessageLite.MethodToInvoke.NEW_MUTABLE_INSTANCE.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { $SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke[GeneratedMessageLite.MethodToInvoke.NEW_BUILDER.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { $SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke[GeneratedMessageLite.MethodToInvoke.BUILD_MESSAGE_INFO.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } try { $SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke[GeneratedMessageLite.MethodToInvoke.GET_DEFAULT_INSTANCE.ordinal()] = 4; } catch (NoSuchFieldError unused4) { } try { $SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke[GeneratedMessageLite.MethodToInvoke.GET_PARSER.ordinal()] = 5; } catch (NoSuchFieldError unused5) { } try { $SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke[GeneratedMessageLite.MethodToInvoke.GET_MEMOIZED_IS_INITIALIZED.ordinal()] = 6; } catch (NoSuchFieldError unused6) { } try { $SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke[GeneratedMessageLite.MethodToInvoke.SET_MEMOIZED_IS_INITIALIZED.ordinal()] = 7; } catch (NoSuchFieldError unused7) { } } } @Override // com.google.protobuf.GeneratedMessageLite public final Object dynamicMethod(GeneratedMessageLite.MethodToInvoke methodToInvoke, Object obj, Object obj2) { AnonymousClass1 anonymousClass1 = null; switch (AnonymousClass1.$SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke[methodToInvoke.ordinal()]) { case 1: return new ApplicationInfo(); case 2: return new Builder(anonymousClass1); case 3: return GeneratedMessageLite.newMessageInfo(DEFAULT_INSTANCE, "\u0001\u0005\u0000\u0001\u0001\u0006\u0005\u0001\u0000\u0000\u0001ဈ\u0000\u0002ဈ\u0001\u0003ဉ\u0002\u0005ဌ\u0003\u00062", new Object[]{"bitField0_", "googleAppId_", "appInstanceId_", "androidAppInfo_", "applicationProcessState_", ApplicationProcessState.internalGetVerifier(), "customAttributes_", CustomAttributesDefaultEntryHolder.defaultEntry}); case 4: return DEFAULT_INSTANCE; case 5: Parser parser = PARSER; if (parser == null) { synchronized (ApplicationInfo.class) { try { parser = PARSER; if (parser == null) { parser = new GeneratedMessageLite.DefaultInstanceBasedParser<>(DEFAULT_INSTANCE); PARSER = parser; } } finally { } } } return parser; case 6: return (byte) 1; case 7: return null; default: throw new UnsupportedOperationException(); } } static { ApplicationInfo applicationInfo = new ApplicationInfo(); DEFAULT_INSTANCE = applicationInfo; GeneratedMessageLite.registerDefaultInstance(ApplicationInfo.class, applicationInfo); } }