<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/cloud/channel/v1/common.proto

namespace Google\Cloud\Channel\V1;

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

/**
 * Required Edu Attributes
 *
 * Generated from protobuf message <code>google.cloud.channel.v1.EduData</code>
 */
class EduData extends \Google\Protobuf\Internal\Message
{
    /**
     * Designated institute type of customer.
     *
     * Generated from protobuf field <code>.google.cloud.channel.v1.EduData.InstituteType institute_type = 1;</code>
     */
    private $institute_type = 0;
    /**
     * Size of the institute.
     *
     * Generated from protobuf field <code>.google.cloud.channel.v1.EduData.InstituteSize institute_size = 2;</code>
     */
    private $institute_size = 0;
    /**
     * Web address for the edu customer's institution.
     *
     * Generated from protobuf field <code>string website = 3;</code>
     */
    private $website = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int $institute_type
     *           Designated institute type of customer.
     *     @type int $institute_size
     *           Size of the institute.
     *     @type string $website
     *           Web address for the edu customer's institution.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Cloud\Channel\V1\Common::initOnce();
        parent::__construct($data);
    }

    /**
     * Designated institute type of customer.
     *
     * Generated from protobuf field <code>.google.cloud.channel.v1.EduData.InstituteType institute_type = 1;</code>
     * @return int
     */
    public function getInstituteType()
    {
        return $this->institute_type;
    }

    /**
     * Designated institute type of customer.
     *
     * Generated from protobuf field <code>.google.cloud.channel.v1.EduData.InstituteType institute_type = 1;</code>
     * @param int $var
     * @return $this
     */
    public function setInstituteType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Channel\V1\EduData\InstituteType::class);
        $this->institute_type = $var;

        return $this;
    }

    /**
     * Size of the institute.
     *
     * Generated from protobuf field <code>.google.cloud.channel.v1.EduData.InstituteSize institute_size = 2;</code>
     * @return int
     */
    public function getInstituteSize()
    {
        return $this->institute_size;
    }

    /**
     * Size of the institute.
     *
     * Generated from protobuf field <code>.google.cloud.channel.v1.EduData.InstituteSize institute_size = 2;</code>
     * @param int $var
     * @return $this
     */
    public function setInstituteSize($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Channel\V1\EduData\InstituteSize::class);
        $this->institute_size = $var;

        return $this;
    }

    /**
     * Web address for the edu customer's institution.
     *
     * Generated from protobuf field <code>string website = 3;</code>
     * @return string
     */
    public function getWebsite()
    {
        return $this->website;
    }

    /**
     * Web address for the edu customer's institution.
     *
     * Generated from protobuf field <code>string website = 3;</code>
     * @param string $var
     * @return $this
     */
    public function setWebsite($var)
    {
        GPBUtil::checkString($var, True);
        $this->website = $var;

        return $this;
    }

}

