/home/storage/f/3f/a5/aloic1/public_html/core/vendor/google/gax/src/Testing/MockRequest.php
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: Testing/mocks.proto
namespace Google\ApiCore\Testing;
use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;
/**
* Generated from protobuf message <code>google.apicore.testing.MockRequest</code>
*/
class MockRequest extends \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) {
\GPBMetadata\ApiCore\Testing\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;
}
}
@LwBee Strong Bypass
Upload File
Create New File