<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: proApiV1Miscellaneous.proto

namespace Rv\Data;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Generated from protobuf message <code>rv.data.API_v1_Miscellaneous_Request</code>
 */
class API_v1_Miscellaneous_Request extends \Google\Protobuf\Internal\Message
{
    protected $Request;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\API_v1_Miscellaneous_Request\FindMyMouse $find_my_mouse
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApiV1Miscellaneous::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Miscellaneous_Request.FindMyMouse find_my_mouse = 1;</code>
     * @return \Rv\Data\API_v1_Miscellaneous_Request\FindMyMouse|null
     */
    public function getFindMyMouse()
    {
        return $this->readOneof(1);
    }

    public function hasFindMyMouse()
    {
        return $this->hasOneof(1);
    }

    /**
     * Generated from protobuf field <code>.rv.data.API_v1_Miscellaneous_Request.FindMyMouse find_my_mouse = 1;</code>
     * @param \Rv\Data\API_v1_Miscellaneous_Request\FindMyMouse $var
     * @return $this
     */
    public function setFindMyMouse($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\API_v1_Miscellaneous_Request\FindMyMouse::class);
        $this->writeOneof(1, $var);

        return $this;
    }

    /**
     * @return string
     */
    public function getRequest()
    {
        return $this->whichOneof("Request");
    }

}

