rv.analytics.UI.ClearGroups.Group.ChangeIcon */ class ChangeIcon extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.analytics.UI.ClearGroups.Group.ChangeIcon.IconType icon_type = 1; */ protected $icon_type = 0; /** * Generated from protobuf field bool is_tinted = 2; */ protected $is_tinted = false; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $icon_type * @type bool $is_tinted * } */ public function __construct($data = NULL) { \GPBMetadata\AnalyticsUI::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.analytics.UI.ClearGroups.Group.ChangeIcon.IconType icon_type = 1; * @return int */ public function getIconType() { return $this->icon_type; } /** * Generated from protobuf field .rv.analytics.UI.ClearGroups.Group.ChangeIcon.IconType icon_type = 1; * @param int $var * @return $this */ public function setIconType($var) { GPBUtil::checkEnum($var, \Rv\Analytics\UI\ClearGroups\Group\ChangeIcon\IconType::class); $this->icon_type = $var; return $this; } /** * Generated from protobuf field bool is_tinted = 2; * @return bool */ public function getIsTinted() { return $this->is_tinted; } /** * Generated from protobuf field bool is_tinted = 2; * @param bool $var * @return $this */ public function setIsTinted($var) { GPBUtil::checkBool($var); $this->is_tinted = $var; return $this; } }