rv.data.API_v1_Timer_Request.TimerIncrement */ class TimerIncrement extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string id = 1; */ protected $id = ''; /** * Generated from protobuf field double amount = 2; */ protected $amount = 0.0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $id * @type float $amount * } */ public function __construct($data = NULL) { \GPBMetadata\ProApiV1Timer::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string id = 1; * @return string */ public function getId() { return $this->id; } /** * Generated from protobuf field string id = 1; * @param string $var * @return $this */ public function setId($var) { GPBUtil::checkString($var, True); $this->id = $var; return $this; } /** * Generated from protobuf field double amount = 2; * @return float */ public function getAmount() { return $this->amount; } /** * Generated from protobuf field double amount = 2; * @param float $var * @return $this */ public function setAmount($var) { GPBUtil::checkDouble($var); $this->amount = $var; return $this; } }