| Total Complexity | 5 |
| Total Lines | 58 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | class PeerTime extends \Google\Protobuf\Internal\Message |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Generated from protobuf field <code>uint64 inc_num = 1;</code> |
||
| 20 | */ |
||
| 21 | private $inc_num = 0; |
||
| 22 | /** |
||
| 23 | * Generated from protobuf field <code>uint64 seq_num = 2;</code> |
||
| 24 | */ |
||
| 25 | private $seq_num = 0; |
||
| 26 | |||
| 27 | public function __construct() { |
||
| 28 | \GPBMetadata\Gossip\Message::initOnce(); |
||
| 29 | parent::__construct(); |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Generated from protobuf field <code>uint64 inc_num = 1;</code> |
||
| 34 | * @return int|string |
||
| 35 | */ |
||
| 36 | public function getIncNum() |
||
| 37 | { |
||
| 38 | return $this->inc_num; |
||
| 39 | } |
||
| 40 | |||
| 41 | /** |
||
| 42 | * Generated from protobuf field <code>uint64 inc_num = 1;</code> |
||
| 43 | * @param int|string $var |
||
| 44 | * @return $this |
||
| 45 | */ |
||
| 46 | public function setIncNum($var) |
||
| 47 | { |
||
| 48 | GPBUtil::checkUint64($var); |
||
| 49 | $this->inc_num = $var; |
||
| 50 | |||
| 51 | return $this; |
||
| 52 | } |
||
| 53 | |||
| 54 | /** |
||
| 55 | * Generated from protobuf field <code>uint64 seq_num = 2;</code> |
||
| 56 | * @return int|string |
||
| 57 | */ |
||
| 58 | public function getSeqNum() |
||
| 59 | { |
||
| 60 | return $this->seq_num; |
||
| 61 | } |
||
| 62 | |||
| 63 | /** |
||
| 64 | * Generated from protobuf field <code>uint64 seq_num = 2;</code> |
||
| 65 | * @param int|string $var |
||
| 66 | * @return $this |
||
| 67 | */ |
||
| 68 | public function setSeqNum($var) |
||
| 69 | { |
||
| 70 | GPBUtil::checkUint64($var); |
||
| 71 | $this->seq_num = $var; |
||
| 72 | |||
| 73 | return $this; |
||
| 74 | } |
||
| 78 |