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

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

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

        private static volatile ThemeFund_Request[] _emptyArray;

        private int bitField0_;

        private String bizName_;

        public SortedListRequest.SortedList_Request request;

        public ThemeFund_Request() {
            clear();
        }

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

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

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

        public ThemeFund_Request 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_);
            }
            SortedListRequest.SortedList_Request sortedList_Request = this.request;
            if (sortedList_Request != null) {
                return computeSerializedSize + CodedOutputByteBufferNano.computeMessageSize(2, sortedList_Request);
            }
            return computeSerializedSize;
        }

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

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

        public ThemeFund_Request 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_);
            }
            SortedListRequest.SortedList_Request sortedList_Request = this.request;
            if (sortedList_Request != null) {
                codedOutputByteBufferNano.writeMessage(2, sortedList_Request);
            }
            super.writeTo(codedOutputByteBufferNano);
        }

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

        public ThemeFund_Request 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.request == null) {
                        this.request = new SortedListRequest.SortedList_Request();
                    }
                    codedInputByteBufferNano.readMessage(this.request);
                } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                    return this;
                }
            }
        }
    }
}
