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

namespace Rv\Analytics\Trackedevents;

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

/**
 * Generated from protobuf message <code>rv.analytics.trackedevents.ApplicationLaunch</code>
 */
class ApplicationLaunch extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>string hardware_id = 1;</code>
     */
    protected $hardware_id = '';
    /**
     * Generated from protobuf field <code>.rv.analytics.trackedevents.ApplicationLaunch.Channel channel = 2;</code>
     */
    protected $channel = 0;
    /**
     * Generated from protobuf field <code>.rv.analytics.trackedevents.ApplicationLaunch.Platform platform = 3;</code>
     */
    protected $platform = 0;
    /**
     * Generated from protobuf field <code>string app_version = 4;</code>
     */
    protected $app_version = '';
    /**
     * Generated from protobuf field <code>string os_version = 5;</code>
     */
    protected $os_version = '';
    /**
     * Generated from protobuf field <code>string build_number = 6;</code>
     */
    protected $build_number = '';
    /**
     * Generated from protobuf field <code>string location = 7;</code>
     */
    protected $location = '';
    /**
     * Generated from protobuf field <code>string language = 8;</code>
     */
    protected $language = '';
    /**
     * Generated from protobuf field <code>string hardware_model = 9;</code>
     */
    protected $hardware_model = '';
    /**
     * Generated from protobuf field <code>uint64 physical_memory = 10;</code>
     */
    protected $physical_memory = 0;
    /**
     * Generated from protobuf field <code>string video_controller = 11;</code>
     */
    protected $video_controller = '';
    /**
     * Generated from protobuf field <code>uint64 video_controller_ram = 12;</code>
     */
    protected $video_controller_ram = 0;
    /**
     * Generated from protobuf field <code>string blackmagic_desktop_version = 13;</code>
     */
    protected $blackmagic_desktop_version = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $hardware_id
     *     @type int $channel
     *     @type int $platform
     *     @type string $app_version
     *     @type string $os_version
     *     @type string $build_number
     *     @type string $location
     *     @type string $language
     *     @type string $hardware_model
     *     @type int|string $physical_memory
     *     @type string $video_controller
     *     @type int|string $video_controller_ram
     *     @type string $blackmagic_desktop_version
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\AnalyticsTrackedEvents::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>string hardware_id = 1;</code>
     * @return string
     */
    public function getHardwareId()
    {
        return $this->hardware_id;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.trackedevents.ApplicationLaunch.Channel channel = 2;</code>
     * @return int
     */
    public function getChannel()
    {
        return $this->channel;
    }

    /**
     * Generated from protobuf field <code>.rv.analytics.trackedevents.ApplicationLaunch.Channel channel = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setChannel($var)
    {
        GPBUtil::checkEnum($var, \Rv\Analytics\Trackedevents\ApplicationLaunch\Channel::class);
        $this->channel = $var;

        return $this;
    }

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

    /**
     * Generated from protobuf field <code>.rv.analytics.trackedevents.ApplicationLaunch.Platform platform = 3;</code>
     * @param int $var
     * @return $this
     */
    public function setPlatform($var)
    {
        GPBUtil::checkEnum($var, \Rv\Analytics\Trackedevents\ApplicationLaunch\Platform::class);
        $this->platform = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string app_version = 4;</code>
     * @return string
     */
    public function getAppVersion()
    {
        return $this->app_version;
    }

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

        return $this;
    }

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

    /**
     * Generated from protobuf field <code>string os_version = 5;</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 build_number = 6;</code>
     * @return string
     */
    public function getBuildNumber()
    {
        return $this->build_number;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string location = 7;</code>
     * @return string
     */
    public function getLocation()
    {
        return $this->location;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string language = 8;</code>
     * @return string
     */
    public function getLanguage()
    {
        return $this->language;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>string hardware_model = 9;</code>
     * @return string
     */
    public function getHardwareModel()
    {
        return $this->hardware_model;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>uint64 physical_memory = 10;</code>
     * @return int|string
     */
    public function getPhysicalMemory()
    {
        return $this->physical_memory;
    }

    /**
     * Generated from protobuf field <code>uint64 physical_memory = 10;</code>
     * @param int|string $var
     * @return $this
     */
    public function setPhysicalMemory($var)
    {
        GPBUtil::checkUint64($var);
        $this->physical_memory = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string video_controller = 11;</code>
     * @return string
     */
    public function getVideoController()
    {
        return $this->video_controller;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>uint64 video_controller_ram = 12;</code>
     * @return int|string
     */
    public function getVideoControllerRam()
    {
        return $this->video_controller_ram;
    }

    /**
     * Generated from protobuf field <code>uint64 video_controller_ram = 12;</code>
     * @param int|string $var
     * @return $this
     */
    public function setVideoControllerRam($var)
    {
        GPBUtil::checkUint64($var);
        $this->video_controller_ram = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>string blackmagic_desktop_version = 13;</code>
     * @return string
     */
    public function getBlackmagicDesktopVersion()
    {
        return $this->blackmagic_desktop_version;
    }

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

        return $this;
    }

}

