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.FundAccountDetailsRequest;

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

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

        private static volatile FundAccountDetails_Response[] _emptyArray;

        public FundAccountDetailsRequest.FundAccountDetails_Request requestParam;

        public FundAccountDetail[] responseInfo;

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

            private static volatile FundAccountDetail[] _emptyArray;

            private int bitField0_;

            private long currpl_;

            private long frozenbalances_;

            private long fundbalances_;

            private int glrankid_;

            private int glyield_;

            private int itvtdays_;

            private long keepbalances_;

            private String moneyname_;

            private int moneytype_;

            private int monthyield_;

            private long startcpt_;

            private long todaypl_;

            private long totalcpt_;

            private long totalmkt_;

            private int totalusers_;

            private long usablebalances_;

            public FundAccountDetail() {
                clear();
            }

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

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

            public FundAccountDetail clear() {
                this.bitField0_ = 0;
                this.moneytype_ = 0;
                this.moneyname_ = "";
                this.totalcpt_ = 0;
                this.totalmkt_ = 0;
                this.glyield_ = 0;
                this.currpl_ = 0;
                this.todaypl_ = 0;
                this.fundbalances_ = 0;
                this.usablebalances_ = 0;
                this.frozenbalances_ = 0;
                this.startcpt_ = 0;
                this.keepbalances_ = 0;
                this.itvtdays_ = 0;
                this.monthyield_ = 0;
                this.glrankid_ = 0;
                this.totalusers_ = 0;
                this.cachedSize = -1;
                return this;
            }

            public FundAccountDetail clearCurrpl() {
                this.currpl_ = 0;
                this.bitField0_ &= -33;
                return this;
            }

            public FundAccountDetail clearFrozenbalances() {
                this.frozenbalances_ = 0;
                this.bitField0_ &= -513;
                return this;
            }

            public FundAccountDetail clearFundbalances() {
                this.fundbalances_ = 0;
                this.bitField0_ &= -129;
                return this;
            }

            public FundAccountDetail clearGlrankid() {
                this.glrankid_ = 0;
                this.bitField0_ &= -16385;
                return this;
            }

            public FundAccountDetail clearGlyield() {
                this.glyield_ = 0;
                this.bitField0_ &= -17;
                return this;
            }

            public FundAccountDetail clearItvtdays() {
                this.itvtdays_ = 0;
                this.bitField0_ &= -4097;
                return this;
            }

            public FundAccountDetail clearKeepbalances() {
                this.keepbalances_ = 0;
                this.bitField0_ &= -2049;
                return this;
            }

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

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

            public FundAccountDetail clearMonthyield() {
                this.monthyield_ = 0;
                this.bitField0_ &= -8193;
                return this;
            }

            public FundAccountDetail clearStartcpt() {
                this.startcpt_ = 0;
                this.bitField0_ &= -1025;
                return this;
            }

            public FundAccountDetail clearTodaypl() {
                this.todaypl_ = 0;
                this.bitField0_ &= -65;
                return this;
            }

            public FundAccountDetail clearTotalcpt() {
                this.totalcpt_ = 0;
                this.bitField0_ &= -5;
                return this;
            }

            public FundAccountDetail clearTotalmkt() {
                this.totalmkt_ = 0;
                this.bitField0_ &= -9;
                return this;
            }

            public FundAccountDetail clearTotalusers() {
                this.totalusers_ = 0;
                this.bitField0_ &= -32769;
                return this;
            }

            public FundAccountDetail clearUsablebalances() {
                this.usablebalances_ = 0;
                this.bitField0_ &= -257;
                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.totalcpt_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(4, this.totalmkt_);
                }
                if ((this.bitField0_ & 16) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeSInt32Size(5, this.glyield_);
                }
                if ((this.bitField0_ & 32) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeSInt64Size(6, this.currpl_);
                }
                if ((this.bitField0_ & 64) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeSInt64Size(7, this.todaypl_);
                }
                if ((this.bitField0_ & 128) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(8, this.fundbalances_);
                }
                if ((this.bitField0_ & 256) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(9, this.usablebalances_);
                }
                if ((this.bitField0_ & 512) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(10, this.frozenbalances_);
                }
                if ((this.bitField0_ & 1024) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(11, this.startcpt_);
                }
                if ((this.bitField0_ & 2048) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(12, this.keepbalances_);
                }
                if ((this.bitField0_ & 4096) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(13, this.itvtdays_);
                }
                if ((this.bitField0_ & 8192) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeSInt32Size(14, this.monthyield_);
                }
                if ((this.bitField0_ & 16384) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(15, this.glrankid_);
                }
                if ((this.bitField0_ & 32768) != 0) {
                    return computeSerializedSize + CodedOutputByteBufferNano.computeUInt32Size(16, this.totalusers_);
                }
                return computeSerializedSize;
            }

            public long getCurrpl() {
                return this.currpl_;
            }

            public long getFrozenbalances() {
                return this.frozenbalances_;
            }

            public long getFundbalances() {
                return this.fundbalances_;
            }

            public int getGlrankid() {
                return this.glrankid_;
            }

            public int getGlyield() {
                return this.glyield_;
            }

            public int getItvtdays() {
                return this.itvtdays_;
            }

            public long getKeepbalances() {
                return this.keepbalances_;
            }

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

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

            public int getMonthyield() {
                return this.monthyield_;
            }

            public long getStartcpt() {
                return this.startcpt_;
            }

            public long getTodaypl() {
                return this.todaypl_;
            }

            public long getTotalcpt() {
                return this.totalcpt_;
            }

            public long getTotalmkt() {
                return this.totalmkt_;
            }

            public int getTotalusers() {
                return this.totalusers_;
            }

            public long getUsablebalances() {
                return this.usablebalances_;
            }

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

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

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

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

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

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

            public boolean hasKeepbalances() {
                if ((this.bitField0_ & 2048) != 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 hasMonthyield() {
                if ((this.bitField0_ & 8192) != 0) {
                    return true;
                }
                return false;
            }

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

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

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

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

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

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

            public FundAccountDetail setCurrpl(long j10) {
                this.currpl_ = j10;
                this.bitField0_ |= 32;
                return this;
            }

            public FundAccountDetail setFrozenbalances(long j10) {
                this.frozenbalances_ = j10;
                this.bitField0_ |= 512;
                return this;
            }

            public FundAccountDetail setFundbalances(long j10) {
                this.fundbalances_ = j10;
                this.bitField0_ |= 128;
                return this;
            }

            public FundAccountDetail setGlrankid(int i10) {
                this.glrankid_ = i10;
                this.bitField0_ |= 16384;
                return this;
            }

            public FundAccountDetail setGlyield(int i10) {
                this.glyield_ = i10;
                this.bitField0_ |= 16;
                return this;
            }

            public FundAccountDetail setItvtdays(int i10) {
                this.itvtdays_ = i10;
                this.bitField0_ |= 4096;
                return this;
            }

            public FundAccountDetail setKeepbalances(long j10) {
                this.keepbalances_ = j10;
                this.bitField0_ |= 2048;
                return this;
            }

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

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

            public FundAccountDetail setMonthyield(int i10) {
                this.monthyield_ = i10;
                this.bitField0_ |= 8192;
                return this;
            }

            public FundAccountDetail setStartcpt(long j10) {
                this.startcpt_ = j10;
                this.bitField0_ |= 1024;
                return this;
            }

            public FundAccountDetail setTodaypl(long j10) {
                this.todaypl_ = j10;
                this.bitField0_ |= 64;
                return this;
            }

            public FundAccountDetail setTotalcpt(long j10) {
                this.totalcpt_ = j10;
                this.bitField0_ |= 4;
                return this;
            }

            public FundAccountDetail setTotalmkt(long j10) {
                this.totalmkt_ = j10;
                this.bitField0_ |= 8;
                return this;
            }

            public FundAccountDetail setTotalusers(int i10) {
                this.totalusers_ = i10;
                this.bitField0_ |= 32768;
                return this;
            }

            public FundAccountDetail setUsablebalances(long j10) {
                this.usablebalances_ = j10;
                this.bitField0_ |= 256;
                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.totalcpt_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    codedOutputByteBufferNano.writeUInt64(4, this.totalmkt_);
                }
                if ((this.bitField0_ & 16) != 0) {
                    codedOutputByteBufferNano.writeSInt32(5, this.glyield_);
                }
                if ((this.bitField0_ & 32) != 0) {
                    codedOutputByteBufferNano.writeSInt64(6, this.currpl_);
                }
                if ((this.bitField0_ & 64) != 0) {
                    codedOutputByteBufferNano.writeSInt64(7, this.todaypl_);
                }
                if ((this.bitField0_ & 128) != 0) {
                    codedOutputByteBufferNano.writeUInt64(8, this.fundbalances_);
                }
                if ((this.bitField0_ & 256) != 0) {
                    codedOutputByteBufferNano.writeUInt64(9, this.usablebalances_);
                }
                if ((this.bitField0_ & 512) != 0) {
                    codedOutputByteBufferNano.writeUInt64(10, this.frozenbalances_);
                }
                if ((this.bitField0_ & 1024) != 0) {
                    codedOutputByteBufferNano.writeUInt64(11, this.startcpt_);
                }
                if ((this.bitField0_ & 2048) != 0) {
                    codedOutputByteBufferNano.writeUInt64(12, this.keepbalances_);
                }
                if ((this.bitField0_ & 4096) != 0) {
                    codedOutputByteBufferNano.writeUInt32(13, this.itvtdays_);
                }
                if ((this.bitField0_ & 8192) != 0) {
                    codedOutputByteBufferNano.writeSInt32(14, this.monthyield_);
                }
                if ((this.bitField0_ & 16384) != 0) {
                    codedOutputByteBufferNano.writeUInt32(15, this.glrankid_);
                }
                if ((this.bitField0_ & 32768) != 0) {
                    codedOutputByteBufferNano.writeUInt32(16, this.totalusers_);
                }
                super.writeTo(codedOutputByteBufferNano);
            }

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

            public FundAccountDetail 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.totalcpt_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 4;
                            break;
                        case 32:
                            this.totalmkt_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 8;
                            break;
                        case 40:
                            this.glyield_ = codedInputByteBufferNano.readSInt32();
                            this.bitField0_ |= 16;
                            break;
                        case 48:
                            this.currpl_ = codedInputByteBufferNano.readSInt64();
                            this.bitField0_ |= 32;
                            break;
                        case 56:
                            this.todaypl_ = codedInputByteBufferNano.readSInt64();
                            this.bitField0_ |= 64;
                            break;
                        case 64:
                            this.fundbalances_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 128;
                            break;
                        case 72:
                            this.usablebalances_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 256;
                            break;
                        case 80:
                            this.frozenbalances_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 512;
                            break;
                        case 88:
                            this.startcpt_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 1024;
                            break;
                        case 96:
                            this.keepbalances_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 2048;
                            break;
                        case 104:
                            this.itvtdays_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 4096;
                            break;
                        case 112:
                            this.monthyield_ = codedInputByteBufferNano.readSInt32();
                            this.bitField0_ |= 8192;
                            break;
                        case 120:
                            this.glrankid_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 16384;
                            break;
                        case 128:
                            this.totalusers_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 32768;
                            break;
                        default:
                            if (WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                                break;
                            } else {
                                return this;
                            }
                    }
                }
            }
        }

        public FundAccountDetails_Response() {
            clear();
        }

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

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

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

        /* access modifiers changed from: protected */
        public int computeSerializedSize() {
            int computeSerializedSize = super.computeSerializedSize();
            FundAccountDetailsRequest.FundAccountDetails_Request fundAccountDetails_Request = this.requestParam;
            if (fundAccountDetails_Request != null) {
                computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(1, fundAccountDetails_Request);
            }
            FundAccountDetail[] fundAccountDetailArr = this.responseInfo;
            if (fundAccountDetailArr != null && fundAccountDetailArr.length > 0) {
                int i10 = 0;
                while (true) {
                    FundAccountDetail[] fundAccountDetailArr2 = this.responseInfo;
                    if (i10 >= fundAccountDetailArr2.length) {
                        break;
                    }
                    FundAccountDetail fundAccountDetail = fundAccountDetailArr2[i10];
                    if (fundAccountDetail != null) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(2, fundAccountDetail);
                    }
                    i10++;
                }
            }
            return computeSerializedSize;
        }

        public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
            FundAccountDetailsRequest.FundAccountDetails_Request fundAccountDetails_Request = this.requestParam;
            if (fundAccountDetails_Request != null) {
                codedOutputByteBufferNano.writeMessage(1, fundAccountDetails_Request);
            }
            FundAccountDetail[] fundAccountDetailArr = this.responseInfo;
            if (fundAccountDetailArr != null && fundAccountDetailArr.length > 0) {
                int i10 = 0;
                while (true) {
                    FundAccountDetail[] fundAccountDetailArr2 = this.responseInfo;
                    if (i10 >= fundAccountDetailArr2.length) {
                        break;
                    }
                    FundAccountDetail fundAccountDetail = fundAccountDetailArr2[i10];
                    if (fundAccountDetail != null) {
                        codedOutputByteBufferNano.writeMessage(2, fundAccountDetail);
                    }
                    i10++;
                }
            }
            super.writeTo(codedOutputByteBufferNano);
        }

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

        public FundAccountDetails_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 FundAccountDetailsRequest.FundAccountDetails_Request();
                    }
                    codedInputByteBufferNano.readMessage(this.requestParam);
                } else if (readTag == 18) {
                    int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 18);
                    FundAccountDetail[] fundAccountDetailArr = this.responseInfo;
                    int length = fundAccountDetailArr == null ? 0 : fundAccountDetailArr.length;
                    int i10 = repeatedFieldArrayLength + length;
                    FundAccountDetail[] fundAccountDetailArr2 = new FundAccountDetail[i10];
                    if (length != 0) {
                        System.arraycopy(fundAccountDetailArr, 0, fundAccountDetailArr2, 0, length);
                    }
                    while (length < i10 - 1) {
                        FundAccountDetail fundAccountDetail = new FundAccountDetail();
                        fundAccountDetailArr2[length] = fundAccountDetail;
                        codedInputByteBufferNano.readMessage(fundAccountDetail);
                        codedInputByteBufferNano.readTag();
                        length++;
                    }
                    FundAccountDetail fundAccountDetail2 = new FundAccountDetail();
                    fundAccountDetailArr2[length] = fundAccountDetail2;
                    codedInputByteBufferNano.readMessage(fundAccountDetail2);
                    this.responseInfo = fundAccountDetailArr2;
                } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                    return this;
                }
            }
        }
    }
}
