| Server IP : 34.87.99.72 / Your IP : 216.73.217.31 Web Server : Apache/2.4.46 (Unix) OpenSSL/1.1.1n System : Linux zlock-bitnami-lamp-prod-v2-vm 4.19.0-16-cloud-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 User : bitnami ( 1000) PHP Version : 7.4.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /opt/bitnami/apache/htdocs/app/vendor/google/gax/src/Testing/ |
Upload File : |
<?php
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: Testing/mocks.proto
namespace Google\ApiCore\Testing;
use Google\Protobuf\Internal\GPBUtil;
use GPBMetadata\ApiCore\Testing\Mocks;
/**
* Generated from protobuf message <code>google.apicore.testing.MockRequest</code>
*
* @internal
*/
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) {
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;
}
}