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 GaugeMetadata extends GeneratedMessageLite implements MessageLiteOrBuilder { public static final int CPU_CLOCK_RATE_KHZ_FIELD_NUMBER = 2; public static final int CPU_PROCESSOR_COUNT_FIELD_NUMBER = 6; private static final GaugeMetadata DEFAULT_INSTANCE; public static final int DEVICE_RAM_SIZE_KB_FIELD_NUMBER = 3; public static final int MAX_APP_JAVA_HEAP_MEMORY_KB_FIELD_NUMBER = 4; public static final int MAX_ENCOURAGED_APP_JAVA_HEAP_MEMORY_KB_FIELD_NUMBER = 5; private static volatile Parser PARSER = null; public static final int PROCESS_NAME_FIELD_NUMBER = 1; private int bitField0_; private int cpuClockRateKhz_; private int cpuProcessorCount_; private int deviceRamSizeKb_; private int maxAppJavaHeapMemoryKb_; private int maxEncouragedAppJavaHeapMemoryKb_; private String processName_ = ""; public static GaugeMetadata getDefaultInstance() { return DEFAULT_INSTANCE; } public boolean hasMaxAppJavaHeapMemoryKb() { return (this.bitField0_ & 16) != 0; } public final void setDeviceRamSizeKb(int i) { this.bitField0_ |= 8; this.deviceRamSizeKb_ = i; } public final void setMaxAppJavaHeapMemoryKb(int i) { this.bitField0_ |= 16; this.maxAppJavaHeapMemoryKb_ = i; } public final void setMaxEncouragedAppJavaHeapMemoryKb(int i) { this.bitField0_ |= 32; this.maxEncouragedAppJavaHeapMemoryKb_ = 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(GaugeMetadata.DEFAULT_INSTANCE); } public Builder setDeviceRamSizeKb(int i) { copyOnWrite(); ((GaugeMetadata) this.instance).setDeviceRamSizeKb(i); return this; } public Builder setMaxAppJavaHeapMemoryKb(int i) { copyOnWrite(); ((GaugeMetadata) this.instance).setMaxAppJavaHeapMemoryKb(i); return this; } public Builder setMaxEncouragedAppJavaHeapMemoryKb(int i) { copyOnWrite(); ((GaugeMetadata) this.instance).setMaxEncouragedAppJavaHeapMemoryKb(i); return this; } } /* renamed from: com.google.firebase.perf.v1.GaugeMetadata$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 GaugeMetadata(); case 2: return new Builder(anonymousClass1); case 3: return GeneratedMessageLite.newMessageInfo(DEFAULT_INSTANCE, "\u0001\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0000\u0000\u0001ဈ\u0000\u0002င\u0001\u0003င\u0003\u0004င\u0004\u0005င\u0005\u0006င\u0002", new Object[]{"bitField0_", "processName_", "cpuClockRateKhz_", "deviceRamSizeKb_", "maxAppJavaHeapMemoryKb_", "maxEncouragedAppJavaHeapMemoryKb_", "cpuProcessorCount_"}); case 4: return DEFAULT_INSTANCE; case 5: Parser parser = PARSER; if (parser == null) { synchronized (GaugeMetadata.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 { GaugeMetadata gaugeMetadata = new GaugeMetadata(); DEFAULT_INSTANCE = gaugeMetadata; GeneratedMessageLite.registerDefaultInstance(GaugeMetadata.class, gaugeMetadata); } }