what-the-bank/sources/com/google/firebase/firestore/proto/NoDocument.java

149 lines
5.1 KiB
Java

package com.google.firebase.firestore.proto;
import o.AQX;
import o.KUw;
import o.XgX;
/* loaded from: classes2.dex */
public final class NoDocument extends KUw<NoDocument, Builder> implements NoDocumentOrBuilder {
private static final NoDocument DEFAULT_INSTANCE;
public static final int NAME_FIELD_NUMBER = 1;
private static volatile XgX<NoDocument> PARSER = null;
public static final int READ_TIME_FIELD_NUMBER = 2;
private String name_ = "";
private AQX readTime_;
private NoDocument() {
}
/* JADX INFO: Access modifiers changed from: private */
public void setName(String str) {
this.name_ = str;
}
public final AQX getReadTime() {
AQX aqx = this.readTime_;
return aqx == null ? AQX.c() : aqx;
}
/* JADX INFO: Access modifiers changed from: private */
public void setReadTime(AQX aqx) {
this.readTime_ = aqx;
}
public static Builder newBuilder() {
return DEFAULT_INSTANCE.createBuilder();
}
/* loaded from: classes2.dex */
public static final class Builder extends KUw.LWm<NoDocument, Builder> implements NoDocumentOrBuilder {
/* synthetic */ Builder(AnonymousClass1 anonymousClass1) {
this();
}
private Builder() {
super(NoDocument.DEFAULT_INSTANCE);
}
public final Builder setName(String str) {
copyOnWrite();
((NoDocument) this.instance).setName(str);
return this;
}
public final Builder setReadTime(AQX aqx) {
copyOnWrite();
((NoDocument) this.instance).setReadTime(aqx);
return this;
}
}
/* renamed from: com.google.firebase.firestore.proto.NoDocument$1, reason: invalid class name */
/* loaded from: classes2.dex */
static /* synthetic */ class AnonymousClass1 {
static final int[] $SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke;
static {
int[] iArr = new int[KUw.ojQ.values().length];
$SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke = iArr;
try {
iArr[KUw.ojQ.NEW_MUTABLE_INSTANCE.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
$SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke[KUw.ojQ.NEW_BUILDER.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
$SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke[KUw.ojQ.BUILD_MESSAGE_INFO.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
try {
$SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke[KUw.ojQ.GET_DEFAULT_INSTANCE.ordinal()] = 4;
} catch (NoSuchFieldError unused4) {
}
try {
$SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke[KUw.ojQ.GET_PARSER.ordinal()] = 5;
} catch (NoSuchFieldError unused5) {
}
try {
$SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke[KUw.ojQ.GET_MEMOIZED_IS_INITIALIZED.ordinal()] = 6;
} catch (NoSuchFieldError unused6) {
}
try {
$SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke[KUw.ojQ.SET_MEMOIZED_IS_INITIALIZED.ordinal()] = 7;
} catch (NoSuchFieldError unused7) {
}
}
}
@Override // o.KUw
public final Object dynamicMethod(KUw.ojQ ojq, Object obj, Object obj2) {
XgX xgX;
AnonymousClass1 anonymousClass1 = null;
switch (AnonymousClass1.$SwitchMap$com$google$protobuf$GeneratedMessageLite$MethodToInvoke[ojq.ordinal()]) {
case 1:
return new NoDocument();
case 2:
return new Builder(anonymousClass1);
case 3:
return newMessageInfo(DEFAULT_INSTANCE, "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001Ȉ\u0002\t", new Object[]{"name_", "readTime_"});
case 4:
return DEFAULT_INSTANCE;
case 5:
XgX<NoDocument> xgX2 = PARSER;
if (xgX2 != null) {
return xgX2;
}
synchronized (NoDocument.class) {
xgX = PARSER;
if (xgX == null) {
xgX = new KUw.HBt(DEFAULT_INSTANCE);
PARSER = xgX;
}
}
return xgX;
case 6:
return (byte) 1;
case 7:
return null;
default:
throw new UnsupportedOperationException();
}
}
static {
NoDocument noDocument = new NoDocument();
DEFAULT_INSTANCE = noDocument;
KUw.registerDefaultInstance(NoDocument.class, noDocument);
}
public final String getName() {
return this.name_;
}
public static NoDocument getDefaultInstance() {
return DEFAULT_INSTANCE;
}
}