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

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

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

        private static volatile ReportGroup_Response[] _emptyArray;

        public ReportGroupRequest.ReportGroup_Request input;

        public ReportGroup_Response() {
            clear();
        }

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

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

        public ReportGroup_Response clear() {
            this.input = null;
            this.cachedSize = -1;
            return this;
        }

        /* access modifiers changed from: protected */
        public int computeSerializedSize() {
            int computeSerializedSize = super.computeSerializedSize();
            ReportGroupRequest.ReportGroup_Request reportGroup_Request = this.input;
            if (reportGroup_Request != null) {
                return computeSerializedSize + CodedOutputByteBufferNano.computeMessageSize(1, reportGroup_Request);
            }
            return computeSerializedSize;
        }

        public void writeTo(CodedOutputByteBufferNano codedOutputByteBufferNano) throws IOException {
            ReportGroupRequest.ReportGroup_Request reportGroup_Request = this.input;
            if (reportGroup_Request != null) {
                codedOutputByteBufferNano.writeMessage(1, reportGroup_Request);
            }
            super.writeTo(codedOutputByteBufferNano);
        }

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

        public ReportGroup_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 ReportGroupRequest.ReportGroup_Request();
                    }
                    codedInputByteBufferNano.readMessage(this.input);
                } else if (!WireFormatNano.parseUnknownField(codedInputByteBufferNano, readTag)) {
                    return this;
                }
            }
        }
    }
}
