package com.google.firebase.perf.v1; import com.google.protobuf.GeneratedMessageLite; import com.google.protobuf.MessageLiteOrBuilder; import com.google.protobuf.Parser; /* loaded from: classes3.dex */ public final class AndroidApplicationInfo extends GeneratedMessageLite implements MessageLiteOrBuilder { private static final AndroidApplicationInfo DEFAULT_INSTANCE; public static final int PACKAGE_NAME_FIELD_NUMBER = 1; private static volatile Parser PARSER = null; public static final int SDK_VERSION_FIELD_NUMBER = 2; public static final int VERSION_NAME_FIELD_NUMBER = 3; private int bitField0_; private String packageName_ = ""; private String sdkVersion_ = ""; private String versionName_ = ""; public static AndroidApplicationInfo getDefaultInstance() { return DEFAULT_INSTANCE; } public boolean hasPackageName() { return (this.bitField0_ & 1) != 0; } public boolean hasSdkVersion() { return (this.bitField0_ & 2) != 0; } public final void setPackageName(String str) { str.getClass(); this.bitField0_ |= 1; this.packageName_ = str; } public final void setSdkVersion(String str) { str.getClass(); this.bitField0_ |= 2; this.sdkVersion_ = str; } public final void setVersionName(String str) { str.getClass(); this.bitField0_ |= 4; this.versionName_ = str; } 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(AndroidApplicationInfo.DEFAULT_INSTANCE); } public Builder setPackageName(String str) { copyOnWrite(); ((AndroidApplicationInfo) this.instance).setPackageName(str); return this; } public Builder setSdkVersion(String str) { copyOnWrite(); ((AndroidApplicationInfo) this.instance).setSdkVersion(str); return this; } public Builder setVersionName(String str) { copyOnWrite(); ((AndroidApplicationInfo) this.instance).setVersionName(str); return this; } } /* renamed from: com.google.firebase.perf.v1.AndroidApplicationInfo$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 AndroidApplicationInfo(); case 2: return new Builder(anonymousClass1); case 3: return GeneratedMessageLite.newMessageInfo(DEFAULT_INSTANCE, "\u0001\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001ဈ\u0000\u0002ဈ\u0001\u0003ဈ\u0002", new Object[]{"bitField0_", "packageName_", "sdkVersion_", "versionName_"}); case 4: return DEFAULT_INSTANCE; case 5: Parser parser = PARSER; if (parser == null) { synchronized (AndroidApplicationInfo.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 { AndroidApplicationInfo androidApplicationInfo = new AndroidApplicationInfo(); DEFAULT_INSTANCE = androidApplicationInfo; GeneratedMessageLite.registerDefaultInstance(AndroidApplicationInfo.class, androidApplicationInfo); } }