<?php

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: Testing/mocks.proto
namespace SEOPressPro\Vendor\Google\ApiCore\Testing;

use SEOPressPro\Vendor\Google\Protobuf\Internal\GPBUtil;
use SEOPressPro\Vendor\GPBMetadata\ApiCore\Testing\Mocks;
/**
 * Generated from protobuf message <code>google.apicore.testing.MockRequest</code>
 *
 * @internal
 */
class MockRequest extends \SEOPressPro\Vendor\Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string page_token = 1;</code>
     */
    protected $page_token = '';
    /**
     * Generated from protobuf field <code>uint64 page_size = 2;</code>
     */
    protected $page_size = 0;
    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $page_token
     *     @type int|string $page_size
     * }
     */
    public function __construct($data = NULL)
    {
        Mocks::initOnce();
        parent::__construct($data);
    }
    /**
     * Generated from protobuf field <code>string page_token = 1;</code>
     * @return string
     */
    public function getPageToken()
    {
        return $this->page_token;
    }
    /**
     * Generated from protobuf field <code>string page_token = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setPageToken($var)
    {
        GPBUtil::checkString($var, True);
        $this->page_token = $var;
        return $this;
    }
    /**
     * Generated from protobuf field <code>uint64 page_size = 2;</code>
     * @return int|string
     */
    public function getPageSize()
    {
        return $this->page_size;
    }
    /**
     * Generated from protobuf field <code>uint64 page_size = 2;</code>
     * @param int|string $var
     * @return $this
     */
    public function setPageSize($var)
    {
        GPBUtil::checkUint64($var);
        $this->page_size = $var;
        return $this;
    }
}
