package nano;

import com.google.protobuf.nano.CodedInputByteBufferNano;
import com.google.protobuf.nano.CodedOutputByteBufferNano;
import com.google.protobuf.nano.InternalNano;
import com.google.protobuf.nano.InvalidProtocolBufferNanoException;
import com.google.protobuf.nano.MessageNano;
import com.google.protobuf.nano.WireFormatNano;
import java.io.IOException;
import nano.BankAccountDetailsRequest;

/* compiled from: TbsSdkJava */
public interface BankAccountDetailsResponse {

    /* compiled from: TbsSdkJava */
    public static final class BankAccountDetails_Response extends MessageNano {

        private static volatile BankAccountDetails_Response[] _emptyArray;

        public BankAccountDetailsRequest.BankAccountDetails_Request requestParam;

        public BankAccountDetail[] responseInfo;

        /* compiled from: TbsSdkJava */
        public static final class BankAccountDetail extends MessageNano {

            private static volatile BankAccountDetail[] _emptyArray;

            private long bankaccount_;

            private String bankname_;

            private String banktime_;

            private int bitField0_;

            private long curmoney_;

            private long initmoney_;

            private long lastoperamt_;

            private long maxmoney_;

            private String moneyname_;

            private int moneytype_;

            private String options_;

            private boolean transflag_;

            private long updatetime_;

            private long usedmoney_;

            public BankAccountDetail() {
                clear();
            }

            public static BankAccountDetail[] emptyArray() {
                if (_emptyArray == null) {
                    synchronized (InternalNano.LAZY_INIT_LOCK) {
                        try {
                            if (_emptyArray == null) {
                                _emptyArray = new BankAccountDetail[0];
                            }
                        } catch (Throwable th) {
                            throw th;
                        }
                    }
                }
                return _emptyArray;
            }

            public static BankAccountDetail parseFrom(byte[] bArr) throws InvalidProtocolBufferNanoException {
                return (BankAccountDetail) MessageNano.mergeFrom(new BankAccountDetail(), bArr);
            }

            public BankAccountDetail clear() {
                this.bitField0_ = 0;
                this.moneytype_ = 0;
                this.moneyname_ = "";
                this.initmoney_ = 0;
                this.curmoney_ = 0;
                this.usedmoney_ = 0;
                this.maxmoney_ = 0;
                this.lastoperamt_ = 0;
                this.options_ = "";
                this.bankname_ = "";
                this.banktime_ = "";
                this.transflag_ = false;
                this.updatetime_ = 0;
                this.bankaccount_ = 0;
                this.cachedSize = -1;
                return this;
            }

            public BankAccountDetail clearBankaccount() {
                this.bankaccount_ = 0;
                this.bitField0_ &= -4097;
                return this;
            }

            public BankAccountDetail clearBankname() {
                this.bankname_ = "";
                this.bitField0_ &= -257;
                return this;
            }

            public BankAccountDetail clearBanktime() {
                this.banktime_ = "";
                this.bitField0_ &= -513;
                return this;
            }

            public BankAccountDetail clearCurmoney() {
                this.curmoney_ = 0;
                this.bitField0_ &= -9;
                return this;
            }

            public BankAccountDetail clearInitmoney() {
                this.initmoney_ = 0;
                this.bitField0_ &= -5;
                return this;
            }

            public BankAccountDetail clearLastoperamt() {
                this.lastoperamt_ = 0;
                this.bitField0_ &= -65;
                return this;
            }

            public BankAccountDetail clearMaxmoney() {
                this.maxmoney_ = 0;
                this.bitField0_ &= -33;
                return this;
            }

            public BankAccountDetail clearMoneyname() {
                this.moneyname_ = "";
                this.bitField0_ &= -3;
                return this;
            }

            public BankAccountDetail clearMoneytype() {
                this.moneytype_ = 0;
                this.bitField0_ &= -2;
                return this;
            }

            public BankAccountDetail clearOptions() {
                this.options_ = "";
                this.bitField0_ &= -129;
                return this;
            }

            public BankAccountDetail clearTransflag() {
                this.transflag_ = false;
                this.bitField0_ &= -1025;
                return this;
            }

            public BankAccountDetail clearUpdatetime() {
                this.updatetime_ = 0;
                this.bitField0_ &= -2049;
                return this;
            }

            public BankAccountDetail clearUsedmoney() {
                this.usedmoney_ = 0;
                this.bitField0_ &= -17;
                return this;
            }

            /* access modifiers changed from: protected */
            public int computeSerializedSize() {
                int computeSerializedSize = super.computeSerializedSize();
                if ((this.bitField0_ & 1) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(1, this.moneytype_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(2, this.moneyname_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(3, this.initmoney_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(4, this.curmoney_);
                }
                if ((this.bitField0_ & 16) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeSInt64Size(5, this.usedmoney_);
                }
                if ((this.bitField0_ & 32) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(6, this.maxmoney_);
                }
                if ((this.bitField0_ & 64) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeSInt64Size(7, this.lastoperamt_);
                }
                if ((this.bitField0_ & 128) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(8, this.options_);
                }
                if ((this.bitField0_ & 256) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(9, this.bankname_);
                }
                if ((this.bitField0_ & 512) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(10, this.banktime_);
                }
                if ((this.bitField0_ & 1024) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeBoolSize(11, this.transflag_);
                }
                if ((this.bitField0_ & 2048) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(12, this.updatetime_);
                }
                if ((this.bitField0_ & 4096) != 0) {
                    return computeSerializedSize + CodedOutputByteBufferNano.computeUInt64Size(13, this.bankaccount_);
                }
                return computeSerializedSize;
            }

            public long getBankaccount() {
                return this.bankaccount_;
            }

            public String getBankname() {
                return this.bankname_;
            }

            public String getBanktime() {
                return this.banktime_;
            }

            public long getCurmoney() {
                return this.curmoney_;
            }

            public long getInitmoney() {
                return this.initmoney_;
            }

            public long getLastoperamt() {
                return this.lastoperamt_;
            }

            public long getMaxmoney() {
                return this.maxmoney_;
            }

            public String getMoneyname() {
                return this.moneyname_;
            }

            public int getMoneytype() {
                return this.moneytype_;
            }

            public String getOptions() {
                return this.options_;
            }

            public boolean getTransflag() {
                return this.transflag_;
            }

            public long getUpdatetime() {
                return this.updatetime_;
            }

            public long getUsedmoney() {
                return this.usedmoney_;
            }

            public boolean hasBankaccount() {
                if ((this.bitField0_ & 4096) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasBankname() {
                if ((this.bitField0_ & 256) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasBanktime() {
                if ((this.bitField0_ & 512) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasCurmoney() {
                if ((this.bitField0_ & 8) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasInitmoney() {
                if ((this.bitField0_ & 4) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasLastoperamt() {
                if ((this.bitField0_ & 64) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasMaxmoney() {
                if ((this.bitField0_ & 32) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasMoneyname() {
                if ((this.bitField0_ & 2) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasMoneytype() {
                if ((this.bitField0_ & 1) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasOptions() {
                if ((this.bitField0_ & 128) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasTransflag() {
                if ((this.bitField0_ & 1024) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasUpdatetime() {
                if ((this.bitField0_ & 2048) != 0) {
                    return true;
                }
                return false;
            }

            public boolean hasUsedmoney() {
                if ((this.bitField0_ & 16) != 0) {
                    return true;
                }
                return false;
            }

            public BankAccountDetail setBankaccount(long j10) {
                this.bankaccount_ = j10;
                this.bitField0_ |= 4096;
                return this;
            }

            public BankAccountDetail setBankname(String str) {
                str.getClass();
                this.bankname_ = str;
                this.bitField0_ |= 256;
                return this;
            }

            public BankAccountDetail setBanktime(String str) {
                str.getClass();
                this.banktime_ = str;
                this.bitField0_ |= 512;
                return this;
            }

            public BankAccountDetail setCurmoney(long j10) {
                this.curmoney_ = j10;
                this.bitField0_ |= 8;
                return this;
            }

            public BankAccountDetail setInitmoney(long j10) {
                this.initmoney_ = j10;
                this.bitField0_ |= 4;
                return this;
            }

            public BankAccountDetail setLastoperamt(long j10) {
                this.lastoperamt_ = j10;
                this.bitField0_ |= 64;
                return this;
            }

            public BankAccountDetail setMaxmoney(long j10) {
                this.maxmoney_ = j10;
                this.bitField0_ |= 32;
                return this;
            }

            public BankAccountDetail setMoneyname(String str) {
                str.getClass();
                this.moneyname_ = str;
                this.bitField0_ |= 2;
                return this;
            }

            public BankAccountDetail setMoneytype(int i10) {
                this.moneytype_ = i10;
                this.bitField0_ |= 1;
                return this;
            }

            public BankAccountDetail setOptions(String str) {
                str.getClass();
                this.options_ = str;
                this.bitField0_ |= 128;
                return this;
            }

            public BankAccountDetail setTransflag(boolean z9) {
                this.transflag_ = z9;
                this.bitField0_ |= 1024;
                return this;
            }

            public BankAccountDetail setUpdatetime(long j10) {
                this.updatetime_ = j10;
                this.bitField0_ |= 2048;
                return this;
            }

            public BankAccountDetail setUsedmoney(long j10) {
                this.usedmoney_ = j10;
                this.bitField0_ |= 16;
                return this;
            }

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                if ((this.bitField0_ & 1) != 0) {
                    codedOutputByteBufferNano.writeUInt32(1, this.moneytype_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    codedOutputByteBufferNano.writeString(2, this.moneyname_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    codedOutputByteBufferNano.writeUInt64(3, this.initmoney_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    codedOutputByteBufferNano.writeUInt64(4, this.curmoney_);
                }
                if ((this.bitField0_ & 16) != 0) {
                    codedOutputByteBufferNano.writeSInt64(5, this.usedmoney_);
                }
                if ((this.bitField0_ & 32) != 0) {
                    codedOutputByteBufferNano.writeUInt64(6, this.maxmoney_);
                }
                if ((this.bitField0_ & 64) != 0) {
                    codedOutputByteBufferNano.writeSInt64(7, this.lastoperamt_);
                }
                if ((this.bitField0_ & 128) != 0) {
                    codedOutputByteBufferNano.writeString(8, this.options_);
                }
                if ((this.bitField0_ & 256) != 0) {
                    codedOutputByteBufferNano.writeString(9, this.bankname_);
                }
                if ((this.bitField0_ & 512) != 0) {
                    codedOutputByteBufferNano.writeString(10, this.banktime_);
                }
                if ((this.bitField0_ & 1024) != 0) {
                    codedOutputByteBufferNano.writeBool(11, this.transflag_);
                }
                if ((this.bitField0_ & 2048) != 0) {
                    codedOutputByteBufferNano.writeUInt64(12, this.updatetime_);
                }
                if ((this.bitField0_ & 4096) != 0) {
                    codedOutputByteBufferNano.writeUInt64(13, this.bankaccount_);
                }
                super.writeTo(codedOutputByteBufferNano);
            }

            public static BankAccountDetail parseFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                return new BankAccountDetail().mergeFrom(codedInputByteBufferNano);
            }

            public BankAccountDetail mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    switch(readTag) {
                        case 0:
                            return this;
                        case 8:
                            this.moneytype_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 1;
                            break;
                        case 18:
                            this.moneyname_ = codedInputByteBufferNano.readString();
                            this.bitField0_ |= 2;
                            break;
                        case 24:
                            this.initmoney_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 4;
                            break;
                        case 32:
                            this.curmoney_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 8;
                            break;
                        case 40:
                            this.usedmoney_ = codedInputByteBufferNano.readSInt64();
                            this.bitField0_ |= 16;
                            break;
                        case 48:
                            this.maxmoney_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 32;
                            break;
                        case 56:
                            this.lastoperamt_ = codedInputByteBufferNano.readSInt64();
                            this.bitField0_ |= 64;
                            break;
                        case 66:
                            this.options_ = codedInputByteBufferNano.readString();
                            this.bitField0_ |= 128;
                            break;
                        case 74:
                            this.bankname_ = codedInputByteBufferNano.readString();
                            this.bitField0_ |= 256;
                            break;
                        case 82:
                            this.banktime_ = codedInputByteBufferNano.readString();
                            this.bitField0_ |= 512;
                            break;
                        case 88:
                            this.transflag_ = codedInputByteBufferNano.readBool();
                            this.bitField0_ |= 1024;
                            break;
                        case 96:
                            this.updatetime_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 2048;
                            break;
                        case 104:
                            this.bankaccount_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 4096;
                            break;
                        default:
                            if (WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                                break;
                            } else {
                                return this;
                            }
                    }
                }
            }
        }

        public BankAccountDetails_Response() {
            clear();
        }

        public static BankAccountDetails_Response[] emptyArray() {
            if (_emptyArray == null) {
                synchronized (InternalNano.LAZY_INIT_LOCK) {
                    try {
                        if (_emptyArray == null) {
                            _emptyArray = new BankAccountDetails_Response[0];
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                }
            }
            return _emptyArray;
        }

        public static BankAccountDetails_Response parseFrom(byte[] bArr) throws InvalidProtocolBufferNanoException {
            return (BankAccountDetails_Response) MessageNano.mergeFrom(new BankAccountDetails_Response(), bArr);
        }

        public BankAccountDetails_Response clear() {
            this.requestParam = null;
            this.responseInfo = BankAccountDetail.emptyArray();
            this.cachedSize = -1;
            return this;
        }

        /* access modifiers changed from: protected */
        public int computeSerializedSize() {
            int computeSerializedSize = super.computeSerializedSize();
            BankAccountDetailsRequest.BankAccountDetails_Request bankAccountDetails_Request = this.requestParam;
            if (bankAccountDetails_Request != null) {
                computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(1, bankAccountDetails_Request);
            }
            BankAccountDetail[] bankAccountDetailArr = this.responseInfo;
            if (bankAccountDetailArr != null && bankAccountDetailArr.length > 0) {
                int i10 = 0;
                while (true) {
                    BankAccountDetail[] bankAccountDetailArr2 = this.responseInfo;
                    if (i10 >= bankAccountDetailArr2.length) {
                        break;
                    }
                    BankAccountDetail bankAccountDetail = bankAccountDetailArr2[i10];
                    if (bankAccountDetail != null) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(2, bankAccountDetail);
                    }
                    i10++;
                }
            }
            return computeSerializedSize;
        }

        public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
            BankAccountDetailsRequest.BankAccountDetails_Request bankAccountDetails_Request = this.requestParam;
            if (bankAccountDetails_Request != null) {
                codedOutputByteBufferNano.writeMessage(1, bankAccountDetails_Request);
            }
            BankAccountDetail[] bankAccountDetailArr = this.responseInfo;
            if (bankAccountDetailArr != null && bankAccountDetailArr.length > 0) {
                int i10 = 0;
                while (true) {
                    BankAccountDetail[] bankAccountDetailArr2 = this.responseInfo;
                    if (i10 >= bankAccountDetailArr2.length) {
                        break;
                    }
                    BankAccountDetail bankAccountDetail = bankAccountDetailArr2[i10];
                    if (bankAccountDetail != null) {
                        codedOutputByteBufferNano.writeMessage(2, bankAccountDetail);
                    }
                    i10++;
                }
            }
            super.writeTo(codedOutputByteBufferNano);
        }

        public static BankAccountDetails_Response parseFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
            return new BankAccountDetails_Response().mergeFrom(codedInputByteBufferNano);
        }

        public BankAccountDetails_Response mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
            while (true) {
                int readTag = codedInputByteBufferNano.readTag();
                if (readTag == 0) {
                    return this;
                }
                if (readTag == 10) {
                    if (this.requestParam == null) {
                        this.requestParam = new BankAccountDetailsRequest.BankAccountDetails_Request();
                    }
                    codedInputByteBufferNano.readMessage(this.requestParam);
                } else if (readTag == 18) {
                    int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 18);
                    BankAccountDetail[] bankAccountDetailArr = this.responseInfo;
                    int length = bankAccountDetailArr == null ? 0 : bankAccountDetailArr.length;
                    int i10 = repeatedFieldArrayLength + length;
                    BankAccountDetail[] bankAccountDetailArr2 = new BankAccountDetail[i10];
                    if (length != 0) {
                        System.arraycopy(bankAccountDetailArr, 0, bankAccountDetailArr2, 0, length);
                    }
                    while (length < i10 - 1) {
                        BankAccountDetail bankAccountDetail = new BankAccountDetail();
                        bankAccountDetailArr2[length] = bankAccountDetail;
                        codedInputByteBufferNano.readMessage(bankAccountDetail);
                        codedInputByteBufferNano.readTag();
                        length++;
                    }
                    BankAccountDetail bankAccountDetail2 = new BankAccountDetail();
                    bankAccountDetailArr2[length] = bankAccountDetail2;
                    codedInputByteBufferNano.readMessage(bankAccountDetail2);
                    this.responseInfo = bankAccountDetailArr2;
                } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                    return this;
                }
            }
        }
    }
}
