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;

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

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

        private static volatile PickStock_Request[] _emptyArray;

        private int bitField0_;

        public market[] exchangeCategory;

        public int[] goodsId;

        public int[] groupCode;

        private int historyDate_;

        private int limitSize_;

        public condition[] pickStock;

        public Sorting sortOption;

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

            private static volatile Sorting[] _emptyArray;

            private boolean asce_;

            private int bitField0_;

            private int field_;

            public Sorting() {
                clear();
            }

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

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

            public Sorting clear() {
                this.bitField0_ = 0;
                this.field_ = 0;
                this.asce_ = false;
                this.cachedSize = -1;
                return this;
            }

            public Sorting clearAsce() {
                this.asce_ = false;
                this.bitField0_ &= -3;
                return this;
            }

            public Sorting clearField() {
                this.field_ = 0;
                this.bitField0_ &= -2;
                return this;
            }

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

            public boolean getAsce() {
                return this.asce_;
            }

            public int getField() {
                return this.field_;
            }

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

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

            public Sorting setAsce(boolean z9) {
                this.asce_ = z9;
                this.bitField0_ |= 2;
                return this;
            }

            public Sorting setField(int i10) {
                this.field_ = i10;
                this.bitField0_ |= 1;
                return this;
            }

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

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

            public Sorting mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    if (readTag == 0) {
                        return this;
                    }
                    if (readTag == 8) {
                        this.field_ = codedInputByteBufferNano.readInt32();
                        this.bitField0_ |= 1;
                    } else if (readTag == 16) {
                        this.asce_ = codedInputByteBufferNano.readBool();
                        this.bitField0_ |= 2;
                    } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                        return this;
                    }
                }
            }
        }

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

            private static volatile condition[] _emptyArray;

            private int bitField0_;

            private int field_;

            public expression[] range;

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

                private static volatile expression[] _emptyArray;

                private int bitField0_;

                private int symbol_;

                private long value_;

                public expression() {
                    clear();
                }

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

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

                public expression clear() {
                    this.bitField0_ = 0;
                    this.symbol_ = 0;
                    this.value_ = 0;
                    this.cachedSize = -1;
                    return this;
                }

                public expression clearSymbol() {
                    this.symbol_ = 0;
                    this.bitField0_ &= -2;
                    return this;
                }

                public expression clearValue() {
                    this.value_ = 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.computeUInt32Size(1, this.symbol_);
                    }
                    if ((this.bitField0_ & 2) != 0) {
                        return computeSerializedSize + CodedOutputByteBufferNano.computeInt64Size(2, this.value_);
                    }
                    return computeSerializedSize;
                }

                public int getSymbol() {
                    return this.symbol_;
                }

                public long getValue() {
                    return this.value_;
                }

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

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

                public expression setSymbol(int i10) {
                    this.symbol_ = i10;
                    this.bitField0_ |= 1;
                    return this;
                }

                public expression setValue(long j10) {
                    this.value_ = j10;
                    this.bitField0_ |= 2;
                    return this;
                }

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

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

                public expression mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                    while (true) {
                        int readTag = codedInputByteBufferNano.readTag();
                        if (readTag == 0) {
                            return this;
                        }
                        if (readTag == 8) {
                            this.symbol_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 1;
                        } else if (readTag == 16) {
                            this.value_ = codedInputByteBufferNano.readInt64();
                            this.bitField0_ |= 2;
                        } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                            return this;
                        }
                    }
                }
            }

            public condition() {
                clear();
            }

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

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

            public condition clear() {
                this.bitField0_ = 0;
                this.field_ = 0;
                this.range = expression.emptyArray();
                this.cachedSize = -1;
                return this;
            }

            public condition clearField() {
                this.field_ = 0;
                this.bitField0_ &= -2;
                return this;
            }

            /* access modifiers changed from: protected */
            public int computeSerializedSize() {
                int computeSerializedSize = super.computeSerializedSize();
                if ((this.bitField0_ & 1) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(1, this.field_);
                }
                expression[] expressionArr = this.range;
                if (expressionArr != null && expressionArr.length > 0) {
                    int i10 = 0;
                    while (true) {
                        expression[] expressionArr2 = this.range;
                        if (i10 >= expressionArr2.length) {
                            break;
                        }
                        expression expression2 = expressionArr2[i10];
                        if (expression2 != null) {
                            computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(2, expression2);
                        }
                        i10++;
                    }
                }
                return computeSerializedSize;
            }

            public int getField() {
                return this.field_;
            }

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

            public condition setField(int i10) {
                this.field_ = i10;
                this.bitField0_ |= 1;
                return this;
            }

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                if ((this.bitField0_ & 1) != 0) {
                    codedOutputByteBufferNano.writeInt32(1, this.field_);
                }
                expression[] expressionArr = this.range;
                if (expressionArr != null && expressionArr.length > 0) {
                    int i10 = 0;
                    while (true) {
                        expression[] expressionArr2 = this.range;
                        if (i10 >= expressionArr2.length) {
                            break;
                        }
                        expression expression2 = expressionArr2[i10];
                        if (expression2 != null) {
                            codedOutputByteBufferNano.writeMessage(2, expression2);
                        }
                        i10++;
                    }
                }
                super.writeTo(codedOutputByteBufferNano);
            }

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

            public condition mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    if (readTag == 0) {
                        return this;
                    }
                    if (readTag == 8) {
                        this.field_ = codedInputByteBufferNano.readInt32();
                        this.bitField0_ |= 1;
                    } else if (readTag == 18) {
                        int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 18);
                        expression[] expressionArr = this.range;
                        int length = expressionArr == null ? 0 : expressionArr.length;
                        int i10 = repeatedFieldArrayLength + length;
                        expression[] expressionArr2 = new expression[i10];
                        if (length != 0) {
                            System.arraycopy(expressionArr, 0, expressionArr2, 0, length);
                        }
                        while (length < i10 - 1) {
                            expression expression2 = new expression();
                            expressionArr2[length] = expression2;
                            codedInputByteBufferNano.readMessage(expression2);
                            codedInputByteBufferNano.readTag();
                            length++;
                        }
                        expression expression3 = new expression();
                        expressionArr2[length] = expression3;
                        codedInputByteBufferNano.readMessage(expression3);
                        this.range = expressionArr2;
                    } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                        return this;
                    }
                }
            }
        }

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

            private static volatile market[] _emptyArray;

            private int bitField0_;

            private long category_;

            private int exchange_;

            public market() {
                clear();
            }

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

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

            public market clear() {
                this.bitField0_ = 0;
                this.exchange_ = 0;
                this.category_ = 0;
                this.cachedSize = -1;
                return this;
            }

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

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

            /* access modifiers changed from: protected */
            public int computeSerializedSize() {
                int computeSerializedSize = super.computeSerializedSize();
                if ((this.bitField0_ & 1) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(5, this.exchange_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    return computeSerializedSize + CodedOutputByteBufferNano.computeUInt64Size(6, this.category_);
                }
                return computeSerializedSize;
            }

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

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

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

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

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

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

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                if ((this.bitField0_ & 1) != 0) {
                    codedOutputByteBufferNano.writeUInt32(5, this.exchange_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    codedOutputByteBufferNano.writeUInt64(6, this.category_);
                }
                super.writeTo(codedOutputByteBufferNano);
            }

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

            public market mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    if (readTag == 0) {
                        return this;
                    }
                    if (readTag == 40) {
                        this.exchange_ = codedInputByteBufferNano.readUInt32();
                        this.bitField0_ |= 1;
                    } else if (readTag == 48) {
                        this.category_ = codedInputByteBufferNano.readUInt64();
                        this.bitField0_ |= 2;
                    } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                        return this;
                    }
                }
            }
        }

        public PickStock_Request() {
            clear();
        }

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

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

        public PickStock_Request clear() {
            this.bitField0_ = 0;
            this.exchangeCategory = market.emptyArray();
            int[] iArr = WireFormatNano.EMPTY_INT_ARRAY;
            this.groupCode = iArr;
            this.pickStock = condition.emptyArray();
            this.limitSize_ = 0;
            this.sortOption = null;
            this.goodsId = iArr;
            this.historyDate_ = 0;
            this.cachedSize = -1;
            return this;
        }

        public PickStock_Request clearHistoryDate() {
            this.historyDate_ = 0;
            this.bitField0_ &= -3;
            return this;
        }

        public PickStock_Request clearLimitSize() {
            this.limitSize_ = 0;
            this.bitField0_ &= -2;
            return this;
        }

        /* access modifiers changed from: protected */
        public int computeSerializedSize() {
            int[] iArr;
            int[] iArr2;
            int computeSerializedSize = super.computeSerializedSize();
            market[] marketArr = this.exchangeCategory;
            int i10 = 0;
            if (marketArr != null && marketArr.length > 0) {
                int i11 = 0;
                while (true) {
                    market[] marketArr2 = this.exchangeCategory;
                    if (i11 >= marketArr2.length) {
                        break;
                    }
                    market market2 = marketArr2[i11];
                    if (market2 != null) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(1, market2);
                    }
                    i11++;
                }
            }
            int[] iArr3 = this.groupCode;
            if (iArr3 != null && iArr3.length > 0) {
                int i12 = 0;
                int i13 = 0;
                while (true) {
                    iArr2 = this.groupCode;
                    if (i12 >= iArr2.length) {
                        break;
                    }
                    i13 += CodedOutputByteBufferNano.computeUInt32SizeNoTag(iArr2[i12]);
                    i12++;
                }
                computeSerializedSize = computeSerializedSize + i13 + iArr2.length;
            }
            condition[] conditionArr = this.pickStock;
            if (conditionArr != null && conditionArr.length > 0) {
                int i14 = 0;
                while (true) {
                    condition[] conditionArr2 = this.pickStock;
                    if (i14 >= conditionArr2.length) {
                        break;
                    }
                    condition condition2 = conditionArr2[i14];
                    if (condition2 != null) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(3, condition2);
                    }
                    i14++;
                }
            }
            if ((this.bitField0_ & 1) != 0) {
                computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(4, this.limitSize_);
            }
            Sorting sorting = this.sortOption;
            if (sorting != null) {
                computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(5, sorting);
            }
            int[] iArr4 = this.goodsId;
            if (iArr4 != null && iArr4.length > 0) {
                int i15 = 0;
                while (true) {
                    iArr = this.goodsId;
                    if (i10 >= iArr.length) {
                        break;
                    }
                    i15 += CodedOutputByteBufferNano.computeUInt32SizeNoTag(iArr[i10]);
                    i10++;
                }
                computeSerializedSize = computeSerializedSize + i15 + iArr.length;
            }
            if ((this.bitField0_ & 2) != 0) {
                return computeSerializedSize + CodedOutputByteBufferNano.computeUInt32Size(7, this.historyDate_);
            }
            return computeSerializedSize;
        }

        public int getHistoryDate() {
            return this.historyDate_;
        }

        public int getLimitSize() {
            return this.limitSize_;
        }

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

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

        public PickStock_Request setHistoryDate(int i10) {
            this.historyDate_ = i10;
            this.bitField0_ |= 2;
            return this;
        }

        public PickStock_Request setLimitSize(int i10) {
            this.limitSize_ = i10;
            this.bitField0_ |= 1;
            return this;
        }

        public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
            market[] marketArr = this.exchangeCategory;
            int i10 = 0;
            if (marketArr != null && marketArr.length > 0) {
                int i11 = 0;
                while (true) {
                    market[] marketArr2 = this.exchangeCategory;
                    if (i11 >= marketArr2.length) {
                        break;
                    }
                    market market2 = marketArr2[i11];
                    if (market2 != null) {
                        codedOutputByteBufferNano.writeMessage(1, market2);
                    }
                    i11++;
                }
            }
            int[] iArr = this.groupCode;
            if (iArr != null && iArr.length > 0) {
                int i12 = 0;
                while (true) {
                    int[] iArr2 = this.groupCode;
                    if (i12 >= iArr2.length) {
                        break;
                    }
                    codedOutputByteBufferNano.writeUInt32(2, iArr2[i12]);
                    i12++;
                }
            }
            condition[] conditionArr = this.pickStock;
            if (conditionArr != null && conditionArr.length > 0) {
                int i13 = 0;
                while (true) {
                    condition[] conditionArr2 = this.pickStock;
                    if (i13 >= conditionArr2.length) {
                        break;
                    }
                    condition condition2 = conditionArr2[i13];
                    if (condition2 != null) {
                        codedOutputByteBufferNano.writeMessage(3, condition2);
                    }
                    i13++;
                }
            }
            if ((this.bitField0_ & 1) != 0) {
                codedOutputByteBufferNano.writeUInt32(4, this.limitSize_);
            }
            Sorting sorting = this.sortOption;
            if (sorting != null) {
                codedOutputByteBufferNano.writeMessage(5, sorting);
            }
            int[] iArr3 = this.goodsId;
            if (iArr3 != null && iArr3.length > 0) {
                while (true) {
                    int[] iArr4 = this.goodsId;
                    if (i10 >= iArr4.length) {
                        break;
                    }
                    codedOutputByteBufferNano.writeUInt32(6, iArr4[i10]);
                    i10++;
                }
            }
            if ((this.bitField0_ & 2) != 0) {
                codedOutputByteBufferNano.writeUInt32(7, this.historyDate_);
            }
            super.writeTo(codedOutputByteBufferNano);
        }

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

        public PickStock_Request mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
            while (true) {
                int readTag = codedInputByteBufferNano.readTag();
                if (readTag == 0) {
                    return this;
                }
                if (readTag == 10) {
                    int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 10);
                    market[] marketArr = this.exchangeCategory;
                    int length = marketArr == null ? 0 : marketArr.length;
                    int i10 = repeatedFieldArrayLength + length;
                    market[] marketArr2 = new market[i10];
                    if (length != 0) {
                        System.arraycopy(marketArr, 0, marketArr2, 0, length);
                    }
                    while (length < i10 - 1) {
                        market market2 = new market();
                        marketArr2[length] = market2;
                        codedInputByteBufferNano.readMessage(market2);
                        codedInputByteBufferNano.readTag();
                        length++;
                    }
                    market market3 = new market();
                    marketArr2[length] = market3;
                    codedInputByteBufferNano.readMessage(market3);
                    this.exchangeCategory = marketArr2;
                } else if (readTag == 16) {
                    int repeatedFieldArrayLength2 = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 16);
                    int[] iArr = this.groupCode;
                    int length2 = iArr == null ? 0 : iArr.length;
                    int i11 = repeatedFieldArrayLength2 + length2;
                    int[] iArr2 = new int[i11];
                    if (length2 != 0) {
                        System.arraycopy(iArr, 0, iArr2, 0, length2);
                    }
                    while (length2 < i11 - 1) {
                        iArr2[length2] = codedInputByteBufferNano.readUInt32();
                        codedInputByteBufferNano.readTag();
                        length2++;
                    }
                    iArr2[length2] = codedInputByteBufferNano.readUInt32();
                    this.groupCode = iArr2;
                } else if (readTag == 18) {
                    int pushLimit = codedInputByteBufferNano.pushLimit(codedInputByteBufferNano.readRawVarint32());
                    int position = codedInputByteBufferNano.getPosition();
                    int i12 = 0;
                    while (codedInputByteBufferNano.getBytesUntilLimit() > 0) {
                        codedInputByteBufferNano.readUInt32();
                        i12++;
                    }
                    codedInputByteBufferNano.rewindToPosition(position);
                    int[] iArr3 = this.groupCode;
                    int length3 = iArr3 == null ? 0 : iArr3.length;
                    int i13 = i12 + length3;
                    int[] iArr4 = new int[i13];
                    if (length3 != 0) {
                        System.arraycopy(iArr3, 0, iArr4, 0, length3);
                    }
                    while (length3 < i13) {
                        iArr4[length3] = codedInputByteBufferNano.readUInt32();
                        length3++;
                    }
                    this.groupCode = iArr4;
                    codedInputByteBufferNano.popLimit(pushLimit);
                } else if (readTag == 26) {
                    int repeatedFieldArrayLength3 = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 26);
                    condition[] conditionArr = this.pickStock;
                    int length4 = conditionArr == null ? 0 : conditionArr.length;
                    int i14 = repeatedFieldArrayLength3 + length4;
                    condition[] conditionArr2 = new condition[i14];
                    if (length4 != 0) {
                        System.arraycopy(conditionArr, 0, conditionArr2, 0, length4);
                    }
                    while (length4 < i14 - 1) {
                        condition condition2 = new condition();
                        conditionArr2[length4] = condition2;
                        codedInputByteBufferNano.readMessage(condition2);
                        codedInputByteBufferNano.readTag();
                        length4++;
                    }
                    condition condition3 = new condition();
                    conditionArr2[length4] = condition3;
                    codedInputByteBufferNano.readMessage(condition3);
                    this.pickStock = conditionArr2;
                } else if (readTag == 32) {
                    this.limitSize_ = codedInputByteBufferNano.readUInt32();
                    this.bitField0_ |= 1;
                } else if (readTag == 42) {
                    if (this.sortOption == null) {
                        this.sortOption = new Sorting();
                    }
                    codedInputByteBufferNano.readMessage(this.sortOption);
                } else if (readTag == 48) {
                    int repeatedFieldArrayLength4 = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 48);
                    int[] iArr5 = this.goodsId;
                    int length5 = iArr5 == null ? 0 : iArr5.length;
                    int i15 = repeatedFieldArrayLength4 + length5;
                    int[] iArr6 = new int[i15];
                    if (length5 != 0) {
                        System.arraycopy(iArr5, 0, iArr6, 0, length5);
                    }
                    while (length5 < i15 - 1) {
                        iArr6[length5] = codedInputByteBufferNano.readUInt32();
                        codedInputByteBufferNano.readTag();
                        length5++;
                    }
                    iArr6[length5] = codedInputByteBufferNano.readUInt32();
                    this.goodsId = iArr6;
                } else if (readTag == 50) {
                    int pushLimit2 = codedInputByteBufferNano.pushLimit(codedInputByteBufferNano.readRawVarint32());
                    int position2 = codedInputByteBufferNano.getPosition();
                    int i16 = 0;
                    while (codedInputByteBufferNano.getBytesUntilLimit() > 0) {
                        codedInputByteBufferNano.readUInt32();
                        i16++;
                    }
                    codedInputByteBufferNano.rewindToPosition(position2);
                    int[] iArr7 = this.goodsId;
                    int length6 = iArr7 == null ? 0 : iArr7.length;
                    int i17 = i16 + length6;
                    int[] iArr8 = new int[i17];
                    if (length6 != 0) {
                        System.arraycopy(iArr7, 0, iArr8, 0, length6);
                    }
                    while (length6 < i17) {
                        iArr8[length6] = codedInputByteBufferNano.readUInt32();
                        length6++;
                    }
                    this.goodsId = iArr8;
                    codedInputByteBufferNano.popLimit(pushLimit2);
                } else if (readTag == 56) {
                    this.historyDate_ = codedInputByteBufferNano.readUInt32();
                    this.bitField0_ |= 2;
                } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                    return this;
                }
            }
        }
    }
}
