<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: analyticsTriggerCue.proto

namespace Rv\Analytics\Trigger\Cue;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Generated from protobuf message <code>rv.analytics.trigger.cue.SlideRssFeedElement</code>
 */
class SlideRssFeedElement extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.analytics.trigger.cue.SlideRssFeedElement.Content content = 1;</code>
     */
    protected $content = 0;
    /**
     * Generated from protobuf field <code>bool is_delimiter_enabled = 2;</code>
     */
    protected $is_delimiter_enabled = false;
    /**
     * Generated from protobuf field <code>.rv.analytics.trigger.cue.DestinationLayer destination_layer = 3;</code>
     */
    protected $destination_layer = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $content
     *     @type bool $is_delimiter_enabled
     *     @type int $destination_layer
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\AnalyticsTriggerCue::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.trigger.cue.SlideRssFeedElement.Content content = 1;</code>
     * @return int
     */
    public function getContent()
    {
        return $this->content;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.trigger.cue.SlideRssFeedElement.Content content = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setContent($var)
    {
        GPBUtil::checkEnum($var, \Rv\Analytics\Trigger\Cue\SlideRssFeedElement\Content::class);
        $this->content = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool is_delimiter_enabled = 2;</code>
     * @return bool
     */
    public function getIsDelimiterEnabled()
    {
        return $this->is_delimiter_enabled;
    }

    /**
     * Generated from protobuf field <code>bool is_delimiter_enabled = 2;</code>
     * @param bool $var
     * @return $this
     */
    public function setIsDelimiterEnabled($var)
    {
        GPBUtil::checkBool($var);
        $this->is_delimiter_enabled = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.trigger.cue.DestinationLayer destination_layer = 3;</code>
     * @return int
     */
    public function getDestinationLayer()
    {
        return $this->destination_layer;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.trigger.cue.DestinationLayer destination_layer = 3;</code>
     * @param int $var
     * @return $this
     */
    public function setDestinationLayer($var)
    {
        GPBUtil::checkEnum($var, \Rv\Analytics\Trigger\Cue\DestinationLayer::class);
        $this->destination_layer = $var;

        return $this;
    }

}

