PluginProbe ʕ •ᴥ•ʔ
ShareThis Dashboard for Google Analytics / 3.3.0
ShareThis Dashboard for Google Analytics v3.3.0
3.3.2 trunk 1.0.7 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.1 2.1.2 2.1.3 2.1.4 2.1.5 2.2.5 2.3.5 2.3.6 2.3.7 2.3.8 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 3.0.0 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.3.0 3.3.1
googleanalytics / lib / analytics-admin / vendor / google / gax / src / Testing / MockRequest.php
googleanalytics / lib / analytics-admin / vendor / google / gax / src / Testing Last commit date
GeneratedTest.php 3 years ago MessageAwareArrayComparator.php 3 years ago MessageAwareExporter.php 3 years ago MockBidiStreamingCall.php 3 years ago MockClientStreamingCall.php 3 years ago MockGrpcTransport.php 3 years ago MockRequest.php 3 years ago MockRequestBody.php 3 years ago MockResponse.php 3 years ago MockServerStreamingCall.php 3 years ago MockStatus.php 3 years ago MockStubTrait.php 3 years ago MockTransport.php 3 years ago MockUnaryCall.php 3 years ago ProtobufGPBEmptyComparator.php 3 years ago ProtobufMessageComparator.php 3 years ago ReceivedRequest.php 3 years ago SerializationTrait.php 3 years ago mocks.proto 3 years ago
MockRequest.php
87 lines
1 <?php
2 # Generated by the protocol buffer compiler. DO NOT EDIT!
3 # source: Testing/mocks.proto
4
5 namespace Google\ApiCore\Testing;
6
7 use Google\Protobuf\Internal\GPBUtil;
8 use GPBMetadata\ApiCore\Testing\Mocks;
9
10 /**
11 * Generated from protobuf message <code>google.apicore.testing.MockRequest</code>
12 *
13 * @internal
14 */
15 class MockRequest extends \Google\Protobuf\Internal\Message
16 {
17 /**
18 * Generated from protobuf field <code>string page_token = 1;</code>
19 */
20 protected $page_token = '';
21 /**
22 * Generated from protobuf field <code>uint64 page_size = 2;</code>
23 */
24 protected $page_size = 0;
25
26 /**
27 * Constructor.
28 *
29 * @param array $data {
30 * Optional. Data for populating the Message object.
31 *
32 * @type string $page_token
33 * @type int|string $page_size
34 * }
35 */
36 public function __construct($data = NULL) {
37 Mocks::initOnce();
38 parent::__construct($data);
39 }
40
41 /**
42 * Generated from protobuf field <code>string page_token = 1;</code>
43 * @return string
44 */
45 public function getPageToken()
46 {
47 return $this->page_token;
48 }
49
50 /**
51 * Generated from protobuf field <code>string page_token = 1;</code>
52 * @param string $var
53 * @return $this
54 */
55 public function setPageToken($var)
56 {
57 GPBUtil::checkString($var, True);
58 $this->page_token = $var;
59
60 return $this;
61 }
62
63 /**
64 * Generated from protobuf field <code>uint64 page_size = 2;</code>
65 * @return int|string
66 */
67 public function getPageSize()
68 {
69 return $this->page_size;
70 }
71
72 /**
73 * Generated from protobuf field <code>uint64 page_size = 2;</code>
74 * @param int|string $var
75 * @return $this
76 */
77 public function setPageSize($var)
78 {
79 GPBUtil::checkUint64($var);
80 $this->page_size = $var;
81
82 return $this;
83 }
84
85 }
86
87