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 ThemeFundResponse {

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

        private static volatile ThemeFund_Response[] _emptyArray;

        private int bitField0_;

        private String bizName_;

        public SortedListResponse.SortedList_Response response;

        public ThemeFund_Response() {
            clear();
        }

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

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

        public ThemeFund_Response clear() {
            this.bitField0_ = 0;
            this.bizName_ = "";
            this.response = null;
            this.cachedSize = -1;
            return this;
        }

        public ThemeFund_Response clearBizName() {
            this.bizName_ = "";
            this.bitField0_ &= -2;
            return this;
        }

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

        public String getBizName() {
            return this.bizName_;
        }

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

        public ThemeFund_Response setBizName(String str) {
            str.getClass();
            this.bizName_ = str;
            this.bitField0_ |= 1;
            return this;
        }

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

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

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