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

namespace Rv\Data\TestPatternDocument;

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

/**
 * Generated from protobuf message <code>rv.data.TestPatternDocument.TestPatternStateData</code>
 */
class TestPatternStateData extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.UUID test_pattern_id = 1;</code>
     */
    protected $test_pattern_id = null;
    /**
     * Generated from protobuf field <code>string test_pattern_name_localization_key = 2;</code>
     */
    protected $test_pattern_name_localization_key = '';
    /**
     * Generated from protobuf field <code>.rv.data.TestPatternState.DisplayLocation display_location = 3;</code>
     */
    protected $display_location = 0;
    /**
     * Generated from protobuf field <code>.rv.data.UUID specific_screen = 4;</code>
     */
    protected $specific_screen = null;
    /**
     * Generated from protobuf field <code>bool identify_screens = 5;</code>
     */
    protected $identify_screens = false;
    /**
     * Generated from protobuf field <code>.rv.data.LogoType logo_type = 6;</code>
     */
    protected $logo_type = 0;
    /**
     * Generated from protobuf field <code>.rv.data.URL user_logo_location = 7;</code>
     */
    protected $user_logo_location = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Rv\Data\UUID $test_pattern_id
     *     @type string $test_pattern_name_localization_key
     *     @type int $display_location
     *     @type \Rv\Data\UUID $specific_screen
     *     @type bool $identify_screens
     *     @type int $logo_type
     *     @type \Rv\Data\URL $user_logo_location
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\TestPattern::initOnce();
        parent::__construct($data);
    }

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

    public function hasTestPatternId()
    {
        return isset($this->test_pattern_id);
    }

    public function clearTestPatternId()
    {
        unset($this->test_pattern_id);
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string test_pattern_name_localization_key = 2;</code>
     * @return string
     */
    public function getTestPatternNameLocalizationKey()
    {
        return $this->test_pattern_name_localization_key;
    }

    /**
     * Generated from protobuf field <code>string test_pattern_name_localization_key = 2;</code>
     * @param string $var
     * @return $this
     */
    public function setTestPatternNameLocalizationKey($var)
    {
        GPBUtil::checkString($var, True);
        $this->test_pattern_name_localization_key = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.TestPatternState.DisplayLocation display_location = 3;</code>
     * @return int
     */
    public function getDisplayLocation()
    {
        return $this->display_location;
    }

    /**
     * Generated from protobuf field <code>.rv.data.TestPatternState.DisplayLocation display_location = 3;</code>
     * @param int $var
     * @return $this
     */
    public function setDisplayLocation($var)
    {
        GPBUtil::checkEnum($var, \Rv\Data\TestPatternState\DisplayLocation::class);
        $this->display_location = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.UUID specific_screen = 4;</code>
     * @return \Rv\Data\UUID|null
     */
    public function getSpecificScreen()
    {
        return $this->specific_screen;
    }

    public function hasSpecificScreen()
    {
        return isset($this->specific_screen);
    }

    public function clearSpecificScreen()
    {
        unset($this->specific_screen);
    }

    /**
     * Generated from protobuf field <code>.rv.data.UUID specific_screen = 4;</code>
     * @param \Rv\Data\UUID $var
     * @return $this
     */
    public function setSpecificScreen($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\UUID::class);
        $this->specific_screen = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool identify_screens = 5;</code>
     * @return bool
     */
    public function getIdentifyScreens()
    {
        return $this->identify_screens;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.LogoType logo_type = 6;</code>
     * @return int
     */
    public function getLogoType()
    {
        return $this->logo_type;
    }

    /**
     * Generated from protobuf field <code>.rv.data.LogoType logo_type = 6;</code>
     * @param int $var
     * @return $this
     */
    public function setLogoType($var)
    {
        GPBUtil::checkEnum($var, \Rv\Data\LogoType::class);
        $this->logo_type = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.data.URL user_logo_location = 7;</code>
     * @return \Rv\Data\URL|null
     */
    public function getUserLogoLocation()
    {
        return $this->user_logo_location;
    }

    public function hasUserLogoLocation()
    {
        return isset($this->user_logo_location);
    }

    public function clearUserLogoLocation()
    {
        unset($this->user_logo_location);
    }

    /**
     * Generated from protobuf field <code>.rv.data.URL user_logo_location = 7;</code>
     * @param \Rv\Data\URL $var
     * @return $this
     */
    public function setUserLogoLocation($var)
    {
        GPBUtil::checkMessage($var, \Rv\Data\URL::class);
        $this->user_logo_location = $var;

        return $this;
    }

}

