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

namespace Registration\Core;

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

/**
 * Generated from protobuf message <code>registration.core.BuildInformation</code>
 */
class BuildInformation extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field <code>int32 build_number = 1;</code>
     */
    protected $build_number = 0;
    /**
     * Generated from protobuf field <code>string version = 2;</code>
     */
    protected $version = '';
    /**
     * Generated from protobuf field <code>string min_os_version = 3;</code>
     */
    protected $min_os_version = '';
    /**
     * Generated from protobuf field <code>int64 release_date = 4;</code>
     */
    protected $release_date = 0;
    /**
     * Generated from protobuf field <code>int64 registration_date = 5;</code>
     */
    protected $registration_date = 0;
    /**
     * Generated from protobuf field <code>int64 download_size = 6;</code>
     */
    protected $download_size = 0;
    /**
     * Generated from protobuf field <code>string download_url = 7;</code>
     */
    protected $download_url = '';
    /**
     * Generated from protobuf field <code>string channel = 8;</code>
     */
    protected $channel = '';
    /**
     * Generated from protobuf field <code>bool is_beta = 9;</code>
     */
    protected $is_beta = false;
    /**
     * Generated from protobuf field <code>bool is_available = 10;</code>
     */
    protected $is_available = false;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $build_number
     *     @type string $version
     *     @type string $min_os_version
     *     @type int|string $release_date
     *     @type int|string $registration_date
     *     @type int|string $download_size
     *     @type string $download_url
     *     @type string $channel
     *     @type bool $is_beta
     *     @type bool $is_available
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Registration::initOnce();
        parent::__construct($data);
    }

    /**
     * Generated from protobuf field <code>int32 build_number = 1;</code>
     * @return int
     */
    public function getBuildNumber()
    {
        return $this->build_number;
    }

    /**
     * Generated from protobuf field <code>int32 build_number = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setBuildNumber($var)
    {
        GPBUtil::checkInt32($var);
        $this->build_number = $var;

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>int64 release_date = 4;</code>
     * @return int|string
     */
    public function getReleaseDate()
    {
        return $this->release_date;
    }

    /**
     * Generated from protobuf field <code>int64 release_date = 4;</code>
     * @param int|string $var
     * @return $this
     */
    public function setReleaseDate($var)
    {
        GPBUtil::checkInt64($var);
        $this->release_date = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int64 registration_date = 5;</code>
     * @return int|string
     */
    public function getRegistrationDate()
    {
        return $this->registration_date;
    }

    /**
     * Generated from protobuf field <code>int64 registration_date = 5;</code>
     * @param int|string $var
     * @return $this
     */
    public function setRegistrationDate($var)
    {
        GPBUtil::checkInt64($var);
        $this->registration_date = $var;

        return $this;
    }

    /**
     * Generated from protobuf field <code>int64 download_size = 6;</code>
     * @return int|string
     */
    public function getDownloadSize()
    {
        return $this->download_size;
    }

    /**
     * Generated from protobuf field <code>int64 download_size = 6;</code>
     * @param int|string $var
     * @return $this
     */
    public function setDownloadSize($var)
    {
        GPBUtil::checkInt64($var);
        $this->download_size = $var;

        return $this;
    }

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

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

        return $this;
    }

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

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool is_beta = 9;</code>
     * @return bool
     */
    public function getIsBeta()
    {
        return $this->is_beta;
    }

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

        return $this;
    }

    /**
     * Generated from protobuf field <code>bool is_available = 10;</code>
     * @return bool
     */
    public function getIsAvailable()
    {
        return $this->is_available;
    }

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

        return $this;
    }

}

