- 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
237 lines
9.6 KiB
Java
237 lines
9.6 KiB
Java
package com.google.firebase.perf.v1;
|
|
|
|
import com.google.firebase.perf.v1.ApplicationInfo;
|
|
import com.google.protobuf.GeneratedMessageLite;
|
|
import com.google.protobuf.Parser;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class PerfMetric extends GeneratedMessageLite implements PerfMetricOrBuilder {
|
|
public static final int APPLICATION_INFO_FIELD_NUMBER = 1;
|
|
private static final PerfMetric DEFAULT_INSTANCE;
|
|
public static final int GAUGE_METRIC_FIELD_NUMBER = 4;
|
|
public static final int NETWORK_REQUEST_METRIC_FIELD_NUMBER = 3;
|
|
private static volatile Parser<PerfMetric> PARSER = null;
|
|
public static final int TRACE_METRIC_FIELD_NUMBER = 2;
|
|
public static final int TRANSPORT_INFO_FIELD_NUMBER = 5;
|
|
private ApplicationInfo applicationInfo_;
|
|
private int bitField0_;
|
|
private GaugeMetric gaugeMetric_;
|
|
private NetworkRequestMetric networkRequestMetric_;
|
|
private TraceMetric traceMetric_;
|
|
private TransportInfo transportInfo_;
|
|
|
|
public boolean hasApplicationInfo() {
|
|
return (this.bitField0_ & 1) != 0;
|
|
}
|
|
|
|
@Override // com.google.firebase.perf.v1.PerfMetricOrBuilder
|
|
public boolean hasGaugeMetric() {
|
|
return (this.bitField0_ & 8) != 0;
|
|
}
|
|
|
|
@Override // com.google.firebase.perf.v1.PerfMetricOrBuilder
|
|
public boolean hasNetworkRequestMetric() {
|
|
return (this.bitField0_ & 4) != 0;
|
|
}
|
|
|
|
@Override // com.google.firebase.perf.v1.PerfMetricOrBuilder
|
|
public boolean hasTraceMetric() {
|
|
return (this.bitField0_ & 2) != 0;
|
|
}
|
|
|
|
public ApplicationInfo getApplicationInfo() {
|
|
ApplicationInfo applicationInfo = this.applicationInfo_;
|
|
return applicationInfo == null ? ApplicationInfo.getDefaultInstance() : applicationInfo;
|
|
}
|
|
|
|
public final void setApplicationInfo(ApplicationInfo applicationInfo) {
|
|
applicationInfo.getClass();
|
|
this.applicationInfo_ = applicationInfo;
|
|
this.bitField0_ |= 1;
|
|
}
|
|
|
|
@Override // com.google.firebase.perf.v1.PerfMetricOrBuilder
|
|
public TraceMetric getTraceMetric() {
|
|
TraceMetric traceMetric = this.traceMetric_;
|
|
return traceMetric == null ? TraceMetric.getDefaultInstance() : traceMetric;
|
|
}
|
|
|
|
public final void setTraceMetric(TraceMetric traceMetric) {
|
|
traceMetric.getClass();
|
|
this.traceMetric_ = traceMetric;
|
|
this.bitField0_ |= 2;
|
|
}
|
|
|
|
@Override // com.google.firebase.perf.v1.PerfMetricOrBuilder
|
|
public NetworkRequestMetric getNetworkRequestMetric() {
|
|
NetworkRequestMetric networkRequestMetric = this.networkRequestMetric_;
|
|
return networkRequestMetric == null ? NetworkRequestMetric.getDefaultInstance() : networkRequestMetric;
|
|
}
|
|
|
|
public final void setNetworkRequestMetric(NetworkRequestMetric networkRequestMetric) {
|
|
networkRequestMetric.getClass();
|
|
this.networkRequestMetric_ = networkRequestMetric;
|
|
this.bitField0_ |= 4;
|
|
}
|
|
|
|
@Override // com.google.firebase.perf.v1.PerfMetricOrBuilder
|
|
public GaugeMetric getGaugeMetric() {
|
|
GaugeMetric gaugeMetric = this.gaugeMetric_;
|
|
return gaugeMetric == null ? GaugeMetric.getDefaultInstance() : gaugeMetric;
|
|
}
|
|
|
|
public final void setGaugeMetric(GaugeMetric gaugeMetric) {
|
|
gaugeMetric.getClass();
|
|
this.gaugeMetric_ = gaugeMetric;
|
|
this.bitField0_ |= 8;
|
|
}
|
|
|
|
public static Builder newBuilder() {
|
|
return (Builder) DEFAULT_INSTANCE.createBuilder();
|
|
}
|
|
|
|
public static final class Builder extends GeneratedMessageLite.Builder implements PerfMetricOrBuilder {
|
|
public /* synthetic */ Builder(AnonymousClass1 anonymousClass1) {
|
|
this();
|
|
}
|
|
|
|
public Builder() {
|
|
super(PerfMetric.DEFAULT_INSTANCE);
|
|
}
|
|
|
|
public Builder setApplicationInfo(ApplicationInfo.Builder builder) {
|
|
copyOnWrite();
|
|
((PerfMetric) this.instance).setApplicationInfo((ApplicationInfo) builder.build());
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.firebase.perf.v1.PerfMetricOrBuilder
|
|
public boolean hasTraceMetric() {
|
|
return ((PerfMetric) this.instance).hasTraceMetric();
|
|
}
|
|
|
|
@Override // com.google.firebase.perf.v1.PerfMetricOrBuilder
|
|
public TraceMetric getTraceMetric() {
|
|
return ((PerfMetric) this.instance).getTraceMetric();
|
|
}
|
|
|
|
public Builder setTraceMetric(TraceMetric traceMetric) {
|
|
copyOnWrite();
|
|
((PerfMetric) this.instance).setTraceMetric(traceMetric);
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.firebase.perf.v1.PerfMetricOrBuilder
|
|
public boolean hasNetworkRequestMetric() {
|
|
return ((PerfMetric) this.instance).hasNetworkRequestMetric();
|
|
}
|
|
|
|
@Override // com.google.firebase.perf.v1.PerfMetricOrBuilder
|
|
public NetworkRequestMetric getNetworkRequestMetric() {
|
|
return ((PerfMetric) this.instance).getNetworkRequestMetric();
|
|
}
|
|
|
|
public Builder setNetworkRequestMetric(NetworkRequestMetric networkRequestMetric) {
|
|
copyOnWrite();
|
|
((PerfMetric) this.instance).setNetworkRequestMetric(networkRequestMetric);
|
|
return this;
|
|
}
|
|
|
|
@Override // com.google.firebase.perf.v1.PerfMetricOrBuilder
|
|
public boolean hasGaugeMetric() {
|
|
return ((PerfMetric) this.instance).hasGaugeMetric();
|
|
}
|
|
|
|
@Override // com.google.firebase.perf.v1.PerfMetricOrBuilder
|
|
public GaugeMetric getGaugeMetric() {
|
|
return ((PerfMetric) this.instance).getGaugeMetric();
|
|
}
|
|
|
|
public Builder setGaugeMetric(GaugeMetric gaugeMetric) {
|
|
copyOnWrite();
|
|
((PerfMetric) this.instance).setGaugeMetric(gaugeMetric);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
/* renamed from: com.google.firebase.perf.v1.PerfMetric$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 PerfMetric();
|
|
case 2:
|
|
return new Builder(anonymousClass1);
|
|
case 3:
|
|
return GeneratedMessageLite.newMessageInfo(DEFAULT_INSTANCE, "\u0001\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0000\u0000\u0001ဉ\u0000\u0002ဉ\u0001\u0003ဉ\u0002\u0004ဉ\u0003\u0005ဉ\u0004", new Object[]{"bitField0_", "applicationInfo_", "traceMetric_", "networkRequestMetric_", "gaugeMetric_", "transportInfo_"});
|
|
case 4:
|
|
return DEFAULT_INSTANCE;
|
|
case 5:
|
|
Parser<PerfMetric> parser = PARSER;
|
|
if (parser == null) {
|
|
synchronized (PerfMetric.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 {
|
|
PerfMetric perfMetric = new PerfMetric();
|
|
DEFAULT_INSTANCE = perfMetric;
|
|
GeneratedMessageLite.registerDefaultInstance(PerfMetric.class, perfMetric);
|
|
}
|
|
}
|