rv.analytics.trackedevents.Print */ class PBPrint extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field uint32 document_count = 1; */ protected $document_count = 0; /** * Generated from protobuf field .rv.analytics.trackedevents.Print.PrintMode mode = 2; */ protected $mode = 0; /** * Generated from protobuf field bool include_metadata = 3; */ protected $include_metadata = false; /** * Generated from protobuf field bool include_presentation_notes = 4; */ protected $include_presentation_notes = false; /** * Generated from protobuf field bool include_currentDate = 5; */ protected $include_currentDate = false; /** * Generated from protobuf field bool include_slide_labels = 6; */ protected $include_slide_labels = false; /** * Generated from protobuf field bool include_slide_notes = 7; */ protected $include_slide_notes = false; /** * Generated from protobuf field bool include_disabled_slides = 8; */ protected $include_disabled_slides = false; /** * Generated from protobuf field uint32 number_columns = 9; */ protected $number_columns = 0; /** * Generated from protobuf field string print_to_device = 10; */ protected $print_to_device = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $document_count * @type int $mode * @type bool $include_metadata * @type bool $include_presentation_notes * @type bool $include_currentDate * @type bool $include_slide_labels * @type bool $include_slide_notes * @type bool $include_disabled_slides * @type int $number_columns * @type string $print_to_device * } */ public function __construct($data = NULL) { \GPBMetadata\AnalyticsTrackedEvents::initOnce(); parent::__construct($data); } /** * Generated from protobuf field uint32 document_count = 1; * @return int */ public function getDocumentCount() { return $this->document_count; } /** * Generated from protobuf field uint32 document_count = 1; * @param int $var * @return $this */ public function setDocumentCount($var) { GPBUtil::checkUint32($var); $this->document_count = $var; return $this; } /** * Generated from protobuf field .rv.analytics.trackedevents.Print.PrintMode mode = 2; * @return int */ public function getMode() { return $this->mode; } /** * Generated from protobuf field .rv.analytics.trackedevents.Print.PrintMode mode = 2; * @param int $var * @return $this */ public function setMode($var) { GPBUtil::checkEnum($var, \Rv\Analytics\Trackedevents\PBPrint\PrintMode::class); $this->mode = $var; return $this; } /** * Generated from protobuf field bool include_metadata = 3; * @return bool */ public function getIncludeMetadata() { return $this->include_metadata; } /** * Generated from protobuf field bool include_metadata = 3; * @param bool $var * @return $this */ public function setIncludeMetadata($var) { GPBUtil::checkBool($var); $this->include_metadata = $var; return $this; } /** * Generated from protobuf field bool include_presentation_notes = 4; * @return bool */ public function getIncludePresentationNotes() { return $this->include_presentation_notes; } /** * Generated from protobuf field bool include_presentation_notes = 4; * @param bool $var * @return $this */ public function setIncludePresentationNotes($var) { GPBUtil::checkBool($var); $this->include_presentation_notes = $var; return $this; } /** * Generated from protobuf field bool include_currentDate = 5; * @return bool */ public function getIncludeCurrentDate() { return $this->include_currentDate; } /** * Generated from protobuf field bool include_currentDate = 5; * @param bool $var * @return $this */ public function setIncludeCurrentDate($var) { GPBUtil::checkBool($var); $this->include_currentDate = $var; return $this; } /** * Generated from protobuf field bool include_slide_labels = 6; * @return bool */ public function getIncludeSlideLabels() { return $this->include_slide_labels; } /** * Generated from protobuf field bool include_slide_labels = 6; * @param bool $var * @return $this */ public function setIncludeSlideLabels($var) { GPBUtil::checkBool($var); $this->include_slide_labels = $var; return $this; } /** * Generated from protobuf field bool include_slide_notes = 7; * @return bool */ public function getIncludeSlideNotes() { return $this->include_slide_notes; } /** * Generated from protobuf field bool include_slide_notes = 7; * @param bool $var * @return $this */ public function setIncludeSlideNotes($var) { GPBUtil::checkBool($var); $this->include_slide_notes = $var; return $this; } /** * Generated from protobuf field bool include_disabled_slides = 8; * @return bool */ public function getIncludeDisabledSlides() { return $this->include_disabled_slides; } /** * Generated from protobuf field bool include_disabled_slides = 8; * @param bool $var * @return $this */ public function setIncludeDisabledSlides($var) { GPBUtil::checkBool($var); $this->include_disabled_slides = $var; return $this; } /** * Generated from protobuf field uint32 number_columns = 9; * @return int */ public function getNumberColumns() { return $this->number_columns; } /** * Generated from protobuf field uint32 number_columns = 9; * @param int $var * @return $this */ public function setNumberColumns($var) { GPBUtil::checkUint32($var); $this->number_columns = $var; return $this; } /** * Generated from protobuf field string print_to_device = 10; * @return string */ public function getPrintToDevice() { return $this->print_to_device; } /** * Generated from protobuf field string print_to_device = 10; * @param string $var * @return $this */ public function setPrintToDevice($var) { GPBUtil::checkString($var, True); $this->print_to_device = $var; return $this; } }