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

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

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

        private static volatile Entrust_Response[] _emptyArray;

        private int bitField0_;

        public Entrust[] entrust;

        public EntrustRequest.Entrust_Request requestParams;

        private int totalnum_;

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

            private static volatile Entrust[] _emptyArray;

            private int bitField0_;

            private String businessflag_;

            private int cancelamt_;

            private long category_;

            private String codeName_;

            private int dealamt_;

            private int dealprice_;

            private long dealtime_;

            private long entrustNo_;

            private int entrustamt_;

            private int entrustprice_;

            private long entrusttime_;

            private int exchange_;

            private int idx_;

            private String mmlbmc_;

            private int ownratio_;

            private int resetno_;

            private String sjwt_;

            private int statuscode_;

            private String statusmsg_;

            private int stockCode_;

            private String stockName_;

            private int tradeSession_;

            public Entrust() {
                clear();
            }

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

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

            public Entrust clear() {
                this.bitField0_ = 0;
                this.idx_ = 0;
                this.ownratio_ = 0;
                this.cancelamt_ = 0;
                this.entrusttime_ = 0;
                this.stockCode_ = 0;
                this.stockName_ = "";
                this.codeName_ = "";
                this.exchange_ = 0;
                this.category_ = 0;
                this.tradeSession_ = 0;
                this.businessflag_ = "";
                this.entrustamt_ = 0;
                this.entrustprice_ = 0;
                this.dealamt_ = 0;
                this.dealprice_ = 0;
                this.entrustNo_ = 0;
                this.mmlbmc_ = "";
                this.statuscode_ = 0;
                this.statusmsg_ = "";
                this.sjwt_ = "";
                this.dealtime_ = 0;
                this.resetno_ = 0;
                this.cachedSize = -1;
                return this;
            }

            public Entrust clearBusinessflag() {
                this.businessflag_ = "";
                this.bitField0_ &= -1025;
                return this;
            }

            public Entrust clearCancelamt() {
                this.cancelamt_ = 0;
                this.bitField0_ &= -5;
                return this;
            }

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

            public Entrust clearCodeName() {
                this.codeName_ = "";
                this.bitField0_ &= -65;
                return this;
            }

            public Entrust clearDealamt() {
                this.dealamt_ = 0;
                this.bitField0_ &= -8193;
                return this;
            }

            public Entrust clearDealprice() {
                this.dealprice_ = 0;
                this.bitField0_ &= -16385;
                return this;
            }

            public Entrust clearDealtime() {
                this.dealtime_ = 0;
                this.bitField0_ &= -1048577;
                return this;
            }

            public Entrust clearEntrustNo() {
                this.entrustNo_ = 0;
                this.bitField0_ &= -32769;
                return this;
            }

            public Entrust clearEntrustamt() {
                this.entrustamt_ = 0;
                this.bitField0_ &= -2049;
                return this;
            }

            public Entrust clearEntrustprice() {
                this.entrustprice_ = 0;
                this.bitField0_ &= -4097;
                return this;
            }

            public Entrust clearEntrusttime() {
                this.entrusttime_ = 0;
                this.bitField0_ &= -9;
                return this;
            }

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

            public Entrust clearIdx() {
                this.idx_ = 0;
                this.bitField0_ &= -2;
                return this;
            }

            public Entrust clearMmlbmc() {
                this.mmlbmc_ = "";
                this.bitField0_ &= -65537;
                return this;
            }

            public Entrust clearOwnratio() {
                this.ownratio_ = 0;
                this.bitField0_ &= -3;
                return this;
            }

            public Entrust clearResetno() {
                this.resetno_ = 0;
                this.bitField0_ &= -2097153;
                return this;
            }

            public Entrust clearSjwt() {
                this.sjwt_ = "";
                this.bitField0_ &= -524289;
                return this;
            }

            public Entrust clearStatuscode() {
                this.statuscode_ = 0;
                this.bitField0_ &= -131073;
                return this;
            }

            public Entrust clearStatusmsg() {
                this.statusmsg_ = "";
                this.bitField0_ &= -262145;
                return this;
            }

            public Entrust clearStockCode() {
                this.stockCode_ = 0;
                this.bitField0_ &= -17;
                return this;
            }

            public Entrust clearStockName() {
                this.stockName_ = "";
                this.bitField0_ &= -33;
                return this;
            }

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

            /* access modifiers changed from: protected */
            public int computeSerializedSize() {
                int computeSerializedSize = super.computeSerializedSize();
                if ((this.bitField0_ & 1) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(1, this.idx_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(2, this.ownratio_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(3, this.cancelamt_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(4, this.entrusttime_);
                }
                if ((this.bitField0_ & 16) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(5, this.stockCode_);
                }
                if ((this.bitField0_ & 32) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(6, this.stockName_);
                }
                if ((this.bitField0_ & 64) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(7, this.codeName_);
                }
                if ((this.bitField0_ & 128) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(8, this.exchange_);
                }
                if ((this.bitField0_ & 256) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(9, this.category_);
                }
                if ((this.bitField0_ & 512) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(10, this.tradeSession_);
                }
                if ((this.bitField0_ & 1024) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(11, this.businessflag_);
                }
                if ((this.bitField0_ & 2048) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(12, this.entrustamt_);
                }
                if ((this.bitField0_ & 4096) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(13, this.entrustprice_);
                }
                if ((this.bitField0_ & 8192) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(14, this.dealamt_);
                }
                if ((this.bitField0_ & 16384) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt32Size(15, this.dealprice_);
                }
                if ((this.bitField0_ & 32768) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(16, this.entrustNo_);
                }
                if ((this.bitField0_ & 65536) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(17, this.mmlbmc_);
                }
                if ((this.bitField0_ & 131072) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeInt32Size(18, this.statuscode_);
                }
                if ((this.bitField0_ & 262144) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(19, this.statusmsg_);
                }
                if ((this.bitField0_ & 524288) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeStringSize(20, this.sjwt_);
                }
                if ((this.bitField0_ & 1048576) != 0) {
                    computeSerializedSize += CodedOutputByteBufferNano.computeUInt64Size(21, this.dealtime_);
                }
                if ((this.bitField0_ & 2097152) != 0) {
                    return computeSerializedSize + CodedOutputByteBufferNano.computeUInt32Size(22, this.resetno_);
                }
                return computeSerializedSize;
            }

            public String getBusinessflag() {
                return this.businessflag_;
            }

            public int getCancelamt() {
                return this.cancelamt_;
            }

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

            public String getCodeName() {
                return this.codeName_;
            }

            public int getDealamt() {
                return this.dealamt_;
            }

            public int getDealprice() {
                return this.dealprice_;
            }

            public long getDealtime() {
                return this.dealtime_;
            }

            public long getEntrustNo() {
                return this.entrustNo_;
            }

            public int getEntrustamt() {
                return this.entrustamt_;
            }

            public int getEntrustprice() {
                return this.entrustprice_;
            }

            public long getEntrusttime() {
                return this.entrusttime_;
            }

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

            public int getIdx() {
                return this.idx_;
            }

            public String getMmlbmc() {
                return this.mmlbmc_;
            }

            public int getOwnratio() {
                return this.ownratio_;
            }

            public int getResetno() {
                return this.resetno_;
            }

            public String getSjwt() {
                return this.sjwt_;
            }

            public int getStatuscode() {
                return this.statuscode_;
            }

            public String getStatusmsg() {
                return this.statusmsg_;
            }

            public int getStockCode() {
                return this.stockCode_;
            }

            public String getStockName() {
                return this.stockName_;
            }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

            public Entrust setBusinessflag(String str) {
                str.getClass();
                this.businessflag_ = str;
                this.bitField0_ |= 1024;
                return this;
            }

            public Entrust setCancelamt(int i10) {
                this.cancelamt_ = i10;
                this.bitField0_ |= 4;
                return this;
            }

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

            public Entrust setCodeName(String str) {
                str.getClass();
                this.codeName_ = str;
                this.bitField0_ |= 64;
                return this;
            }

            public Entrust setDealamt(int i10) {
                this.dealamt_ = i10;
                this.bitField0_ |= 8192;
                return this;
            }

            public Entrust setDealprice(int i10) {
                this.dealprice_ = i10;
                this.bitField0_ |= 16384;
                return this;
            }

            public Entrust setDealtime(long j10) {
                this.dealtime_ = j10;
                this.bitField0_ |= 1048576;
                return this;
            }

            public Entrust setEntrustNo(long j10) {
                this.entrustNo_ = j10;
                this.bitField0_ |= 32768;
                return this;
            }

            public Entrust setEntrustamt(int i10) {
                this.entrustamt_ = i10;
                this.bitField0_ |= 2048;
                return this;
            }

            public Entrust setEntrustprice(int i10) {
                this.entrustprice_ = i10;
                this.bitField0_ |= 4096;
                return this;
            }

            public Entrust setEntrusttime(long j10) {
                this.entrusttime_ = j10;
                this.bitField0_ |= 8;
                return this;
            }

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

            public Entrust setIdx(int i10) {
                this.idx_ = i10;
                this.bitField0_ |= 1;
                return this;
            }

            public Entrust setMmlbmc(String str) {
                str.getClass();
                this.mmlbmc_ = str;
                this.bitField0_ |= 65536;
                return this;
            }

            public Entrust setOwnratio(int i10) {
                this.ownratio_ = i10;
                this.bitField0_ |= 2;
                return this;
            }

            public Entrust setResetno(int i10) {
                this.resetno_ = i10;
                this.bitField0_ |= 2097152;
                return this;
            }

            public Entrust setSjwt(String str) {
                str.getClass();
                this.sjwt_ = str;
                this.bitField0_ |= 524288;
                return this;
            }

            public Entrust setStatuscode(int i10) {
                this.statuscode_ = i10;
                this.bitField0_ |= 131072;
                return this;
            }

            public Entrust setStatusmsg(String str) {
                str.getClass();
                this.statusmsg_ = str;
                this.bitField0_ |= 262144;
                return this;
            }

            public Entrust setStockCode(int i10) {
                this.stockCode_ = i10;
                this.bitField0_ |= 16;
                return this;
            }

            public Entrust setStockName(String str) {
                str.getClass();
                this.stockName_ = str;
                this.bitField0_ |= 32;
                return this;
            }

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

            public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
                if ((this.bitField0_ & 1) != 0) {
                    codedOutputByteBufferNano.writeUInt32(1, this.idx_);
                }
                if ((this.bitField0_ & 2) != 0) {
                    codedOutputByteBufferNano.writeUInt32(2, this.ownratio_);
                }
                if ((this.bitField0_ & 4) != 0) {
                    codedOutputByteBufferNano.writeUInt32(3, this.cancelamt_);
                }
                if ((this.bitField0_ & 8) != 0) {
                    codedOutputByteBufferNano.writeUInt64(4, this.entrusttime_);
                }
                if ((this.bitField0_ & 16) != 0) {
                    codedOutputByteBufferNano.writeUInt32(5, this.stockCode_);
                }
                if ((this.bitField0_ & 32) != 0) {
                    codedOutputByteBufferNano.writeString(6, this.stockName_);
                }
                if ((this.bitField0_ & 64) != 0) {
                    codedOutputByteBufferNano.writeString(7, this.codeName_);
                }
                if ((this.bitField0_ & 128) != 0) {
                    codedOutputByteBufferNano.writeUInt32(8, this.exchange_);
                }
                if ((this.bitField0_ & 256) != 0) {
                    codedOutputByteBufferNano.writeUInt64(9, this.category_);
                }
                if ((this.bitField0_ & 512) != 0) {
                    codedOutputByteBufferNano.writeUInt32(10, this.tradeSession_);
                }
                if ((this.bitField0_ & 1024) != 0) {
                    codedOutputByteBufferNano.writeString(11, this.businessflag_);
                }
                if ((this.bitField0_ & 2048) != 0) {
                    codedOutputByteBufferNano.writeUInt32(12, this.entrustamt_);
                }
                if ((this.bitField0_ & 4096) != 0) {
                    codedOutputByteBufferNano.writeUInt32(13, this.entrustprice_);
                }
                if ((this.bitField0_ & 8192) != 0) {
                    codedOutputByteBufferNano.writeUInt32(14, this.dealamt_);
                }
                if ((this.bitField0_ & 16384) != 0) {
                    codedOutputByteBufferNano.writeUInt32(15, this.dealprice_);
                }
                if ((this.bitField0_ & 32768) != 0) {
                    codedOutputByteBufferNano.writeUInt64(16, this.entrustNo_);
                }
                if ((this.bitField0_ & 65536) != 0) {
                    codedOutputByteBufferNano.writeString(17, this.mmlbmc_);
                }
                if ((this.bitField0_ & 131072) != 0) {
                    codedOutputByteBufferNano.writeInt32(18, this.statuscode_);
                }
                if ((this.bitField0_ & 262144) != 0) {
                    codedOutputByteBufferNano.writeString(19, this.statusmsg_);
                }
                if ((this.bitField0_ & 524288) != 0) {
                    codedOutputByteBufferNano.writeString(20, this.sjwt_);
                }
                if ((this.bitField0_ & 1048576) != 0) {
                    codedOutputByteBufferNano.writeUInt64(21, this.dealtime_);
                }
                if ((this.bitField0_ & 2097152) != 0) {
                    codedOutputByteBufferNano.writeUInt32(22, this.resetno_);
                }
                super.writeTo(codedOutputByteBufferNano);
            }

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

            public Entrust mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
                while (true) {
                    int readTag = codedInputByteBufferNano.readTag();
                    switch(readTag) {
                        case 0:
                            return this;
                        case 8:
                            this.idx_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 1;
                            break;
                        case 16:
                            this.ownratio_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 2;
                            break;
                        case 24:
                            this.cancelamt_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 4;
                            break;
                        case 32:
                            this.entrusttime_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 8;
                            break;
                        case 40:
                            this.stockCode_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 16;
                            break;
                        case 50:
                            this.stockName_ = codedInputByteBufferNano.readString();
                            this.bitField0_ |= 32;
                            break;
                        case 58:
                            this.codeName_ = codedInputByteBufferNano.readString();
                            this.bitField0_ |= 64;
                            break;
                        case 64:
                            this.exchange_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 128;
                            break;
                        case 72:
                            this.category_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 256;
                            break;
                        case 80:
                            this.tradeSession_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 512;
                            break;
                        case 90:
                            this.businessflag_ = codedInputByteBufferNano.readString();
                            this.bitField0_ |= 1024;
                            break;
                        case 96:
                            this.entrustamt_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 2048;
                            break;
                        case 104:
                            this.entrustprice_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 4096;
                            break;
                        case 112:
                            this.dealamt_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 8192;
                            break;
                        case 120:
                            this.dealprice_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 16384;
                            break;
                        case 128:
                            this.entrustNo_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 32768;
                            break;
                        case 138:
                            this.mmlbmc_ = codedInputByteBufferNano.readString();
                            this.bitField0_ |= 65536;
                            break;
                        case 144:
                            this.statuscode_ = codedInputByteBufferNano.readInt32();
                            this.bitField0_ |= 131072;
                            break;
                        case 154:
                            this.statusmsg_ = codedInputByteBufferNano.readString();
                            this.bitField0_ |= 262144;
                            break;
                        case 162:
                            this.sjwt_ = codedInputByteBufferNano.readString();
                            this.bitField0_ |= 524288;
                            break;
                        case 168:
                            this.dealtime_ = codedInputByteBufferNano.readUInt64();
                            this.bitField0_ |= 1048576;
                            break;
                        case 176:
                            this.resetno_ = codedInputByteBufferNano.readUInt32();
                            this.bitField0_ |= 2097152;
                            break;
                        default:
                            if (WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                                break;
                            } else {
                                return this;
                            }
                    }
                }
            }
        }

        public Entrust_Response() {
            clear();
        }

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

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

        public Entrust_Response clear() {
            this.bitField0_ = 0;
            this.requestParams = null;
            this.entrust = Entrust.emptyArray();
            this.totalnum_ = 0;
            this.cachedSize = -1;
            return this;
        }

        public Entrust_Response clearTotalnum() {
            this.totalnum_ = 0;
            this.bitField0_ &= -2;
            return this;
        }

        /* access modifiers changed from: protected */
        public int computeSerializedSize() {
            int computeSerializedSize = super.computeSerializedSize();
            EntrustRequest.Entrust_Request entrust_Request = this.requestParams;
            if (entrust_Request != null) {
                computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(1, entrust_Request);
            }
            Entrust[] entrustArr = this.entrust;
            if (entrustArr != null && entrustArr.length > 0) {
                int i10 = 0;
                while (true) {
                    Entrust[] entrustArr2 = this.entrust;
                    if (i10 >= entrustArr2.length) {
                        break;
                    }
                    Entrust entrust2 = entrustArr2[i10];
                    if (entrust2 != null) {
                        computeSerializedSize += CodedOutputByteBufferNano.computeMessageSize(2, entrust2);
                    }
                    i10++;
                }
            }
            if ((this.bitField0_ & 1) != 0) {
                return computeSerializedSize + CodedOutputByteBufferNano.computeUInt32Size(3, this.totalnum_);
            }
            return computeSerializedSize;
        }

        public int getTotalnum() {
            return this.totalnum_;
        }

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

        public Entrust_Response setTotalnum(int i10) {
            this.totalnum_ = i10;
            this.bitField0_ |= 1;
            return this;
        }

        public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
            EntrustRequest.Entrust_Request entrust_Request = this.requestParams;
            if (entrust_Request != null) {
                codedOutputByteBufferNano.writeMessage(1, entrust_Request);
            }
            Entrust[] entrustArr = this.entrust;
            if (entrustArr != null && entrustArr.length > 0) {
                int i10 = 0;
                while (true) {
                    Entrust[] entrustArr2 = this.entrust;
                    if (i10 >= entrustArr2.length) {
                        break;
                    }
                    Entrust entrust2 = entrustArr2[i10];
                    if (entrust2 != null) {
                        codedOutputByteBufferNano.writeMessage(2, entrust2);
                    }
                    i10++;
                }
            }
            if ((this.bitField0_ & 1) != 0) {
                codedOutputByteBufferNano.writeUInt32(3, this.totalnum_);
            }
            super.writeTo(codedOutputByteBufferNano);
        }

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

        public Entrust_Response mergeFrom(CodedInputByteBufferNano codedInputByteBufferNano) throws IOException {
            while (true) {
                int readTag = codedInputByteBufferNano.readTag();
                if (readTag == 0) {
                    return this;
                }
                if (readTag == 10) {
                    if (this.requestParams == null) {
                        this.requestParams = new EntrustRequest.Entrust_Request();
                    }
                    codedInputByteBufferNano.readMessage(this.requestParams);
                } else if (readTag == 18) {
                    int repeatedFieldArrayLength = WireFormatNano.getRepeatedFieldArrayLength(codedInputByteBufferNano, 18);
                    Entrust[] entrustArr = this.entrust;
                    int length = entrustArr == null ? 0 : entrustArr.length;
                    int i10 = repeatedFieldArrayLength + length;
                    Entrust[] entrustArr2 = new Entrust[i10];
                    if (length != 0) {
                        System.arraycopy(entrustArr, 0, entrustArr2, 0, length);
                    }
                    while (length < i10 - 1) {
                        Entrust entrust2 = new Entrust();
                        entrustArr2[length] = entrust2;
                        codedInputByteBufferNano.readMessage(entrust2);
                        codedInputByteBufferNano.readTag();
                        length++;
                    }
                    Entrust entrust3 = new Entrust();
                    entrustArr2[length] = entrust3;
                    codedInputByteBufferNano.readMessage(entrust3);
                    this.entrust = entrustArr2;
                } else if (readTag == 24) {
                    this.totalnum_ = codedInputByteBufferNano.readUInt32();
                    this.bitField0_ |= 1;
                } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                    return this;
                }
            }
        }
    }
}
