PluginProbe
Media Cloud Sync / 1.2.2
Media Cloud Sync v1.2.2
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 / protobuf / src / Google / Protobuf / BoolValue.php

BoolValue.php in Media Cloud Sync 1.2.2, at includes/sdk/google/google/protobuf/src/Google/Protobuf/BoolValue.php

63 lines 1.6 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/protobuf/wrappers.proto
5 namespace Dudlewebs\WPMCS\Google\Protobuf;
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 * Wrapper message for `bool`.
12 * The JSON representation for `BoolValue` is JSON `true` and `false`.
13 *
14 * Generated from protobuf message <code>google.protobuf.BoolValue</code>
15 */
16 class BoolValue extends \Dudlewebs\WPMCS\Google\Protobuf\Internal\Message
17 {
18 /**
19 * The bool value.
20 *
21 * Generated from protobuf field <code>bool value = 1;</code>
22 */
23 protected $value = \false;
24 /**
25 * Constructor.
26 *
27 * @param array $data {
28 * Optional. Data for populating the Message object.
29 *
30 * @type bool $value
31 * The bool value.
32 * }
33 */
34 public function __construct($data = NULL)
35 {
36 \Dudlewebs\WPMCS\GPBMetadata\Google\Protobuf\Wrappers::initOnce();
37 parent::__construct($data);
38 }
39 /**
40 * The bool value.
41 *
42 * Generated from protobuf field <code>bool value = 1;</code>
43 * @return bool
44 */
45 public function getValue()
46 {
47 return $this->value;
48 }
49 /**
50 * The bool value.
51 *
52 * Generated from protobuf field <code>bool value = 1;</code>
53 * @param bool $var
54 * @return $this
55 */
56 public function setValue($var)
57 {
58 GPBUtil::checkBool($var);
59 $this->value = $var;
60 return $this;
61 }
62 }
63