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

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

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

        private static volatile BoardAttack_Response[] _emptyArray;

        private int bitField0_;

        public BoardDetail[] inflowBoard;

        public BoardAttackRequest.BoardAttack_Request inputParam;

        public BoardDetail[] outflowBoard;

        private int sectionSize_;

        private int tradeDate_;

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

            private static volatile BoardDetail[] _emptyArray;

            private long amount_;

            private int bitField0_;

            public dynainfo board;

            private int change_;

            public dynainfo outstanding;

            public dynainfo[] stocks;

            private String text_;

            private int time_;

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

                private static volatile dynainfo[] _emptyArray;

                private int bitField0_;

                private long category_;

                private int change_;

                private String code_;

                private int exchange_;

                private int id_;

                private String name_;

                private int ratio_;

                private int session_;

                public dynainfo() {
                    clear();
                }

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

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

                public dynainfo clear() {
                    this.bitField0_ = 0;
                    this.id_ = 0;
                    this.name_ = "";
                    this.code_ = "";
                    this.exchange_ = 0;
                    this.category_ = 0;
                    this.session_ = 0;
                    this.change_ = 0;
                    this.ratio_ = 0;
                    this.cachedSize = -1;
                    return this;
                }

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

                public dynainfo clearChange() {
                    this.change_ = 0;
                    this.bitField0_ &= -65;
                    return this;
                }

                public dynainfo clearCode() {
                    this.code_ = "";
                    this.bitField0_ &= -5;
                    return this;
                }

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

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

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

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

                public dynainfo clearSession() {
                    this.session_ = 0;
                    this.bitField0_ &= -33;
                    return this;
                }

                /* access modifiers changed from: protected */
                public int computeSerializedSize() {
                    int computeSerializedSize = super.computeSerializedSize();
                    if ((this.bitField0_ & 1) != 0) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(1, this.id_);
                    }
                    if ((this.bitField0_ & 2) != 0) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(2, this.name_);
                    }
                    if ((this.bitField0_ & 4) != 0) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(3, this.code_);
                    }
                    if ((this.bitField0_ & 8) != 0) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(4, this.exchange_);
                    }
                    if ((this.bitField0_ & 16) != 0) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(5, this.category_);
                    }
                    if ((this.bitField0_ & 32) != 0) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(6, this.session_);
                    }
                    if ((this.bitField0_ & 64) != 0) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeSInt32Size(7, this.change_);
                    }
                    if ((this.bitField0_ & 128) != 0) {
                        return computeSerializedSize + CodedOutputByteBufferNano.computeSInt32Size(8, this.ratio_);
                    }
                    return computeSerializedSize;
                }

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

                public int getChange() {
                    return this.change_;
                }

                public String getCode() {
                    return this.code_;
                }

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

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

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

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

                public int getSession() {
                    return this.session_;
                }

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

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

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

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

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

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

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

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

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

                public dynainfo setChange(int i10) {
                    this.change_ = i10;
                    this.bitField0_ |= 64;
                    return this;
                }

                public dynainfo setCode(String str) {
                    str.getClass();
                    this.code_ = str;
                    this.bitField0_ |= 4;
                    return this;
                }

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

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

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

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

                public dynainfo setSession(int i10) {
                    this.session_ = i10;
                    this.bitField0_ |= 32;
                    return this;
                }

                public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                    if ((this.bitField0_ & 1) != 0) {
                        codedOutputByteBufferNano.writeUInt32(1, this.id_);
                    }
                    if ((this.bitField0_ & 2) != 0) {
                        codedOutputByteBufferNano.writeString(2, this.name_);
                    }
                    if ((this.bitField0_ & 4) != 0) {
                        codedOutputByteBufferNano.writeString(3, this.code_);
                    }
                    if ((this.bitField0_ & 8) != 0) {
                        codedOutputByteBufferNano.writeUInt32(4, this.exchange_);
                    }
                    if ((this.bitField0_ & 16) != 0) {
                        codedOutputByteBufferNano.writeUInt64(5, this.category_);
                    }
                    if ((this.bitField0_ & 32) != 0) {
                        codedOutputByteBufferNano.writeUInt32(6, this.session_);
                    }
                    if ((this.bitField0_ & 64) != 0) {
                        codedOutputByteBufferNano.writeSInt32(7, this.change_);
                    }
                    if ((this.bitField0_ & 128) != 0) {
                        codedOutputByteBufferNano.writeSInt32(8, this.ratio_);
                    }
                    super.writeTo(codedOutputByteBufferNano);
                }

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

                public dynainfo mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                    while (true) {
                        int readTag = codedInputByteBufferNano.readTag();
                        if (readTag == 0) {
                            return this;
                        }
                        if (readTag == 8) {
                            this.id_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 1;
                        } else if (readTag == 18) {
                            this.name_ = codedInputByteBufferNano.readString();
                            this.bitField0_ |= 2;
                        } else if (readTag == 26) {
                            this.code_ = codedInputByteBufferNano.readString();
                            this.bitField0_ |= 4;
                        } else if (readTag == 32) {
                            this.exchange_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 8;
                        } else if (readTag == 40) {
                            this.category_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 16;
                        } else if (readTag == 48) {
                            this.session_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 32;
                        } else if (readTag == 56) {
                            this.change_ = codedInputByteBufferNano.readSInt32();
                            this.bitField0_ |= 64;
                        } else if (readTag == 64) {
                            this.ratio_ = codedInputByteBufferNano.readSInt32();
                            this.bitField0_ |= 128;
                        } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                            return this;
                        }
                    }
                }
            }

            public BoardDetail() {
                clear();
            }

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

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

            public BoardDetail clear() {
                this.bitField0_ = 0;
                this.board = null;
                this.time_ = 0;
                this.change_ = 0;
                this.amount_ = 0;
                this.text_ = "";
                this.outstanding = null;
                this.stocks = dynainfo.emptyArray();
                this.cachedSize = -1;
                return this;
            }

            public BoardDetail clearAmount() {
                this.amount_ = 0;
                this.bitField0_ &= -5;
                return this;
            }

            public BoardDetail clearChange() {
                this.change_ = 0;
                this.bitField0_ &= -3;
                return this;
            }

            public BoardDetail clearText() {
                this.text_ = "";
                this.bitField0_ &= -9;
                return this;
            }

            public BoardDetail clearTime() {
                this.time_ = 0;
                this.bitField0_ &= -2;
                return this;
            }

            /* access modifiers changed from: protected */
            public int computeSerializedSize() {
                int computeSerializedSize = super.computeSerializedSize();
                dynainfo dynainfo2 = this.board;
                if (dynainfo2 != null) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(1, dynainfo2);
                }
                if ((this.bitField0_ & 1) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(2, this.time_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeSInt32Size(3, this.change_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeSInt64Size(4, this.amount_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(5, this.text_);
                }
                dynainfo dynainfo3 = this.outstanding;
                if (dynainfo3 != null) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(6, dynainfo3);
                }
                dynainfo[] dynainfoArr = this.stocks;
                if (dynainfoArr != null && dynainfoArr.length > 0) {
                    int i10 = 0;
                    while (true) {
                        dynainfo[] dynainfoArr2 = this.stocks;
                        if (i10 >= dynainfoArr2.length) {
                            break;
                        }
                        dynainfo dynainfo4 = dynainfoArr2[i10];
                        if (dynainfo4 != null) {
                            computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(7, dynainfo4);
                        }
                        i10++;
                    }
                }
                return computeSerializedSize;
            }

            public long getAmount() {
                return this.amount_;
            }

            public int getChange() {
                return this.change_;
            }

            public String getText() {
                return this.text_;
            }

            public int getTime() {
                return this.time_;
            }

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

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

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

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

            public BoardDetail setAmount(long j10) {
                this.amount_ = j10;
                this.bitField0_ |= 4;
                return this;
            }

            public BoardDetail setChange(int i10) {
                this.change_ = i10;
                this.bitField0_ |= 2;
                return this;
            }

            public BoardDetail setText(String str) {
                str.getClass();
                this.text_ = str;
                this.bitField0_ |= 8;
                return this;
            }

            public BoardDetail setTime(int i10) {
                this.time_ = i10;
                this.bitField0_ |= 1;
                return this;
            }

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                dynainfo dynainfo2 = this.board;
                if (dynainfo2 != null) {
                    codedOutputByteBufferNano.writeMessage(1, dynainfo2);
                }
                if ((this.bitField0_ & 1) != 0) {
                    codedOutputByteBufferNano.writeUInt32(2, this.time_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    codedOutputByteBufferNano.writeSInt32(3, this.change_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    codedOutputByteBufferNano.writeSInt64(4, this.amount_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    codedOutputByteBufferNano.writeString(5, this.text_);
                }
                dynainfo dynainfo3 = this.outstanding;
                if (dynainfo3 != null) {
                    codedOutputByteBufferNano.writeMessage(6, dynainfo3);
                }
                dynainfo[] dynainfoArr = this.stocks;
                if (dynainfoArr != null && dynainfoArr.length > 0) {
                    int i10 = 0;
                    while (true) {
                        dynainfo[] dynainfoArr2 = this.stocks;
                        if (i10 >= dynainfoArr2.length) {
                            break;
                        }
                        dynainfo dynainfo4 = dynainfoArr2[i10];
                        if (dynainfo4 != null) {
                            codedOutputByteBufferNano.writeMessage(7, dynainfo4);
                        }
                        i10++;
                    }
                }
                super.writeTo(codedOutputByteBufferNano);
            }

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

            public BoardDetail mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    if (readTag == 0) {
                        return this;
                    }
                    if (readTag == 10) {
                        if (this.board == null) {
                            this.board = new dynainfo();
                        }
                        codedInputByteBufferNano.readMessage(this.board);
                    } else if (readTag == 16) {
                        this.time_ = codedInputByteBufferNano.readUInt32();
                        this.bitField0_ |= 1;
                    } else if (readTag == 24) {
                        this.change_ = codedInputByteBufferNano.readSInt32();
                        this.bitField0_ |= 2;
                    } else if (readTag == 32) {
                        this.amount_ = codedInputByteBufferNano.readSInt64();
                        this.bitField0_ |= 4;
                    } else if (readTag == 42) {
                        this.text_ = codedInputByteBufferNano.readString();
                        this.bitField0_ |= 8;
                    } else if (readTag == 50) {
                        if (this.outstanding == null) {
                            this.outstanding = new dynainfo();
                        }
                        codedInputByteBufferNano.readMessage(this.outstanding);
                    } else if (readTag == 58) {
                        int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 58);
                        dynainfo[] dynainfoArr = this.stocks;
                        int length = dynainfoArr == null ? 0 : dynainfoArr.length;
                        int i10 = repeatedFieldArrayLength + length;
                        dynainfo[] dynainfoArr2 = new dynainfo[i10];
                        if (length != 0) {
                            System.arraycopy(dynainfoArr, 0, dynainfoArr2, 0, length);
                        }
                        while (length < i10 - 1) {
                            dynainfo dynainfo2 = new dynainfo();
                            dynainfoArr2[length] = dynainfo2;
                            codedInputByteBufferNano.readMessage(dynainfo2);
                            codedInputByteBufferNano.readTag();
                            length++;
                        }
                        dynainfo dynainfo3 = new dynainfo();
                        dynainfoArr2[length] = dynainfo3;
                        codedInputByteBufferNano.readMessage(dynainfo3);
                        this.stocks = dynainfoArr2;
                    } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                        return this;
                    }
                }
            }
        }

        public BoardAttack_Response() {
            clear();
        }

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

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

        public BoardAttack_Response clear() {
            this.bitField0_ = 0;
            this.inputParam = null;
            this.inflowBoard = BoardDetail.emptyArray();
            this.tradeDate_ = 0;
            this.sectionSize_ = 0;
            this.outflowBoard = BoardDetail.emptyArray();
            this.cachedSize = -1;
            return this;
        }

        public BoardAttack_Response clearSectionSize() {
            this.sectionSize_ = 0;
            this.bitField0_ &= -3;
            return this;
        }

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

        /* access modifiers changed from: protected */
        public int computeSerializedSize() {
            int computeSerializedSize = super.computeSerializedSize();
            BoardAttackRequest.BoardAttack_Request boardAttack_Request = this.inputParam;
            if (boardAttack_Request != null) {
                computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(1, boardAttack_Request);
            }
            BoardDetail[] boardDetailArr = this.inflowBoard;
            int i10 = 0;
            if (boardDetailArr != null && boardDetailArr.length > 0) {
                int i11 = 0;
                while (true) {
                    BoardDetail[] boardDetailArr2 = this.inflowBoard;
                    if (i11 >= boardDetailArr2.length) {
                        break;
                    }
                    BoardDetail boardDetail = boardDetailArr2[i11];
                    if (boardDetail != null) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(2, boardDetail);
                    }
                    i11++;
                }
            }
            if ((this.bitField0_ & 1) != 0) {
                computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(3, this.tradeDate_);
            }
            if ((this.bitField0_ & 2) != 0) {
                computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(4, this.sectionSize_);
            }
            BoardDetail[] boardDetailArr3 = this.outflowBoard;
            if (boardDetailArr3 != null && boardDetailArr3.length > 0) {
                while (true) {
                    BoardDetail[] boardDetailArr4 = this.outflowBoard;
                    if (i10 >= boardDetailArr4.length) {
                        break;
                    }
                    BoardDetail boardDetail2 = boardDetailArr4[i10];
                    if (boardDetail2 != null) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(5, boardDetail2);
                    }
                    i10++;
                }
            }
            return computeSerializedSize;
        }

        public int getSectionSize() {
            return this.sectionSize_;
        }

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

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

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

        public BoardAttack_Response setSectionSize(int i10) {
            this.sectionSize_ = i10;
            this.bitField0_ |= 2;
            return this;
        }

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

        public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
            BoardAttackRequest.BoardAttack_Request boardAttack_Request = this.inputParam;
            if (boardAttack_Request != null) {
                codedOutputByteBufferNano.writeMessage(1, boardAttack_Request);
            }
            BoardDetail[] boardDetailArr = this.inflowBoard;
            int i10 = 0;
            if (boardDetailArr != null && boardDetailArr.length > 0) {
                int i11 = 0;
                while (true) {
                    BoardDetail[] boardDetailArr2 = this.inflowBoard;
                    if (i11 >= boardDetailArr2.length) {
                        break;
                    }
                    BoardDetail boardDetail = boardDetailArr2[i11];
                    if (boardDetail != null) {
                        codedOutputByteBufferNano.writeMessage(2, boardDetail);
                    }
                    i11++;
                }
            }
            if ((this.bitField0_ & 1) != 0) {
                codedOutputByteBufferNano.writeUInt32(3, this.tradeDate_);
            }
            if ((this.bitField0_ & 2) != 0) {
                codedOutputByteBufferNano.writeUInt32(4, this.sectionSize_);
            }
            BoardDetail[] boardDetailArr3 = this.outflowBoard;
            if (boardDetailArr3 != null && boardDetailArr3.length > 0) {
                while (true) {
                    BoardDetail[] boardDetailArr4 = this.outflowBoard;
                    if (i10 >= boardDetailArr4.length) {
                        break;
                    }
                    BoardDetail boardDetail2 = boardDetailArr4[i10];
                    if (boardDetail2 != null) {
                        codedOutputByteBufferNano.writeMessage(5, boardDetail2);
                    }
                    i10++;
                }
            }
            super.writeTo(codedOutputByteBufferNano);
        }

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

        public BoardAttack_Response mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
            while (true) {
                int readTag = codedInputByteBufferNano.readTag();
                if (readTag == 0) {
                    return this;
                }
                if (readTag == 10) {
                    if (this.inputParam == null) {
                        this.inputParam = new BoardAttackRequest.BoardAttack_Request();
                    }
                    codedInputByteBufferNano.readMessage(this.inputParam);
                } else if (readTag == 18) {
                    int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 18);
                    BoardDetail[] boardDetailArr = this.inflowBoard;
                    int length = boardDetailArr == null ? 0 : boardDetailArr.length;
                    int i10 = repeatedFieldArrayLength + length;
                    BoardDetail[] boardDetailArr2 = new BoardDetail[i10];
                    if (length != 0) {
                        System.arraycopy(boardDetailArr, 0, boardDetailArr2, 0, length);
                    }
                    while (length < i10 - 1) {
                        BoardDetail boardDetail = new BoardDetail();
                        boardDetailArr2[length] = boardDetail;
                        codedInputByteBufferNano.readMessage(boardDetail);
                        codedInputByteBufferNano.readTag();
                        length++;
                    }
                    BoardDetail boardDetail2 = new BoardDetail();
                    boardDetailArr2[length] = boardDetail2;
                    codedInputByteBufferNano.readMessage(boardDetail2);
                    this.inflowBoard = boardDetailArr2;
                } else if (readTag == 24) {
                    this.tradeDate_ = codedInputByteBufferNano.readUInt32();
                    this.bitField0_ |= 1;
                } else if (readTag == 32) {
                    this.sectionSize_ = codedInputByteBufferNano.readUInt32();
                    this.bitField0_ |= 2;
                } else if (readTag == 42) {
                    int repeatedFieldArrayLength2 = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 42);
                    BoardDetail[] boardDetailArr3 = this.outflowBoard;
                    int length2 = boardDetailArr3 == null ? 0 : boardDetailArr3.length;
                    int i11 = repeatedFieldArrayLength2 + length2;
                    BoardDetail[] boardDetailArr4 = new BoardDetail[i11];
                    if (length2 != 0) {
                        System.arraycopy(boardDetailArr3, 0, boardDetailArr4, 0, length2);
                    }
                    while (length2 < i11 - 1) {
                        BoardDetail boardDetail3 = new BoardDetail();
                        boardDetailArr4[length2] = boardDetail3;
                        codedInputByteBufferNano.readMessage(boardDetail3);
                        codedInputByteBufferNano.readTag();
                        length2++;
                    }
                    BoardDetail boardDetail4 = new BoardDetail();
                    boardDetailArr4[length2] = boardDetail4;
                    codedInputByteBufferNano.readMessage(boardDetail4);
                    this.outflowBoard = boardDetailArr4;
                } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                    return this;
                }
            }
        }
    }
}
