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

namespace Rv\Data;

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

/**
 * Generated from protobuf message <code>rv.data.IdentificationOverlay</code>
 */
class IdentificationOverlay extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string screen_name = 3;</code>
     */
    protected $screen_name = '';
    /**
     * Generated from protobuf field <code>repeated .rv.data.IdentificationOverlay.Output outputs = 1;</code>
     */
    private $outputs;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $screen_name
     *     @type array<\Rv\Data\IdentificationOverlay\Output>|\Google\Protobuf\Internal\RepeatedField $outputs
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Rv2D::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>string screen_name = 3;</code>
     * @return string
     */
    public function getScreenName()
    {
        return $this->screen_name;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>repeated .rv.data.IdentificationOverlay.Output outputs = 1;</code>
     * @return \Google\Protobuf\Internal\RepeatedField
     */
    public function getOutputs()
    {
        return $this->outputs;
    }

    /**
     * Generated from protobuf field <code>repeated .rv.data.IdentificationOverlay.Output outputs = 1;</code>
     * @param array<\Rv\Data\IdentificationOverlay\Output>|\Google\Protobuf\Internal\RepeatedField $var
     * @return $this
     */
    public function setOutputs($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Rv\Data\IdentificationOverlay\Output::class);
        $this->outputs = $arr;

        return $this;
    }

}

