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

namespace Rv\Data\ProLink\HandlerOut;

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

/**
 * Generated from protobuf message <code>rv.data.ProLink.HandlerOut.ProPresenterInfo</code>
 */
class ProPresenterInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>.rv.data.ApplicationInfo.Platform platform = 1;</code>
     */
    protected $platform = 0;
    /**
     * Generated from protobuf field <code>string os_version = 2;</code>
     */
    protected $os_version = '';
    /**
     * Generated from protobuf field <code>string host_description = 3;</code>
     */
    protected $host_description = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $platform
     *     @type string $os_version
     *     @type string $host_description
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\ProApi::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>.rv.data.ApplicationInfo.Platform platform = 1;</code>
     * @return int
     */
    public function getPlatform()
    {
        return $this->platform;
    }

    /**
     * Generated from protobuf field <code>.rv.data.ApplicationInfo.Platform platform = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setPlatform($var)
    {
        GPBUtil::checkEnum($var, \Rv\Data\ApplicationInfo\Platform::class);
        $this->platform = $var;

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

}

