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

namespace Rv\Data\NetworkAPI\Action\API_Trigger\Presentation;

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

/**
 * Generated from protobuf message <code>rv.data.NetworkAPI.Action.API_Trigger.Presentation.LibraryPresentation</code>
 */
class LibraryPresentation extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.NetworkAPI.IndexOrNameIdentifier library_component = 1;</code>
     */
    protected $library_component = null;
    /**
     * Generated from protobuf field <code>.rv.data.NetworkAPI.IndexOrNameIdentifier presentation_component = 2;</code>
     */
    protected $presentation_component = null;
    /**
     * Generated from protobuf field <code>.rv.data.NetworkAPI.IndexOrNameIdentifier cue_component = 3;</code>
     */
    protected $cue_component = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\NetworkAPI\IndexOrNameIdentifier $library_component
     *     @type \Rv\Data\NetworkAPI\IndexOrNameIdentifier $presentation_component
     *     @type \Rv\Data\NetworkAPI\IndexOrNameIdentifier $cue_component
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApi::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.NetworkAPI.IndexOrNameIdentifier library_component = 1;</code>
     * @return \Rv\Data\NetworkAPI\IndexOrNameIdentifier|null
     */
    public function getLibraryComponent()
    {
        return $this->library_component;
    }

    public function hasLibraryComponent()
    {
        return isset($this->library_component);
    }

    public function clearLibraryComponent()
    {
        unset($this->library_component);
    }

    /**
     * Generated from protobuf field <code>.rv.data.NetworkAPI.IndexOrNameIdentifier library_component = 1;</code>
     * @param \Rv\Data\NetworkAPI\IndexOrNameIdentifier $var
     * @return $this
     */
    public function setLibraryComponent($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\IndexOrNameIdentifier::class);
        $this->library_component = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.NetworkAPI.IndexOrNameIdentifier presentation_component = 2;</code>
     * @return \Rv\Data\NetworkAPI\IndexOrNameIdentifier|null
     */
    public function getPresentationComponent()
    {
        return $this->presentation_component;
    }

    public function hasPresentationComponent()
    {
        return isset($this->presentation_component);
    }

    public function clearPresentationComponent()
    {
        unset($this->presentation_component);
    }

    /**
     * Generated from protobuf field <code>.rv.data.NetworkAPI.IndexOrNameIdentifier presentation_component = 2;</code>
     * @param \Rv\Data\NetworkAPI\IndexOrNameIdentifier $var
     * @return $this
     */
    public function setPresentationComponent($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\IndexOrNameIdentifier::class);
        $this->presentation_component = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.NetworkAPI.IndexOrNameIdentifier cue_component = 3;</code>
     * @return \Rv\Data\NetworkAPI\IndexOrNameIdentifier|null
     */
    public function getCueComponent()
    {
        return $this->cue_component;
    }

    public function hasCueComponent()
    {
        return isset($this->cue_component);
    }

    public function clearCueComponent()
    {
        unset($this->cue_component);
    }

    /**
     * Generated from protobuf field <code>.rv.data.NetworkAPI.IndexOrNameIdentifier cue_component = 3;</code>
     * @param \Rv\Data\NetworkAPI\IndexOrNameIdentifier $var
     * @return $this
     */
    public function setCueComponent($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\NetworkAPI\IndexOrNameIdentifier::class);
        $this->cue_component = $var;

        return $this;
    }

}

