media-cloud-sync
/
includes
/
sdk
/
google
/
google
/
common-protos
/
src
/
Api
/
PythonSettings.php
PythonSettings.php in Media Cloud Sync 1.2.6, at includes/sdk/google/google/common-protos/src/Api/PythonSettings.php
| 1 | <?php |
| 2 | |
| 3 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 4 | # source: google/api/client.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 | * Settings for Python client libraries. |
| 12 | * |
| 13 | * Generated from protobuf message <code>google.api.PythonSettings</code> |
| 14 | */ |
| 15 | class PythonSettings extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message |
| 16 | { |
| 17 | /** |
| 18 | * Some settings. |
| 19 | * |
| 20 | * Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code> |
| 21 | */ |
| 22 | protected $common = null; |
| 23 | /** |
| 24 | * Constructor. |
| 25 | * |
| 26 | * @param array $data { |
| 27 | * Optional. Data for populating the Message object. |
| 28 | * |
| 29 | * @type \Google\Api\CommonLanguageSettings $common |
| 30 | * Some settings. |
| 31 | * } |
| 32 | */ |
| 33 | public function __construct($data = NULL) |
| 34 | { |
| 35 | \Dudlewebs\WPMCS\GPBMetadata\Google\Api\Client::initOnce(); |
| 36 | parent::__construct($data); |
| 37 | } |
| 38 | /** |
| 39 | * Some settings. |
| 40 | * |
| 41 | * Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code> |
| 42 | * @return \Google\Api\CommonLanguageSettings|null |
| 43 | */ |
| 44 | public function getCommon() |
| 45 | { |
| 46 | return $this->common; |
| 47 | } |
| 48 | public function hasCommon() |
| 49 | { |
| 50 | return isset($this->common); |
| 51 | } |
| 52 | public function clearCommon() |
| 53 | { |
| 54 | unset($this->common); |
| 55 | } |
| 56 | /** |
| 57 | * Some settings. |
| 58 | * |
| 59 | * Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code> |
| 60 | * @param \Google\Api\CommonLanguageSettings $var |
| 61 | * @return $this |
| 62 | */ |
| 63 | public function setCommon($var) |
| 64 | { |
| 65 | GPBUtil::checkMessage($var, \Dudlewebs\WPMCS\Google\Api\CommonLanguageSettings::class); |
| 66 | $this->common = $var; |
| 67 | return $this; |
| 68 | } |
| 69 | } |
| 70 |