rv.analytics.Sync.Local */ class Local extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .rv.analytics.Sync.Local.SyncType sync_type = 1; */ protected $sync_type = 0; /** * Generated from protobuf field bool include_library = 2; */ protected $include_library = false; /** * Generated from protobuf field bool include_media = 3; */ protected $include_media = false; /** * Generated from protobuf field bool include_playlists = 4; */ protected $include_playlists = false; /** * Generated from protobuf field bool include_themes = 5; */ protected $include_themes = false; /** * Generated from protobuf field bool include_support_files = 6; */ protected $include_support_files = false; /** * Generated from protobuf field bool replace_files = 7; */ protected $replace_files = false; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $sync_type * @type bool $include_library * @type bool $include_media * @type bool $include_playlists * @type bool $include_themes * @type bool $include_support_files * @type bool $replace_files * } */ public function __construct($data = NULL) { \GPBMetadata\AnalyticsSync::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .rv.analytics.Sync.Local.SyncType sync_type = 1; * @return int */ public function getSyncType() { return $this->sync_type; } /** * Generated from protobuf field .rv.analytics.Sync.Local.SyncType sync_type = 1; * @param int $var * @return $this */ public function setSyncType($var) { GPBUtil::checkEnum($var, \Rv\Analytics\Sync\Local\SyncType::class); $this->sync_type = $var; return $this; } /** * Generated from protobuf field bool include_library = 2; * @return bool */ public function getIncludeLibrary() { return $this->include_library; } /** * Generated from protobuf field bool include_library = 2; * @param bool $var * @return $this */ public function setIncludeLibrary($var) { GPBUtil::checkBool($var); $this->include_library = $var; return $this; } /** * Generated from protobuf field bool include_media = 3; * @return bool */ public function getIncludeMedia() { return $this->include_media; } /** * Generated from protobuf field bool include_media = 3; * @param bool $var * @return $this */ public function setIncludeMedia($var) { GPBUtil::checkBool($var); $this->include_media = $var; return $this; } /** * Generated from protobuf field bool include_playlists = 4; * @return bool */ public function getIncludePlaylists() { return $this->include_playlists; } /** * Generated from protobuf field bool include_playlists = 4; * @param bool $var * @return $this */ public function setIncludePlaylists($var) { GPBUtil::checkBool($var); $this->include_playlists = $var; return $this; } /** * Generated from protobuf field bool include_themes = 5; * @return bool */ public function getIncludeThemes() { return $this->include_themes; } /** * Generated from protobuf field bool include_themes = 5; * @param bool $var * @return $this */ public function setIncludeThemes($var) { GPBUtil::checkBool($var); $this->include_themes = $var; return $this; } /** * Generated from protobuf field bool include_support_files = 6; * @return bool */ public function getIncludeSupportFiles() { return $this->include_support_files; } /** * Generated from protobuf field bool include_support_files = 6; * @param bool $var * @return $this */ public function setIncludeSupportFiles($var) { GPBUtil::checkBool($var); $this->include_support_files = $var; return $this; } /** * Generated from protobuf field bool replace_files = 7; * @return bool */ public function getReplaceFiles() { return $this->replace_files; } /** * Generated from protobuf field bool replace_files = 7; * @param bool $var * @return $this */ public function setReplaceFiles($var) { GPBUtil::checkBool($var); $this->replace_files = $var; return $this; } }