149 lines
5.2 KiB
Java
149 lines
5.2 KiB
Java
package com.google.firebase.firestore.proto;
|
|
|
|
import o.AQX;
|
|
import o.KUw;
|
|
import o.XgX;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class UnknownDocument extends KUw<UnknownDocument, Builder> implements UnknownDocumentOrBuilder {
|
|
private static final UnknownDocument DEFAULT_INSTANCE;
|
|
public static final int NAME_FIELD_NUMBER = 1;
|
|
private static volatile XgX<UnknownDocument> PARSER = null;
|
|
public static final int VERSION_FIELD_NUMBER = 2;
|
|
private String name_ = "";
|
|
private AQX version_;
|
|
|
|
private UnknownDocument() {
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public void setName(String str) {
|
|
this.name_ = str;
|
|
}
|
|
|
|
public final AQX getVersion() {
|
|
AQX aqx = this.version_;
|
|
return aqx == null ? AQX.c() : aqx;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public void setVersion(AQX aqx) {
|
|
this.version_ = aqx;
|
|
}
|
|
|
|
public static Builder newBuilder() {
|
|
return DEFAULT_INSTANCE.createBuilder();
|
|
}
|
|
|
|
/* loaded from: classes2.dex */
|
|
public static final class Builder extends KUw.LWm<UnknownDocument, Builder> implements UnknownDocumentOrBuilder {
|
|
/* synthetic */ Builder(AnonymousClass1 anonymousClass1) {
|
|
this();
|
|
}
|
|
|
|
private Builder() {
|
|
super(UnknownDocument.DEFAULT_INSTANCE);
|
|
}
|
|
|
|
public final Builder setName(String str) {
|
|
copyOnWrite();
|
|
((UnknownDocument) this.instance).setName(str);
|
|
return this;
|
|
}
|
|
|
|
public final Builder setVersion(AQX aqx) {
|
|
copyOnWrite();
|
|
((UnknownDocument) this.instance).setVersion(aqx);
|
|
return this;
|
|
}
|
|
}
|
|
|
|
/* renamed from: com.google.firebase.firestore.proto.UnknownDocument$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 UnknownDocument();
|
|
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_", "version_"});
|
|
case 4:
|
|
return DEFAULT_INSTANCE;
|
|
case 5:
|
|
XgX<UnknownDocument> xgX2 = PARSER;
|
|
if (xgX2 != null) {
|
|
return xgX2;
|
|
}
|
|
synchronized (UnknownDocument.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 {
|
|
UnknownDocument unknownDocument = new UnknownDocument();
|
|
DEFAULT_INSTANCE = unknownDocument;
|
|
KUw.registerDefaultInstance(UnknownDocument.class, unknownDocument);
|
|
}
|
|
|
|
public final String getName() {
|
|
return this.name_;
|
|
}
|
|
|
|
public static UnknownDocument getDefaultInstance() {
|
|
return DEFAULT_INSTANCE;
|
|
}
|
|
}
|