| 1 | <?php |
||
| 14 | class Dice extends \Google\Protobuf\Internal\Message |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * Generated from protobuf field <code>int32 value = 1;</code> |
||
| 18 | */ |
||
| 19 | private $value = 0; |
||
| 20 | /** |
||
| 21 | * Generated from protobuf field <code>string name = 2;</code> |
||
| 22 | */ |
||
| 23 | private $name = ''; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Constructor. |
||
| 27 | * |
||
| 28 | * @param array $data { |
||
| 29 | * Optional. Data for populating the Message object. |
||
| 30 | * |
||
| 31 | * @type int $value |
||
| 32 | * @type string $name |
||
| 33 | * } |
||
| 34 | */ |
||
| 35 | public function __construct($data = NULL) { |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Generated from protobuf field <code>int32 value = 1;</code> |
||
| 42 | * @return int |
||
| 43 | */ |
||
| 44 | public function getValue() |
||
| 48 | |||
| 49 | /** |
||
| 50 | * Generated from protobuf field <code>int32 value = 1;</code> |
||
| 51 | * @param int $var |
||
| 52 | * @return $this |
||
| 53 | */ |
||
| 54 | public function setValue($var) |
||
| 61 | |||
| 62 | /** |
||
| 63 | * Generated from protobuf field <code>string name = 2;</code> |
||
| 64 | * @return string |
||
| 65 | */ |
||
| 66 | public function getName() |
||
| 70 | |||
| 71 | /** |
||
| 72 | * Generated from protobuf field <code>string name = 2;</code> |
||
| 73 | * @param string $var |
||
| 74 | * @return $this |
||
| 75 | */ |
||
| 76 | public function setName($var) |
||
| 83 | |||
| 84 | } |
||
| 85 | |||
| 86 |