- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
205 lines
8.2 KiB
Java
205 lines
8.2 KiB
Java
package com.google.firebase.perf.v1;
|
|
|
|
import com.google.protobuf.GeneratedMessageLite;
|
|
import com.google.protobuf.Internal;
|
|
import com.google.protobuf.MessageLiteOrBuilder;
|
|
import com.google.protobuf.Parser;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class GaugeMetric extends GeneratedMessageLite implements MessageLiteOrBuilder {
|
|
public static final int ANDROID_MEMORY_READINGS_FIELD_NUMBER = 4;
|
|
public static final int CPU_METRIC_READINGS_FIELD_NUMBER = 2;
|
|
private static final GaugeMetric DEFAULT_INSTANCE;
|
|
public static final int GAUGE_METADATA_FIELD_NUMBER = 3;
|
|
private static volatile Parser<GaugeMetric> PARSER = null;
|
|
public static final int SESSION_ID_FIELD_NUMBER = 1;
|
|
private int bitField0_;
|
|
private GaugeMetadata gaugeMetadata_;
|
|
private String sessionId_ = "";
|
|
private Internal.ProtobufList<CpuMetricReading> cpuMetricReadings_ = GeneratedMessageLite.emptyProtobufList();
|
|
private Internal.ProtobufList<AndroidMemoryReading> androidMemoryReadings_ = GeneratedMessageLite.emptyProtobufList();
|
|
|
|
public static GaugeMetric getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
|
|
public boolean hasGaugeMetadata() {
|
|
return (this.bitField0_ & 2) != 0;
|
|
}
|
|
|
|
public boolean hasSessionId() {
|
|
return (this.bitField0_ & 1) != 0;
|
|
}
|
|
|
|
public final void setSessionId(String str) {
|
|
str.getClass();
|
|
this.bitField0_ |= 1;
|
|
this.sessionId_ = str;
|
|
}
|
|
|
|
public GaugeMetadata getGaugeMetadata() {
|
|
GaugeMetadata gaugeMetadata = this.gaugeMetadata_;
|
|
return gaugeMetadata == null ? GaugeMetadata.getDefaultInstance() : gaugeMetadata;
|
|
}
|
|
|
|
public final void setGaugeMetadata(GaugeMetadata gaugeMetadata) {
|
|
gaugeMetadata.getClass();
|
|
this.gaugeMetadata_ = gaugeMetadata;
|
|
this.bitField0_ |= 2;
|
|
}
|
|
|
|
public int getCpuMetricReadingsCount() {
|
|
return this.cpuMetricReadings_.size();
|
|
}
|
|
|
|
public final void ensureCpuMetricReadingsIsMutable() {
|
|
Internal.ProtobufList<CpuMetricReading> protobufList = this.cpuMetricReadings_;
|
|
if (protobufList.isModifiable()) {
|
|
return;
|
|
}
|
|
this.cpuMetricReadings_ = GeneratedMessageLite.mutableCopy(protobufList);
|
|
}
|
|
|
|
public final void addCpuMetricReadings(CpuMetricReading cpuMetricReading) {
|
|
cpuMetricReading.getClass();
|
|
ensureCpuMetricReadingsIsMutable();
|
|
this.cpuMetricReadings_.add(cpuMetricReading);
|
|
}
|
|
|
|
public int getAndroidMemoryReadingsCount() {
|
|
return this.androidMemoryReadings_.size();
|
|
}
|
|
|
|
public final void ensureAndroidMemoryReadingsIsMutable() {
|
|
Internal.ProtobufList<AndroidMemoryReading> protobufList = this.androidMemoryReadings_;
|
|
if (protobufList.isModifiable()) {
|
|
return;
|
|
}
|
|
this.androidMemoryReadings_ = GeneratedMessageLite.mutableCopy(protobufList);
|
|
}
|
|
|
|
public final void addAndroidMemoryReadings(AndroidMemoryReading androidMemoryReading) {
|
|
androidMemoryReading.getClass();
|
|
ensureAndroidMemoryReadingsIsMutable();
|
|
this.androidMemoryReadings_.add(androidMemoryReading);
|
|
}
|
|
|
|
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(GaugeMetric.DEFAULT_INSTANCE);
|
|
}
|
|
|
|
public Builder setSessionId(String str) {
|
|
copyOnWrite();
|
|
((GaugeMetric) this.instance).setSessionId(str);
|
|
return this;
|
|
}
|
|
|
|
public Builder setGaugeMetadata(GaugeMetadata gaugeMetadata) {
|
|
copyOnWrite();
|
|
((GaugeMetric) this.instance).setGaugeMetadata(gaugeMetadata);
|
|
return this;
|
|
}
|
|
|
|
public Builder addCpuMetricReadings(CpuMetricReading cpuMetricReading) {
|
|
copyOnWrite();
|
|
((GaugeMetric) this.instance).addCpuMetricReadings(cpuMetricReading);
|
|
return this;
|
|
}
|
|
|
|
public Builder addAndroidMemoryReadings(AndroidMemoryReading androidMemoryReading) {
|
|
copyOnWrite();
|
|
((GaugeMetric) this.instance).addAndroidMemoryReadings(androidMemoryReading);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
/* renamed from: com.google.firebase.perf.v1.GaugeMetric$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 GaugeMetric();
|
|
case 2:
|
|
return new Builder(anonymousClass1);
|
|
case 3:
|
|
return GeneratedMessageLite.newMessageInfo(DEFAULT_INSTANCE, "\u0001\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0002\u0000\u0001ဈ\u0000\u0002\u001b\u0003ဉ\u0001\u0004\u001b", new Object[]{"bitField0_", "sessionId_", "cpuMetricReadings_", CpuMetricReading.class, "gaugeMetadata_", "androidMemoryReadings_", AndroidMemoryReading.class});
|
|
case 4:
|
|
return DEFAULT_INSTANCE;
|
|
case 5:
|
|
Parser<GaugeMetric> parser = PARSER;
|
|
if (parser == null) {
|
|
synchronized (GaugeMetric.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 {
|
|
GaugeMetric gaugeMetric = new GaugeMetric();
|
|
DEFAULT_INSTANCE = gaugeMetric;
|
|
GeneratedMessageLite.registerDefaultInstance(GaugeMetric.class, gaugeMetric);
|
|
}
|
|
}
|