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

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

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

        private static volatile FROverviewList_Response[] _emptyArray;

        private int bitField0_;

        private int calStartDate_;

        public SortedListResponse.SortedList_Response response;

        public FROverviewList_Response() {
            clear();
        }

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

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

        public FROverviewList_Response clear() {
            this.bitField0_ = 0;
            this.response = null;
            this.calStartDate_ = 0;
            this.cachedSize = -1;
            return this;
        }

        public FROverviewList_Response clearCalStartDate() {
            this.calStartDate_ = 0;
            this.bitField0_ &= -2;
            return this;
        }

        /* access modifiers changed from: protected */
        public int computeSerializedSize() {
            int computeSerializedSize = super.computeSerializedSize();
            SortedListResponse.SortedList_Response sortedList_Response = this.response;
            if (sortedList_Response != null) {
                computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(1, sortedList_Response);
            }
            if ((this.bitField0_ & 1) != 0) {
                return computeSerializedSize + CodedOutputByteBufferNano.computeUInt32Size(2, this.calStartDate_);
            }
            return computeSerializedSize;
        }

        public int getCalStartDate() {
            return this.calStartDate_;
        }

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

        public FROverviewList_Response setCalStartDate(int i10) {
            this.calStartDate_ = i10;
            this.bitField0_ |= 1;
            return this;
        }

        public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
            SortedListResponse.SortedList_Response sortedList_Response = this.response;
            if (sortedList_Response != null) {
                codedOutputByteBufferNano.writeMessage(1, sortedList_Response);
            }
            if ((this.bitField0_ & 1) != 0) {
                codedOutputByteBufferNano.writeUInt32(2, this.calStartDate_);
            }
            super.writeTo(codedOutputByteBufferNano);
        }

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

        public FROverviewList_Response mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
            while (true) {
                int readTag = codedInputByteBufferNano.readTag();
                if (readTag == 0) {
                    return this;
                }
                if (readTag == 10) {
                    if (this.response == null) {
                        this.response = new SortedListResponse.SortedList_Response();
                    }
                    codedInputByteBufferNano.readMessage(this.response);
                } else if (readTag == 16) {
                    this.calStartDate_ = codedInputByteBufferNano.readUInt32();
                    this.bitField0_ |= 1;
                } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                    return this;
                }
            }
        }
    }
}
