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

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

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

        private static volatile MinutePreview_Response[] _emptyArray;

        public MinuteData.IndexDetail[] indexConfig;

        public int[] indexList;

        public MinutePreviewRequest.MinutePreview_Request input;

        public MinuteData[] outputParam;

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

            private static volatile MinuteData[] _emptyArray;

            private int bitField0_;

            private int change_;

            private int close_;

            private int date_;

            public IndexDetail index;

            public LineData[] line;

            private int newprc_;

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

                private static volatile IndexDetail[] _emptyArray;

                private int bitField0_;

                private long category_;

                private String code_;

                private int exchange_;

                private int id_;

                private String name_;

                private int session_;

                public IndexDetail() {
                    clear();
                }

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

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

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

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

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

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

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

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

                public IndexDetail 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) {
                        return computeSerializedSize + CodedOutputByteBufferNano.computeUInt32Size(6, this.session_);
                    }
                    return computeSerializedSize;
                }

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

                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 getSession() {
                    return this.session_;
                }

                public boolean hasCategory() {
                    if ((this.bitField0_ & 16) != 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 hasSession() {
                    if ((this.bitField0_ & 32) != 0) {
                        return true;
                    }
                    return false;
                }

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

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

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

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

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

                public IndexDetail 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_);
                    }
                    super.writeTo(codedOutputByteBufferNano);
                }

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

                public IndexDetail 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 (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                            return this;
                        }
                    }
                }
            }

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

                private static volatile LineData[] _emptyArray;

                private int bitField0_;

                private long inflow_;

                private int price_;

                private int time_;

                public LineData() {
                    clear();
                }

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

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

                public LineData clear() {
                    this.bitField0_ = 0;
                    this.time_ = 0;
                    this.price_ = 0;
                    this.inflow_ = 0;
                    this.cachedSize = -1;
                    return this;
                }

                public LineData clearInflow() {
                    this.inflow_ = 0;
                    this.bitField0_ &= -5;
                    return this;
                }

                public LineData clearPrice() {
                    this.price_ = 0;
                    this.bitField0_ &= -3;
                    return this;
                }

                public LineData clearTime() {
                    this.time_ = 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(1, this.time_);
                    }
                    if ((this.bitField0_ & 2) != 0) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(2, this.price_);
                    }
                    if ((this.bitField0_ & 4) != 0) {
                        return computeSerializedSize + CodedOutputByteBufferNano.computeInt64Size(3, this.inflow_);
                    }
                    return computeSerializedSize;
                }

                public long getInflow() {
                    return this.inflow_;
                }

                public int getPrice() {
                    return this.price_;
                }

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

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

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

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

                public LineData setInflow(long j10) {
                    this.inflow_ = j10;
                    this.bitField0_ |= 4;
                    return this;
                }

                public LineData setPrice(int i10) {
                    this.price_ = i10;
                    this.bitField0_ |= 2;
                    return this;
                }

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

                public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                    if ((this.bitField0_ & 1) != 0) {
                        codedOutputByteBufferNano.writeUInt32(1, this.time_);
                    }
                    if ((this.bitField0_ & 2) != 0) {
                        codedOutputByteBufferNano.writeUInt32(2, this.price_);
                    }
                    if ((this.bitField0_ & 4) != 0) {
                        codedOutputByteBufferNano.writeInt64(3, this.inflow_);
                    }
                    super.writeTo(codedOutputByteBufferNano);
                }

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

                public LineData mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                    while (true) {
                        int readTag = codedInputByteBufferNano.readTag();
                        if (readTag == 0) {
                            return this;
                        }
                        if (readTag == 8) {
                            this.time_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 1;
                        } else if (readTag == 16) {
                            this.price_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 2;
                        } else if (readTag == 24) {
                            this.inflow_ = codedInputByteBufferNano.readInt64();
                            this.bitField0_ |= 4;
                        } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                            return this;
                        }
                    }
                }
            }

            public MinuteData() {
                clear();
            }

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

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

            public MinuteData clear() {
                this.bitField0_ = 0;
                this.index = null;
                this.line = LineData.emptyArray();
                this.change_ = 0;
                this.close_ = 0;
                this.date_ = 0;
                this.newprc_ = 0;
                this.cachedSize = -1;
                return this;
            }

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

            public MinuteData clearClose() {
                this.close_ = 0;
                this.bitField0_ &= -3;
                return this;
            }

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

            public MinuteData clearNewprc() {
                this.newprc_ = 0;
                this.bitField0_ &= -9;
                return this;
            }

            /* access modifiers changed from: protected */
            public int computeSerializedSize() {
                int computeSerializedSize = super.computeSerializedSize();
                IndexDetail indexDetail = this.index;
                if (indexDetail != null) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(1, indexDetail);
                }
                LineData[] lineDataArr = this.line;
                if (lineDataArr != null && lineDataArr.length > 0) {
                    int i10 = 0;
                    while (true) {
                        LineData[] lineDataArr2 = this.line;
                        if (i10 >= lineDataArr2.length) {
                            break;
                        }
                        LineData lineData = lineDataArr2[i10];
                        if (lineData != null) {
                            computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(2, lineData);
                        }
                        i10++;
                    }
                }
                if ((this.bitField0_ & 1) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(3, this.change_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(4, this.close_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(5, this.date_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    return computeSerializedSize + CodedOutputByteBufferNano.computeUInt32Size(6, this.newprc_);
                }
                return computeSerializedSize;
            }

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

            public int getClose() {
                return this.close_;
            }

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

            public int getNewprc() {
                return this.newprc_;
            }

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

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

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

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

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

            public MinuteData setClose(int i10) {
                this.close_ = i10;
                this.bitField0_ |= 2;
                return this;
            }

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

            public MinuteData setNewprc(int i10) {
                this.newprc_ = i10;
                this.bitField0_ |= 8;
                return this;
            }

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                IndexDetail indexDetail = this.index;
                if (indexDetail != null) {
                    codedOutputByteBufferNano.writeMessage(1, indexDetail);
                }
                LineData[] lineDataArr = this.line;
                if (lineDataArr != null && lineDataArr.length > 0) {
                    int i10 = 0;
                    while (true) {
                        LineData[] lineDataArr2 = this.line;
                        if (i10 >= lineDataArr2.length) {
                            break;
                        }
                        LineData lineData = lineDataArr2[i10];
                        if (lineData != null) {
                            codedOutputByteBufferNano.writeMessage(2, lineData);
                        }
                        i10++;
                    }
                }
                if ((this.bitField0_ & 1) != 0) {
                    codedOutputByteBufferNano.writeInt32(3, this.change_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    codedOutputByteBufferNano.writeUInt32(4, this.close_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    codedOutputByteBufferNano.writeUInt32(5, this.date_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    codedOutputByteBufferNano.writeUInt32(6, this.newprc_);
                }
                super.writeTo(codedOutputByteBufferNano);
            }

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

            public MinuteData mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    if (readTag == 0) {
                        return this;
                    }
                    if (readTag == 10) {
                        if (this.index == null) {
                            this.index = new IndexDetail();
                        }
                        codedInputByteBufferNano.readMessage(this.index);
                    } else if (readTag == 18) {
                        int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 18);
                        LineData[] lineDataArr = this.line;
                        int length = lineDataArr == null ? 0 : lineDataArr.length;
                        int i10 = repeatedFieldArrayLength + length;
                        LineData[] lineDataArr2 = new LineData[i10];
                        if (length != 0) {
                            System.arraycopy(lineDataArr, 0, lineDataArr2, 0, length);
                        }
                        while (length < i10 - 1) {
                            LineData lineData = new LineData();
                            lineDataArr2[length] = lineData;
                            codedInputByteBufferNano.readMessage(lineData);
                            codedInputByteBufferNano.readTag();
                            length++;
                        }
                        LineData lineData2 = new LineData();
                        lineDataArr2[length] = lineData2;
                        codedInputByteBufferNano.readMessage(lineData2);
                        this.line = lineDataArr2;
                    } else if (readTag == 24) {
                        this.change_ = codedInputByteBufferNano.readInt32();
                        this.bitField0_ |= 1;
                    } else if (readTag == 32) {
                        this.close_ = codedInputByteBufferNano.readUInt32();
                        this.bitField0_ |= 2;
                    } else if (readTag == 40) {
                        this.date_ = codedInputByteBufferNano.readUInt32();
                        this.bitField0_ |= 4;
                    } else if (readTag == 48) {
                        this.newprc_ = codedInputByteBufferNano.readUInt32();
                        this.bitField0_ |= 8;
                    } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                        return this;
                    }
                }
            }
        }

        public MinutePreview_Response() {
            clear();
        }

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

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

        public MinutePreview_Response clear() {
            this.input = null;
            this.outputParam = MinuteData.emptyArray();
            this.indexList = WireFormatNano.EMPTY_INT_ARRAY;
            this.indexConfig = MinuteData.IndexDetail.emptyArray();
            this.cachedSize = -1;
            return this;
        }

        /* access modifiers changed from: protected */
        public int computeSerializedSize() {
            int[] iArr;
            int computeSerializedSize = super.computeSerializedSize();
            MinutePreviewRequest.MinutePreview_Request minutePreview_Request = this.input;
            if (minutePreview_Request != null) {
                computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(1, minutePreview_Request);
            }
            MinuteData[] minuteDataArr = this.outputParam;
            int i10 = 0;
            if (minuteDataArr != null && minuteDataArr.length > 0) {
                int i11 = 0;
                while (true) {
                    MinuteData[] minuteDataArr2 = this.outputParam;
                    if (i11 >= minuteDataArr2.length) {
                        break;
                    }
                    MinuteData minuteData = minuteDataArr2[i11];
                    if (minuteData != null) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(2, minuteData);
                    }
                    i11++;
                }
            }
            int[] iArr2 = this.indexList;
            if (iArr2 != null && iArr2.length > 0) {
                int i12 = 0;
                int i13 = 0;
                while (true) {
                    iArr = this.indexList;
                    if (i12 >= iArr.length) {
                        break;
                    }
                    i13 += CodedOutputByteBufferNano.computeUInt32SizeNoTag(iArr[i12]);
                    i12++;
                }
                computeSerializedSize = computeSerializedSize + i13 + iArr.length;
            }
            MinuteData.IndexDetail[] indexDetailArr = this.indexConfig;
            if (indexDetailArr != null && indexDetailArr.length > 0) {
                while (true) {
                    MinuteData.IndexDetail[] indexDetailArr2 = this.indexConfig;
                    if (i10 >= indexDetailArr2.length) {
                        break;
                    }
                    MinuteData.IndexDetail indexDetail = indexDetailArr2[i10];
                    if (indexDetail != null) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(4, indexDetail);
                    }
                    i10++;
                }
            }
            return computeSerializedSize;
        }

        public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
            MinutePreviewRequest.MinutePreview_Request minutePreview_Request = this.input;
            if (minutePreview_Request != null) {
                codedOutputByteBufferNano.writeMessage(1, minutePreview_Request);
            }
            MinuteData[] minuteDataArr = this.outputParam;
            int i10 = 0;
            if (minuteDataArr != null && minuteDataArr.length > 0) {
                int i11 = 0;
                while (true) {
                    MinuteData[] minuteDataArr2 = this.outputParam;
                    if (i11 >= minuteDataArr2.length) {
                        break;
                    }
                    MinuteData minuteData = minuteDataArr2[i11];
                    if (minuteData != null) {
                        codedOutputByteBufferNano.writeMessage(2, minuteData);
                    }
                    i11++;
                }
            }
            int[] iArr = this.indexList;
            if (iArr != null && iArr.length > 0) {
                int i12 = 0;
                while (true) {
                    int[] iArr2 = this.indexList;
                    if (i12 >= iArr2.length) {
                        break;
                    }
                    codedOutputByteBufferNano.writeUInt32(3, iArr2[i12]);
                    i12++;
                }
            }
            MinuteData.IndexDetail[] indexDetailArr = this.indexConfig;
            if (indexDetailArr != null && indexDetailArr.length > 0) {
                while (true) {
                    MinuteData.IndexDetail[] indexDetailArr2 = this.indexConfig;
                    if (i10 >= indexDetailArr2.length) {
                        break;
                    }
                    MinuteData.IndexDetail indexDetail = indexDetailArr2[i10];
                    if (indexDetail != null) {
                        codedOutputByteBufferNano.writeMessage(4, indexDetail);
                    }
                    i10++;
                }
            }
            super.writeTo(codedOutputByteBufferNano);
        }

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

        public MinutePreview_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 MinutePreviewRequest.MinutePreview_Request();
                    }
                    codedInputByteBufferNano.readMessage(this.input);
                } else if (readTag == 18) {
                    int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 18);
                    MinuteData[] minuteDataArr = this.outputParam;
                    int length = minuteDataArr == null ? 0 : minuteDataArr.length;
                    int i10 = repeatedFieldArrayLength + length;
                    MinuteData[] minuteDataArr2 = new MinuteData[i10];
                    if (length != 0) {
                        System.arraycopy(minuteDataArr, 0, minuteDataArr2, 0, length);
                    }
                    while (length < i10 - 1) {
                        MinuteData minuteData = new MinuteData();
                        minuteDataArr2[length] = minuteData;
                        codedInputByteBufferNano.readMessage(minuteData);
                        codedInputByteBufferNano.readTag();
                        length++;
                    }
                    MinuteData minuteData2 = new MinuteData();
                    minuteDataArr2[length] = minuteData2;
                    codedInputByteBufferNano.readMessage(minuteData2);
                    this.outputParam = minuteDataArr2;
                } else if (readTag == 24) {
                    int repeatedFieldArrayLength2 = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 24);
                    int[] iArr = this.indexList;
                    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.indexList = iArr2;
                } else if (readTag == 26) {
                    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.indexList;
                    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.indexList = iArr4;
                    codedInputByteBufferNano.popLimit(pushLimit);
                } else if (readTag == 34) {
                    int repeatedFieldArrayLength3 = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 34);
                    MinuteData.IndexDetail[] indexDetailArr = this.indexConfig;
                    int length4 = indexDetailArr == null ? 0 : indexDetailArr.length;
                    int i14 = repeatedFieldArrayLength3 + length4;
                    MinuteData.IndexDetail[] indexDetailArr2 = new MinuteData.IndexDetail[i14];
                    if (length4 != 0) {
                        System.arraycopy(indexDetailArr, 0, indexDetailArr2, 0, length4);
                    }
                    while (length4 < i14 - 1) {
                        MinuteData.IndexDetail indexDetail = new MinuteData.IndexDetail();
                        indexDetailArr2[length4] = indexDetail;
                        codedInputByteBufferNano.readMessage(indexDetail);
                        codedInputByteBufferNano.readTag();
                        length4++;
                    }
                    MinuteData.IndexDetail indexDetail2 = new MinuteData.IndexDetail();
                    indexDetailArr2[length4] = indexDetail2;
                    codedInputByteBufferNano.readMessage(indexDetail2);
                    this.indexConfig = indexDetailArr2;
                } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                    return this;
                }
            }
        }
    }
}
