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

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

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

        private static volatile MixHomeEx_Response[] _emptyArray;

        public AmtCmp amtCmp;

        public BSData bsData;

        public ValueData[] groups;

        public MixHomeExRequest.MixHomeEx_Request input;

        public NetCapitalFlow[] main;

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

            private static volatile AmtCmp[] _emptyArray;

            private int bitField0_;

            private long diff_;

            private int flag_;

            private String msg_;

            private long pre_;

            private int ratio_;

            public AmtCmp() {
                clear();
            }

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

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

            public AmtCmp clear() {
                this.bitField0_ = 0;
                this.pre_ = 0;
                this.diff_ = 0;
                this.ratio_ = 0;
                this.flag_ = 0;
                this.msg_ = "";
                this.cachedSize = -1;
                return this;
            }

            public AmtCmp clearDiff() {
                this.diff_ = 0;
                this.bitField0_ &= -3;
                return this;
            }

            public AmtCmp clearFlag() {
                this.flag_ = 0;
                this.bitField0_ &= -9;
                return this;
            }

            public AmtCmp clearMsg() {
                this.msg_ = "";
                this.bitField0_ &= -17;
                return this;
            }

            public AmtCmp clearPre() {
                this.pre_ = 0;
                this.bitField0_ &= -2;
                return this;
            }

            public AmtCmp clearRatio() {
                this.ratio_ = 0;
                this.bitField0_ &= -5;
                return this;
            }

            /* access modifiers changed from: protected */
            public int computeSerializedSize() {
                int computeSerializedSize = super.computeSerializedSize();
                if ((this.bitField0_ & 1) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt64Size(1, this.pre_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt64Size(2, this.diff_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(3, this.ratio_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(4, this.flag_);
                }
                if ((this.bitField0_ & 16) != 0) {
                    return computeSerializedSize + CodedOutputByteBufferNano.computeStringSize(5, this.msg_);
                }
                return computeSerializedSize;
            }

            public long getDiff() {
                return this.diff_;
            }

            public int getFlag() {
                return this.flag_;
            }

            public String getMsg() {
                return this.msg_;
            }

            public long getPre() {
                return this.pre_;
            }

            public int getRatio() {
                return this.ratio_;
            }

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

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

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

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

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

            public AmtCmp setDiff(long j10) {
                this.diff_ = j10;
                this.bitField0_ |= 2;
                return this;
            }

            public AmtCmp setFlag(int i10) {
                this.flag_ = i10;
                this.bitField0_ |= 8;
                return this;
            }

            public AmtCmp setMsg(String str) {
                str.getClass();
                this.msg_ = str;
                this.bitField0_ |= 16;
                return this;
            }

            public AmtCmp setPre(long j10) {
                this.pre_ = j10;
                this.bitField0_ |= 1;
                return this;
            }

            public AmtCmp setRatio(int i10) {
                this.ratio_ = i10;
                this.bitField0_ |= 4;
                return this;
            }

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                if ((this.bitField0_ & 1) != 0) {
                    codedOutputByteBufferNano.writeInt64(1, this.pre_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    codedOutputByteBufferNano.writeInt64(2, this.diff_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    codedOutputByteBufferNano.writeInt32(3, this.ratio_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    codedOutputByteBufferNano.writeInt32(4, this.flag_);
                }
                if ((this.bitField0_ & 16) != 0) {
                    codedOutputByteBufferNano.writeString(5, this.msg_);
                }
                super.writeTo(codedOutputByteBufferNano);
            }

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

            public AmtCmp mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    if (readTag == 0) {
                        return this;
                    }
                    if (readTag == 8) {
                        this.pre_ = codedInputByteBufferNano.readInt64();
                        this.bitField0_ |= 1;
                    } else if (readTag == 16) {
                        this.diff_ = codedInputByteBufferNano.readInt64();
                        this.bitField0_ |= 2;
                    } else if (readTag == 24) {
                        this.ratio_ = codedInputByteBufferNano.readInt32();
                        this.bitField0_ |= 4;
                    } else if (readTag == 32) {
                        this.flag_ = codedInputByteBufferNano.readInt32();
                        this.bitField0_ |= 8;
                    } else if (readTag == 42) {
                        this.msg_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 16;
                    } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                        return this;
                    }
                }
            }
        }

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

            private static volatile BSData[] _emptyArray;

            private int bitField0_;

            private long hashCodeB_;

            private int idxBs_;

            public int[] listCodeB;

            private int numCpxB_;

            private int numCpxCb_;

            private int numCpxCg_;

            private int numCpxS_;

            private int numFall_;

            private int numFlat_;

            private int numGrpB_;

            private int numRise_;

            private int scoreGz_;

            private int scoreQx_;

            private int tradeDate_;

            public BSData() {
                clear();
            }

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

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

            public BSData clear() {
                this.bitField0_ = 0;
                this.tradeDate_ = 0;
                this.scoreQx_ = 0;
                this.scoreGz_ = 0;
                this.idxBs_ = 0;
                this.numRise_ = 0;
                this.numFlat_ = 0;
                this.numFall_ = 0;
                this.numCpxB_ = 0;
                this.numCpxCg_ = 0;
                this.numCpxS_ = 0;
                this.numCpxCb_ = 0;
                this.numGrpB_ = 0;
                this.listCodeB = WireFormatNano.EMPTY_INT_ARRAY;
                this.hashCodeB_ = 0;
                this.cachedSize = -1;
                return this;
            }

            public BSData clearHashCodeB() {
                this.hashCodeB_ = 0;
                this.bitField0_ &= -4097;
                return this;
            }

            public BSData clearIdxBs() {
                this.idxBs_ = 0;
                this.bitField0_ &= -9;
                return this;
            }

            public BSData clearNumCpxB() {
                this.numCpxB_ = 0;
                this.bitField0_ &= -129;
                return this;
            }

            public BSData clearNumCpxCb() {
                this.numCpxCb_ = 0;
                this.bitField0_ &= -1025;
                return this;
            }

            public BSData clearNumCpxCg() {
                this.numCpxCg_ = 0;
                this.bitField0_ &= -257;
                return this;
            }

            public BSData clearNumCpxS() {
                this.numCpxS_ = 0;
                this.bitField0_ &= -513;
                return this;
            }

            public BSData clearNumFall() {
                this.numFall_ = 0;
                this.bitField0_ &= -65;
                return this;
            }

            public BSData clearNumFlat() {
                this.numFlat_ = 0;
                this.bitField0_ &= -33;
                return this;
            }

            public BSData clearNumGrpB() {
                this.numGrpB_ = 0;
                this.bitField0_ &= -2049;
                return this;
            }

            public BSData clearNumRise() {
                this.numRise_ = 0;
                this.bitField0_ &= -17;
                return this;
            }

            public BSData clearScoreGz() {
                this.scoreGz_ = 0;
                this.bitField0_ &= -5;
                return this;
            }

            public BSData clearScoreQx() {
                this.scoreQx_ = 0;
                this.bitField0_ &= -3;
                return this;
            }

            public BSData clearTradeDate() {
                this.tradeDate_ = 0;
                this.bitField0_ &= -2;
                return this;
            }

            /* access modifiers changed from: protected */
            public int computeSerializedSize() {
                int[] iArr;
                int computeSerializedSize = super.computeSerializedSize();
                if ((this.bitField0_ & 1) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(1, this.tradeDate_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(2, this.scoreQx_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(3, this.scoreGz_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(4, this.idxBs_);
                }
                if ((this.bitField0_ & 16) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(5, this.numRise_);
                }
                if ((this.bitField0_ & 32) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(6, this.numFlat_);
                }
                if ((this.bitField0_ & 64) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(7, this.numFall_);
                }
                if ((this.bitField0_ & 128) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(8, this.numCpxB_);
                }
                if ((this.bitField0_ & 256) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(9, this.numCpxCg_);
                }
                if ((this.bitField0_ & 512) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(10, this.numCpxS_);
                }
                if ((this.bitField0_ & 1024) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(11, this.numCpxCb_);
                }
                if ((this.bitField0_ & 2048) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(12, this.numGrpB_);
                }
                int[] iArr2 = this.listCodeB;
                if (iArr2 != null && iArr2.length > 0) {
                    int i10 = 0;
                    int i11 = 0;
                    while (true) {
                        iArr = this.listCodeB;
                        if (i10 >= iArr.length) {
                            break;
                        }
                        i11 += CodedOutputByteBufferNano.computeUInt32SizeNoTag(iArr[i10]);
                        i10++;
                    }
                    computeSerializedSize = computeSerializedSize + i11 + iArr.length;
                }
                if ((this.bitField0_ & 4096) != 0) {
                    return computeSerializedSize + CodedOutputByteBufferNano.computeUInt64Size(14, this.hashCodeB_);
                }
                return computeSerializedSize;
            }

            public long getHashCodeB() {
                return this.hashCodeB_;
            }

            public int getIdxBs() {
                return this.idxBs_;
            }

            public int getNumCpxB() {
                return this.numCpxB_;
            }

            public int getNumCpxCb() {
                return this.numCpxCb_;
            }

            public int getNumCpxCg() {
                return this.numCpxCg_;
            }

            public int getNumCpxS() {
                return this.numCpxS_;
            }

            public int getNumFall() {
                return this.numFall_;
            }

            public int getNumFlat() {
                return this.numFlat_;
            }

            public int getNumGrpB() {
                return this.numGrpB_;
            }

            public int getNumRise() {
                return this.numRise_;
            }

            public int getScoreGz() {
                return this.scoreGz_;
            }

            public int getScoreQx() {
                return this.scoreQx_;
            }

            public int getTradeDate() {
                return this.tradeDate_;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

            public BSData setHashCodeB(long j10) {
                this.hashCodeB_ = j10;
                this.bitField0_ |= 4096;
                return this;
            }

            public BSData setIdxBs(int i10) {
                this.idxBs_ = i10;
                this.bitField0_ |= 8;
                return this;
            }

            public BSData setNumCpxB(int i10) {
                this.numCpxB_ = i10;
                this.bitField0_ |= 128;
                return this;
            }

            public BSData setNumCpxCb(int i10) {
                this.numCpxCb_ = i10;
                this.bitField0_ |= 1024;
                return this;
            }

            public BSData setNumCpxCg(int i10) {
                this.numCpxCg_ = i10;
                this.bitField0_ |= 256;
                return this;
            }

            public BSData setNumCpxS(int i10) {
                this.numCpxS_ = i10;
                this.bitField0_ |= 512;
                return this;
            }

            public BSData setNumFall(int i10) {
                this.numFall_ = i10;
                this.bitField0_ |= 64;
                return this;
            }

            public BSData setNumFlat(int i10) {
                this.numFlat_ = i10;
                this.bitField0_ |= 32;
                return this;
            }

            public BSData setNumGrpB(int i10) {
                this.numGrpB_ = i10;
                this.bitField0_ |= 2048;
                return this;
            }

            public BSData setNumRise(int i10) {
                this.numRise_ = i10;
                this.bitField0_ |= 16;
                return this;
            }

            public BSData setScoreGz(int i10) {
                this.scoreGz_ = i10;
                this.bitField0_ |= 4;
                return this;
            }

            public BSData setScoreQx(int i10) {
                this.scoreQx_ = i10;
                this.bitField0_ |= 2;
                return this;
            }

            public BSData setTradeDate(int i10) {
                this.tradeDate_ = i10;
                this.bitField0_ |= 1;
                return this;
            }

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                if ((this.bitField0_ & 1) != 0) {
                    codedOutputByteBufferNano.writeUInt32(1, this.tradeDate_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    codedOutputByteBufferNano.writeInt32(2, this.scoreQx_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    codedOutputByteBufferNano.writeInt32(3, this.scoreGz_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    codedOutputByteBufferNano.writeInt32(4, this.idxBs_);
                }
                if ((this.bitField0_ & 16) != 0) {
                    codedOutputByteBufferNano.writeInt32(5, this.numRise_);
                }
                if ((this.bitField0_ & 32) != 0) {
                    codedOutputByteBufferNano.writeInt32(6, this.numFlat_);
                }
                if ((this.bitField0_ & 64) != 0) {
                    codedOutputByteBufferNano.writeInt32(7, this.numFall_);
                }
                if ((this.bitField0_ & 128) != 0) {
                    codedOutputByteBufferNano.writeInt32(8, this.numCpxB_);
                }
                if ((this.bitField0_ & 256) != 0) {
                    codedOutputByteBufferNano.writeInt32(9, this.numCpxCg_);
                }
                if ((this.bitField0_ & 512) != 0) {
                    codedOutputByteBufferNano.writeInt32(10, this.numCpxS_);
                }
                if ((this.bitField0_ & 1024) != 0) {
                    codedOutputByteBufferNano.writeInt32(11, this.numCpxCb_);
                }
                if ((this.bitField0_ & 2048) != 0) {
                    codedOutputByteBufferNano.writeInt32(12, this.numGrpB_);
                }
                int[] iArr = this.listCodeB;
                if (iArr != null && iArr.length > 0) {
                    int i10 = 0;
                    while (true) {
                        int[] iArr2 = this.listCodeB;
                        if (i10 >= iArr2.length) {
                            break;
                        }
                        codedOutputByteBufferNano.writeUInt32(13, iArr2[i10]);
                        i10++;
                    }
                }
                if ((this.bitField0_ & 4096) != 0) {
                    codedOutputByteBufferNano.writeUInt64(14, this.hashCodeB_);
                }
                super.writeTo(codedOutputByteBufferNano);
            }

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

            public BSData mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    switch(readTag) {
                        case 0:
                            return this;
                        case 8:
                            this.tradeDate_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 1;
                            break;
                        case 16:
                            this.scoreQx_ = codedInputByteBufferNano.readInt32();
                            this.bitField0_ |= 2;
                            break;
                        case 24:
                            this.scoreGz_ = codedInputByteBufferNano.readInt32();
                            this.bitField0_ |= 4;
                            break;
                        case 32:
                            this.idxBs_ = codedInputByteBufferNano.readInt32();
                            this.bitField0_ |= 8;
                            break;
                        case 40:
                            this.numRise_ = codedInputByteBufferNano.readInt32();
                            this.bitField0_ |= 16;
                            break;
                        case 48:
                            this.numFlat_ = codedInputByteBufferNano.readInt32();
                            this.bitField0_ |= 32;
                            break;
                        case 56:
                            this.numFall_ = codedInputByteBufferNano.readInt32();
                            this.bitField0_ |= 64;
                            break;
                        case 64:
                            this.numCpxB_ = codedInputByteBufferNano.readInt32();
                            this.bitField0_ |= 128;
                            break;
                        case 72:
                            this.numCpxCg_ = codedInputByteBufferNano.readInt32();
                            this.bitField0_ |= 256;
                            break;
                        case 80:
                            this.numCpxS_ = codedInputByteBufferNano.readInt32();
                            this.bitField0_ |= 512;
                            break;
                        case 88:
                            this.numCpxCb_ = codedInputByteBufferNano.readInt32();
                            this.bitField0_ |= 1024;
                            break;
                        case 96:
                            this.numGrpB_ = codedInputByteBufferNano.readInt32();
                            this.bitField0_ |= 2048;
                            break;
                        case 104:
                            int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 104);
                            int[] iArr = this.listCodeB;
                            int length = iArr == null ? 0 : iArr.length;
                            int i10 = repeatedFieldArrayLength + length;
                            int[] iArr2 = new int[i10];
                            if (length != 0) {
                                System.arraycopy(iArr, 0, iArr2, 0, length);
                            }
                            while (length < i10 - 1) {
                                iArr2[length] = codedInputByteBufferNano.readUInt32();
                                codedInputByteBufferNano.readTag();
                                length++;
                            }
                            iArr2[length] = codedInputByteBufferNano.readUInt32();
                            this.listCodeB = iArr2;
                            break;
                        case 106:
                            int pushLimit = codedInputByteBufferNano.pushLimit(codedInputByteBufferNano.readRawVarint32());
                            int position = codedInputByteBufferNano.getPosition();
                            int i11 = 0;
                            while (codedInputByteBufferNano.getBytesUntilLimit() > 0) {
                                codedInputByteBufferNano.readUInt32();
                                i11++;
                            }
                            codedInputByteBufferNano.rewindToPosition(position);
                            int[] iArr3 = this.listCodeB;
                            int length2 = iArr3 == null ? 0 : iArr3.length;
                            int i12 = i11 + length2;
                            int[] iArr4 = new int[i12];
                            if (length2 != 0) {
                                System.arraycopy(iArr3, 0, iArr4, 0, length2);
                            }
                            while (length2 < i12) {
                                iArr4[length2] = codedInputByteBufferNano.readUInt32();
                                length2++;
                            }
                            this.listCodeB = iArr4;
                            codedInputByteBufferNano.popLimit(pushLimit);
                            break;
                        case 112:
                            this.hashCodeB_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 4096;
                            break;
                        default:
                            if (WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                                break;
                            } else {
                                return this;
                            }
                    }
                }
            }
        }

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

            private static volatile HisVal[] _emptyArray;

            private int bitField0_;

            private int date_;

            private long val_;

            public HisVal() {
                clear();
            }

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

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

            public HisVal clear() {
                this.bitField0_ = 0;
                this.date_ = 0;
                this.val_ = 0;
                this.cachedSize = -1;
                return this;
            }

            public HisVal clearDate() {
                this.date_ = 0;
                this.bitField0_ &= -2;
                return this;
            }

            public HisVal clearVal() {
                this.val_ = 0;
                this.bitField0_ &= -3;
                return this;
            }

            /* access modifiers changed from: protected */
            public int computeSerializedSize() {
                int computeSerializedSize = super.computeSerializedSize();
                if ((this.bitField0_ & 1) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeFixed32Size(1, this.date_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    return computeSerializedSize + CodedOutputByteBufferNano.computeInt64Size(2, this.val_);
                }
                return computeSerializedSize;
            }

            public int getDate() {
                return this.date_;
            }

            public long getVal() {
                return this.val_;
            }

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

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

            public HisVal setDate(int i10) {
                this.date_ = i10;
                this.bitField0_ |= 1;
                return this;
            }

            public HisVal setVal(long j10) {
                this.val_ = j10;
                this.bitField0_ |= 2;
                return this;
            }

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                if ((this.bitField0_ & 1) != 0) {
                    codedOutputByteBufferNano.writeFixed32(1, this.date_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    codedOutputByteBufferNano.writeInt64(2, this.val_);
                }
                super.writeTo(codedOutputByteBufferNano);
            }

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

            public HisVal mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    if (readTag == 0) {
                        return this;
                    }
                    if (readTag == 13) {
                        this.date_ = codedInputByteBufferNano.readFixed32();
                        this.bitField0_ |= 1;
                    } else if (readTag == 16) {
                        this.val_ = codedInputByteBufferNano.readInt64();
                        this.bitField0_ |= 2;
                    } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                        return this;
                    }
                }
            }
        }

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

            private static volatile NetCapitalFlow[] _emptyArray;

            private int bitField0_;

            private int color_;

            public HisVal[] hisval;

            private String key_;

            private String msg_;

            private String name_;

            private String url_;

            private String val_;

            public NetCapitalFlow() {
                clear();
            }

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

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

            public NetCapitalFlow clear() {
                this.bitField0_ = 0;
                this.val_ = "";
                this.name_ = "";
                this.msg_ = "";
                this.url_ = "";
                this.color_ = 0;
                this.hisval = HisVal.emptyArray();
                this.key_ = "";
                this.cachedSize = -1;
                return this;
            }

            public NetCapitalFlow clearColor() {
                this.color_ = 0;
                this.bitField0_ &= -17;
                return this;
            }

            public NetCapitalFlow clearKey() {
                this.key_ = "";
                this.bitField0_ &= -33;
                return this;
            }

            public NetCapitalFlow clearMsg() {
                this.msg_ = "";
                this.bitField0_ &= -5;
                return this;
            }

            public NetCapitalFlow clearName() {
                this.name_ = "";
                this.bitField0_ &= -3;
                return this;
            }

            public NetCapitalFlow clearUrl() {
                this.url_ = "";
                this.bitField0_ &= -9;
                return this;
            }

            public NetCapitalFlow clearVal() {
                this.val_ = "";
                this.bitField0_ &= -2;
                return this;
            }

            /* access modifiers changed from: protected */
            public int computeSerializedSize() {
                int computeSerializedSize = super.computeSerializedSize();
                if ((this.bitField0_ & 1) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(1, this.val_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(2, this.name_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(3, this.msg_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(4, this.url_);
                }
                if ((this.bitField0_ & 16) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(5, this.color_);
                }
                HisVal[] hisValArr = this.hisval;
                if (hisValArr != null && hisValArr.length > 0) {
                    int i10 = 0;
                    while (true) {
                        HisVal[] hisValArr2 = this.hisval;
                        if (i10 >= hisValArr2.length) {
                            break;
                        }
                        HisVal hisVal = hisValArr2[i10];
                        if (hisVal != null) {
                            computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(6, hisVal);
                        }
                        i10++;
                    }
                }
                if ((this.bitField0_ & 32) != 0) {
                    return computeSerializedSize + CodedOutputByteBufferNano.computeStringSize(7, this.key_);
                }
                return computeSerializedSize;
            }

            public int getColor() {
                return this.color_;
            }

            public String getKey() {
                return this.key_;
            }

            public String getMsg() {
                return this.msg_;
            }

            public String getName() {
                return this.name_;
            }

            public String getUrl() {
                return this.url_;
            }

            public String getVal() {
                return this.val_;
            }

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

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

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

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

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

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

            public NetCapitalFlow setColor(int i10) {
                this.color_ = i10;
                this.bitField0_ |= 16;
                return this;
            }

            public NetCapitalFlow setKey(String str) {
                str.getClass();
                this.key_ = str;
                this.bitField0_ |= 32;
                return this;
            }

            public NetCapitalFlow setMsg(String str) {
                str.getClass();
                this.msg_ = str;
                this.bitField0_ |= 4;
                return this;
            }

            public NetCapitalFlow setName(String str) {
                str.getClass();
                this.name_ = str;
                this.bitField0_ |= 2;
                return this;
            }

            public NetCapitalFlow setUrl(String str) {
                str.getClass();
                this.url_ = str;
                this.bitField0_ |= 8;
                return this;
            }

            public NetCapitalFlow setVal(String str) {
                str.getClass();
                this.val_ = str;
                this.bitField0_ |= 1;
                return this;
            }

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                if ((this.bitField0_ & 1) != 0) {
                    codedOutputByteBufferNano.writeString(1, this.val_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    codedOutputByteBufferNano.writeString(2, this.name_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    codedOutputByteBufferNano.writeString(3, this.msg_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    codedOutputByteBufferNano.writeString(4, this.url_);
                }
                if ((this.bitField0_ & 16) != 0) {
                    codedOutputByteBufferNano.writeInt32(5, this.color_);
                }
                HisVal[] hisValArr = this.hisval;
                if (hisValArr != null && hisValArr.length > 0) {
                    int i10 = 0;
                    while (true) {
                        HisVal[] hisValArr2 = this.hisval;
                        if (i10 >= hisValArr2.length) {
                            break;
                        }
                        HisVal hisVal = hisValArr2[i10];
                        if (hisVal != null) {
                            codedOutputByteBufferNano.writeMessage(6, hisVal);
                        }
                        i10++;
                    }
                }
                if ((this.bitField0_ & 32) != 0) {
                    codedOutputByteBufferNano.writeString(7, this.key_);
                }
                super.writeTo(codedOutputByteBufferNano);
            }

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

            public NetCapitalFlow mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    if (readTag == 0) {
                        return this;
                    }
                    if (readTag == 10) {
                        this.val_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 1;
                    } else if (readTag == 18) {
                        this.name_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 2;
                    } else if (readTag == 26) {
                        this.msg_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 4;
                    } else if (readTag == 34) {
                        this.url_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 8;
                    } else if (readTag == 40) {
                        this.color_ = codedInputByteBufferNano.readInt32();
                        this.bitField0_ |= 16;
                    } else if (readTag == 50) {
                        int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 50);
                        HisVal[] hisValArr = this.hisval;
                        int length = hisValArr == null ? 0 : hisValArr.length;
                        int i10 = repeatedFieldArrayLength + length;
                        HisVal[] hisValArr2 = new HisVal[i10];
                        if (length != 0) {
                            System.arraycopy(hisValArr, 0, hisValArr2, 0, length);
                        }
                        while (length < i10 - 1) {
                            HisVal hisVal = new HisVal();
                            hisValArr2[length] = hisVal;
                            codedInputByteBufferNano.readMessage(hisVal);
                            codedInputByteBufferNano.readTag();
                            length++;
                        }
                        HisVal hisVal2 = new HisVal();
                        hisValArr2[length] = hisVal2;
                        codedInputByteBufferNano.readMessage(hisVal2);
                        this.hisval = hisValArr2;
                    } else if (readTag == 58) {
                        this.key_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 32;
                    } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                        return this;
                    }
                }
            }
        }

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

            private static volatile ValueData[] _emptyArray;

            private int bitField0_;

            private long category_;

            private int exchange_;

            public id_val[] fieldValue;

            private int goodsId_;

            private int tradeSession_;

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

                private static volatile id_val[] _emptyArray;

                private int bitField0_;

                private int id_;

                private String val_;

                public id_val() {
                    clear();
                }

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

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

                public id_val clear() {
                    this.bitField0_ = 0;
                    this.id_ = 0;
                    this.val_ = "";
                    this.cachedSize = -1;
                    return this;
                }

                public id_val clearId() {
                    this.id_ = 0;
                    this.bitField0_ &= -2;
                    return this;
                }

                public id_val clearVal() {
                    this.val_ = "";
                    this.bitField0_ &= -3;
                    return this;
                }

                /* access modifiers changed from: protected */
                public int computeSerializedSize() {
                    int computeSerializedSize = super.computeSerializedSize();
                    if ((this.bitField0_ & 1) != 0) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(1, this.id_);
                    }
                    if ((this.bitField0_ & 2) != 0) {
                        return computeSerializedSize + CodedOutputByteBufferNano.computeStringSize(2, this.val_);
                    }
                    return computeSerializedSize;
                }

                public int getId() {
                    return this.id_;
                }

                public String getVal() {
                    return this.val_;
                }

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

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

                public id_val setId(int i10) {
                    this.id_ = i10;
                    this.bitField0_ |= 1;
                    return this;
                }

                public id_val setVal(String str) {
                    str.getClass();
                    this.val_ = str;
                    this.bitField0_ |= 2;
                    return this;
                }

                public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                    if ((this.bitField0_ & 1) != 0) {
                        codedOutputByteBufferNano.writeInt32(1, this.id_);
                    }
                    if ((this.bitField0_ & 2) != 0) {
                        codedOutputByteBufferNano.writeString(2, this.val_);
                    }
                    super.writeTo(codedOutputByteBufferNano);
                }

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

                public id_val mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                    while (true) {
                        int readTag = codedInputByteBufferNano.readTag();
                        if (readTag == 0) {
                            return this;
                        }
                        if (readTag == 8) {
                            this.id_ = codedInputByteBufferNano.readInt32();
                            this.bitField0_ |= 1;
                        } else if (readTag == 18) {
                            this.val_ = codedInputByteBufferNano.readString();
                            this.bitField0_ |= 2;
                        } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                            return this;
                        }
                    }
                }
            }

            public ValueData() {
                clear();
            }

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

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

            public ValueData clear() {
                this.bitField0_ = 0;
                this.goodsId_ = 0;
                this.fieldValue = id_val.emptyArray();
                this.exchange_ = 0;
                this.category_ = 0;
                this.tradeSession_ = 0;
                this.cachedSize = -1;
                return this;
            }

            public ValueData clearCategory() {
                this.category_ = 0;
                this.bitField0_ &= -5;
                return this;
            }

            public ValueData clearExchange() {
                this.exchange_ = 0;
                this.bitField0_ &= -3;
                return this;
            }

            public ValueData clearGoodsId() {
                this.goodsId_ = 0;
                this.bitField0_ &= -2;
                return this;
            }

            public ValueData clearTradeSession() {
                this.tradeSession_ = 0;
                this.bitField0_ &= -9;
                return this;
            }

            /* access modifiers changed from: protected */
            public int computeSerializedSize() {
                int computeSerializedSize = super.computeSerializedSize();
                if ((this.bitField0_ & 1) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(1, this.goodsId_);
                }
                id_val[] id_valArr = this.fieldValue;
                if (id_valArr != null && id_valArr.length > 0) {
                    int i10 = 0;
                    while (true) {
                        id_val[] id_valArr2 = this.fieldValue;
                        if (i10 >= id_valArr2.length) {
                            break;
                        }
                        id_val id_val2 = id_valArr2[i10];
                        if (id_val2 != null) {
                            computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(2, id_val2);
                        }
                        i10++;
                    }
                }
                if ((this.bitField0_ & 2) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(3, this.exchange_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(4, this.category_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    return computeSerializedSize + CodedOutputByteBufferNano.computeUInt32Size(5, this.tradeSession_);
                }
                return computeSerializedSize;
            }

            public long getCategory() {
                return this.category_;
            }

            public int getExchange() {
                return this.exchange_;
            }

            public int getGoodsId() {
                return this.goodsId_;
            }

            public int getTradeSession() {
                return this.tradeSession_;
            }

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

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

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

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

            public ValueData setCategory(long j10) {
                this.category_ = j10;
                this.bitField0_ |= 4;
                return this;
            }

            public ValueData setExchange(int i10) {
                this.exchange_ = i10;
                this.bitField0_ |= 2;
                return this;
            }

            public ValueData setGoodsId(int i10) {
                this.goodsId_ = i10;
                this.bitField0_ |= 1;
                return this;
            }

            public ValueData setTradeSession(int i10) {
                this.tradeSession_ = i10;
                this.bitField0_ |= 8;
                return this;
            }

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                if ((this.bitField0_ & 1) != 0) {
                    codedOutputByteBufferNano.writeUInt32(1, this.goodsId_);
                }
                id_val[] id_valArr = this.fieldValue;
                if (id_valArr != null && id_valArr.length > 0) {
                    int i10 = 0;
                    while (true) {
                        id_val[] id_valArr2 = this.fieldValue;
                        if (i10 >= id_valArr2.length) {
                            break;
                        }
                        id_val id_val2 = id_valArr2[i10];
                        if (id_val2 != null) {
                            codedOutputByteBufferNano.writeMessage(2, id_val2);
                        }
                        i10++;
                    }
                }
                if ((this.bitField0_ & 2) != 0) {
                    codedOutputByteBufferNano.writeUInt32(3, this.exchange_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    codedOutputByteBufferNano.writeUInt64(4, this.category_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    codedOutputByteBufferNano.writeUInt32(5, this.tradeSession_);
                }
                super.writeTo(codedOutputByteBufferNano);
            }

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

            public ValueData mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    if (readTag == 0) {
                        return this;
                    }
                    if (readTag == 8) {
                        this.goodsId_ = codedInputByteBufferNano.readUInt32();
                        this.bitField0_ |= 1;
                    } else if (readTag == 18) {
                        int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 18);
                        id_val[] id_valArr = this.fieldValue;
                        int length = id_valArr == null ? 0 : id_valArr.length;
                        int i10 = repeatedFieldArrayLength + length;
                        id_val[] id_valArr2 = new id_val[i10];
                        if (length != 0) {
                            System.arraycopy(id_valArr, 0, id_valArr2, 0, length);
                        }
                        while (length < i10 - 1) {
                            id_val id_val2 = new id_val();
                            id_valArr2[length] = id_val2;
                            codedInputByteBufferNano.readMessage(id_val2);
                            codedInputByteBufferNano.readTag();
                            length++;
                        }
                        id_val id_val3 = new id_val();
                        id_valArr2[length] = id_val3;
                        codedInputByteBufferNano.readMessage(id_val3);
                        this.fieldValue = id_valArr2;
                    } else if (readTag == 24) {
                        this.exchange_ = codedInputByteBufferNano.readUInt32();
                        this.bitField0_ |= 2;
                    } else if (readTag == 32) {
                        this.category_ = codedInputByteBufferNano.readUInt64();
                        this.bitField0_ |= 4;
                    } else if (readTag == 40) {
                        this.tradeSession_ = codedInputByteBufferNano.readUInt32();
                        this.bitField0_ |= 8;
                    } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                        return this;
                    }
                }
            }
        }

        public MixHomeEx_Response() {
            clear();
        }

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

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

        public MixHomeEx_Response clear() {
            this.input = null;
            this.groups = ValueData.emptyArray();
            this.main = NetCapitalFlow.emptyArray();
            this.bsData = null;
            this.amtCmp = null;
            this.cachedSize = -1;
            return this;
        }

        /* access modifiers changed from: protected */
        public int computeSerializedSize() {
            int computeSerializedSize = super.computeSerializedSize();
            MixHomeExRequest.MixHomeEx_Request mixHomeEx_Request = this.input;
            if (mixHomeEx_Request != null) {
                computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(1, mixHomeEx_Request);
            }
            ValueData[] valueDataArr = this.groups;
            int i10 = 0;
            if (valueDataArr != null && valueDataArr.length > 0) {
                int i11 = 0;
                while (true) {
                    ValueData[] valueDataArr2 = this.groups;
                    if (i11 >= valueDataArr2.length) {
                        break;
                    }
                    ValueData valueData = valueDataArr2[i11];
                    if (valueData != null) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(2, valueData);
                    }
                    i11++;
                }
            }
            NetCapitalFlow[] netCapitalFlowArr = this.main;
            if (netCapitalFlowArr != null && netCapitalFlowArr.length > 0) {
                while (true) {
                    NetCapitalFlow[] netCapitalFlowArr2 = this.main;
                    if (i10 >= netCapitalFlowArr2.length) {
                        break;
                    }
                    NetCapitalFlow netCapitalFlow = netCapitalFlowArr2[i10];
                    if (netCapitalFlow != null) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(3, netCapitalFlow);
                    }
                    i10++;
                }
            }
            BSData bSData = this.bsData;
            if (bSData != null) {
                computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(4, bSData);
            }
            AmtCmp amtCmp2 = this.amtCmp;
            if (amtCmp2 != null) {
                return computeSerializedSize + CodedOutputByteBufferNano.computeMessageSize(5, amtCmp2);
            }
            return computeSerializedSize;
        }

        public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
            MixHomeExRequest.MixHomeEx_Request mixHomeEx_Request = this.input;
            if (mixHomeEx_Request != null) {
                codedOutputByteBufferNano.writeMessage(1, mixHomeEx_Request);
            }
            ValueData[] valueDataArr = this.groups;
            int i10 = 0;
            if (valueDataArr != null && valueDataArr.length > 0) {
                int i11 = 0;
                while (true) {
                    ValueData[] valueDataArr2 = this.groups;
                    if (i11 >= valueDataArr2.length) {
                        break;
                    }
                    ValueData valueData = valueDataArr2[i11];
                    if (valueData != null) {
                        codedOutputByteBufferNano.writeMessage(2, valueData);
                    }
                    i11++;
                }
            }
            NetCapitalFlow[] netCapitalFlowArr = this.main;
            if (netCapitalFlowArr != null && netCapitalFlowArr.length > 0) {
                while (true) {
                    NetCapitalFlow[] netCapitalFlowArr2 = this.main;
                    if (i10 >= netCapitalFlowArr2.length) {
                        break;
                    }
                    NetCapitalFlow netCapitalFlow = netCapitalFlowArr2[i10];
                    if (netCapitalFlow != null) {
                        codedOutputByteBufferNano.writeMessage(3, netCapitalFlow);
                    }
                    i10++;
                }
            }
            BSData bSData = this.bsData;
            if (bSData != null) {
                codedOutputByteBufferNano.writeMessage(4, bSData);
            }
            AmtCmp amtCmp2 = this.amtCmp;
            if (amtCmp2 != null) {
                codedOutputByteBufferNano.writeMessage(5, amtCmp2);
            }
            super.writeTo(codedOutputByteBufferNano);
        }

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

        public MixHomeEx_Response mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
            while (true) {
                int readTag = codedInputByteBufferNano.readTag();
                if (readTag == 0) {
                    return this;
                }
                if (readTag == 10) {
                    if (this.input == null) {
                        this.input = new MixHomeExRequest.MixHomeEx_Request();
                    }
                    codedInputByteBufferNano.readMessage(this.input);
                } else if (readTag == 18) {
                    int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 18);
                    ValueData[] valueDataArr = this.groups;
                    int length = valueDataArr == null ? 0 : valueDataArr.length;
                    int i10 = repeatedFieldArrayLength + length;
                    ValueData[] valueDataArr2 = new ValueData[i10];
                    if (length != 0) {
                        System.arraycopy(valueDataArr, 0, valueDataArr2, 0, length);
                    }
                    while (length < i10 - 1) {
                        ValueData valueData = new ValueData();
                        valueDataArr2[length] = valueData;
                        codedInputByteBufferNano.readMessage(valueData);
                        codedInputByteBufferNano.readTag();
                        length++;
                    }
                    ValueData valueData2 = new ValueData();
                    valueDataArr2[length] = valueData2;
                    codedInputByteBufferNano.readMessage(valueData2);
                    this.groups = valueDataArr2;
                } else if (readTag == 26) {
                    int repeatedFieldArrayLength2 = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 26);
                    NetCapitalFlow[] netCapitalFlowArr = this.main;
                    int length2 = netCapitalFlowArr == null ? 0 : netCapitalFlowArr.length;
                    int i11 = repeatedFieldArrayLength2 + length2;
                    NetCapitalFlow[] netCapitalFlowArr2 = new NetCapitalFlow[i11];
                    if (length2 != 0) {
                        System.arraycopy(netCapitalFlowArr, 0, netCapitalFlowArr2, 0, length2);
                    }
                    while (length2 < i11 - 1) {
                        NetCapitalFlow netCapitalFlow = new NetCapitalFlow();
                        netCapitalFlowArr2[length2] = netCapitalFlow;
                        codedInputByteBufferNano.readMessage(netCapitalFlow);
                        codedInputByteBufferNano.readTag();
                        length2++;
                    }
                    NetCapitalFlow netCapitalFlow2 = new NetCapitalFlow();
                    netCapitalFlowArr2[length2] = netCapitalFlow2;
                    codedInputByteBufferNano.readMessage(netCapitalFlow2);
                    this.main = netCapitalFlowArr2;
                } else if (readTag == 34) {
                    if (this.bsData == null) {
                        this.bsData = new BSData();
                    }
                    codedInputByteBufferNano.readMessage(this.bsData);
                } else if (readTag == 42) {
                    if (this.amtCmp == null) {
                        this.amtCmp = new AmtCmp();
                    }
                    codedInputByteBufferNano.readMessage(this.amtCmp);
                } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                    return this;
                }
            }
        }
    }
}
