what-the-bank/sources/o/XYy.java

91 lines
2.3 KiB
Java

package o;
import com.google.protobuf.InvalidProtocolBufferException;
/* loaded from: classes2.dex */
public class XYy {
QwV a;
volatile InterfaceC16581pUl b;
volatile QwV c;
public int hashCode() {
return 1;
}
static {
ZjA.e();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof XYy)) {
return false;
}
XYy xYy = (XYy) obj;
InterfaceC16581pUl interfaceC16581pUl = this.b;
InterfaceC16581pUl interfaceC16581pUl2 = xYy.b;
if (interfaceC16581pUl == null && interfaceC16581pUl2 == null) {
return b().equals(xYy.b());
}
if (interfaceC16581pUl != null && interfaceC16581pUl2 != null) {
return interfaceC16581pUl.equals(interfaceC16581pUl2);
}
if (interfaceC16581pUl != null) {
return interfaceC16581pUl.equals(xYy.e(interfaceC16581pUl.getDefaultInstanceForType()));
}
return e(interfaceC16581pUl2.getDefaultInstanceForType()).equals(interfaceC16581pUl2);
}
public final InterfaceC16581pUl e(InterfaceC16581pUl interfaceC16581pUl) {
a(interfaceC16581pUl);
return this.b;
}
public final int c() {
if (this.c != null) {
return this.c.g();
}
if (this.b != null) {
return this.b.getSerializedSize();
}
return 0;
}
public final QwV b() {
if (this.c != null) {
return this.c;
}
synchronized (this) {
if (this.c != null) {
return this.c;
}
if (this.b == null) {
this.c = QwV.a;
} else {
this.c = this.b.toByteString();
}
return this.c;
}
}
private void a(InterfaceC16581pUl interfaceC16581pUl) {
if (this.b != null) {
return;
}
synchronized (this) {
if (this.b != null) {
return;
}
try {
this.b = interfaceC16581pUl;
this.c = QwV.a;
} catch (InvalidProtocolBufferException unused) {
this.b = interfaceC16581pUl;
this.c = QwV.a;
}
}
}
}