rv.analytics.Trigger.Action.Message */ class Message extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field int32 token_count = 1; */ protected $token_count = 0; /** * Generated from protobuf field int32 text_token_count = 2; */ protected $text_token_count = 0; /** * Generated from protobuf field int32 timer_token_count = 3; */ protected $timer_token_count = 0; /** * Generated from protobuf field int32 clock_token_count = 4; */ protected $clock_token_count = 0; /** * Generated from protobuf field int32 showing_count = 5; */ protected $showing_count = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $token_count * @type int $text_token_count * @type int $timer_token_count * @type int $clock_token_count * @type int $showing_count * } */ public function __construct($data = NULL) { \GPBMetadata\AnalyticsTrigger::initOnce(); parent::__construct($data); } /** * Generated from protobuf field int32 token_count = 1; * @return int */ public function getTokenCount() { return $this->token_count; } /** * Generated from protobuf field int32 token_count = 1; * @param int $var * @return $this */ public function setTokenCount($var) { GPBUtil::checkInt32($var); $this->token_count = $var; return $this; } /** * Generated from protobuf field int32 text_token_count = 2; * @return int */ public function getTextTokenCount() { return $this->text_token_count; } /** * Generated from protobuf field int32 text_token_count = 2; * @param int $var * @return $this */ public function setTextTokenCount($var) { GPBUtil::checkInt32($var); $this->text_token_count = $var; return $this; } /** * Generated from protobuf field int32 timer_token_count = 3; * @return int */ public function getTimerTokenCount() { return $this->timer_token_count; } /** * Generated from protobuf field int32 timer_token_count = 3; * @param int $var * @return $this */ public function setTimerTokenCount($var) { GPBUtil::checkInt32($var); $this->timer_token_count = $var; return $this; } /** * Generated from protobuf field int32 clock_token_count = 4; * @return int */ public function getClockTokenCount() { return $this->clock_token_count; } /** * Generated from protobuf field int32 clock_token_count = 4; * @param int $var * @return $this */ public function setClockTokenCount($var) { GPBUtil::checkInt32($var); $this->clock_token_count = $var; return $this; } /** * Generated from protobuf field int32 showing_count = 5; * @return int */ public function getShowingCount() { return $this->showing_count; } /** * Generated from protobuf field int32 showing_count = 5; * @param int $var * @return $this */ public function setShowingCount($var) { GPBUtil::checkInt32($var); $this->showing_count = $var; return $this; } }