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 AndroidMemoryReading extends GeneratedMessageLite implements MessageLiteOrBuilder { public static final int CLIENT_TIME_US_FIELD_NUMBER = 1; private static final AndroidMemoryReading DEFAULT_INSTANCE; private static volatile Parser PARSER = null; public static final int USED_APP_JAVA_HEAP_MEMORY_KB_FIELD_NUMBER = 2; private int bitField0_; private long clientTimeUs_; private int usedAppJavaHeapMemoryKb_; public final void setClientTimeUs(long j) { this.bitField0_ |= 1; this.clientTimeUs_ = j; } public final void setUsedAppJavaHeapMemoryKb(int i) { this.bitField0_ |= 2; this.usedAppJavaHeapMemoryKb_ = i; } 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(AndroidMemoryReading.DEFAULT_INSTANCE); } public Builder setClientTimeUs(long j) { copyOnWrite(); ((AndroidMemoryReading) this.instance).setClientTimeUs(j); return this; } public Builder setUsedAppJavaHeapMemoryKb(int i) { copyOnWrite(); ((AndroidMemoryReading) this.instance).setUsedAppJavaHeapMemoryKb(i); return this; } } /* renamed from: com.google.firebase.perf.v1.AndroidMemoryReading$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 AndroidMemoryReading(); case 2: return new Builder(anonymousClass1); case 3: return GeneratedMessageLite.newMessageInfo(DEFAULT_INSTANCE, "\u0001\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001ဂ\u0000\u0002င\u0001", new Object[]{"bitField0_", "clientTimeUs_", "usedAppJavaHeapMemoryKb_"}); case 4: return DEFAULT_INSTANCE; case 5: Parser parser = PARSER; if (parser == null) { synchronized (AndroidMemoryReading.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 { AndroidMemoryReading androidMemoryReading = new AndroidMemoryReading(); DEFAULT_INSTANCE = androidMemoryReading; GeneratedMessageLite.registerDefaultInstance(AndroidMemoryReading.class, androidMemoryReading); } }