PluginProbe
Media Cloud Sync / 1.1.0
Media Cloud Sync v1.1.0
1.4.2 1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 All 36 releases
media-cloud-sync / includes / sdk / google / google / common-protos / src / Api / SystemParameter.php

SystemParameter.php in Media Cloud Sync 1.1.0, at includes/sdk/google/google/common-protos/src/Api/SystemParameter.php

134 lines 4.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 # Generated by the protocol buffer compiler. DO NOT EDIT!
4 # source: google/api/system_parameter.proto
5 namespace Dudlewebs\WPMCS\Google\Api;
6
7 use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBType;
8 use Dudlewebs\WPMCS\Google\Protobuf\Internal\RepeatedField;
9 use Dudlewebs\WPMCS\Google\Protobuf\Internal\GPBUtil;
10 /**
11 * Define a parameter's name and location. The parameter may be passed as either
12 * an HTTP header or a URL query parameter, and if both are passed the behavior
13 * is implementation-dependent.
14 *
15 * Generated from protobuf message <code>google.api.SystemParameter</code>
16 */
17 class SystemParameter extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
18 {
19 /**
20 * Define the name of the parameter, such as "api_key" . It is case sensitive.
21 *
22 * Generated from protobuf field <code>string name = 1;</code>
23 */
24 protected $name = '';
25 /**
26 * Define the HTTP header name to use for the parameter. It is case
27 * insensitive.
28 *
29 * Generated from protobuf field <code>string http_header = 2;</code>
30 */
31 protected $http_header = '';
32 /**
33 * Define the URL query parameter name to use for the parameter. It is case
34 * sensitive.
35 *
36 * Generated from protobuf field <code>string url_query_parameter = 3;</code>
37 */
38 protected $url_query_parameter = '';
39 /**
40 * Constructor.
41 *
42 * @param array $data {
43 * Optional. Data for populating the Message object.
44 *
45 * @type string $name
46 * Define the name of the parameter, such as "api_key" . It is case sensitive.
47 * @type string $http_header
48 * Define the HTTP header name to use for the parameter. It is case
49 * insensitive.
50 * @type string $url_query_parameter
51 * Define the URL query parameter name to use for the parameter. It is case
52 * sensitive.
53 * }
54 */
55 public function __construct($data = NULL)
56 {
57 \Dudlewebs\WPMCS\GPBMetadata\Google\Api\SystemParameter::initOnce();
58 parent::__construct($data);
59 }
60 /**
61 * Define the name of the parameter, such as "api_key" . It is case sensitive.
62 *
63 * Generated from protobuf field <code>string name = 1;</code>
64 * @return string
65 */
66 public function getName()
67 {
68 return $this->name;
69 }
70 /**
71 * Define the name of the parameter, such as "api_key" . It is case sensitive.
72 *
73 * Generated from protobuf field <code>string name = 1;</code>
74 * @param string $var
75 * @return $this
76 */
77 public function setName($var)
78 {
79 GPBUtil::checkString($var, True);
80 $this->name = $var;
81 return $this;
82 }
83 /**
84 * Define the HTTP header name to use for the parameter. It is case
85 * insensitive.
86 *
87 * Generated from protobuf field <code>string http_header = 2;</code>
88 * @return string
89 */
90 public function getHttpHeader()
91 {
92 return $this->http_header;
93 }
94 /**
95 * Define the HTTP header name to use for the parameter. It is case
96 * insensitive.
97 *
98 * Generated from protobuf field <code>string http_header = 2;</code>
99 * @param string $var
100 * @return $this
101 */
102 public function setHttpHeader($var)
103 {
104 GPBUtil::checkString($var, True);
105 $this->http_header = $var;
106 return $this;
107 }
108 /**
109 * Define the URL query parameter name to use for the parameter. It is case
110 * sensitive.
111 *
112 * Generated from protobuf field <code>string url_query_parameter = 3;</code>
113 * @return string
114 */
115 public function getUrlQueryParameter()
116 {
117 return $this->url_query_parameter;
118 }
119 /**
120 * Define the URL query parameter name to use for the parameter. It is case
121 * sensitive.
122 *
123 * Generated from protobuf field <code>string url_query_parameter = 3;</code>
124 * @param string $var
125 * @return $this
126 */
127 public function setUrlQueryParameter($var)
128 {
129 GPBUtil::checkString($var, True);
130 $this->url_query_parameter = $var;
131 return $this;
132 }
133 }
134