<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/googleads/v23/services/benchmarks_service.proto

namespace Google\Ads\GoogleAds\V23\Services;

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

/**
 * The information associated with an Industry Vertical.
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.services.IndustryVerticalInfo</code>
 */
class IndustryVerticalInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * The name of the Industry Vertical.
     *
     * Generated from protobuf field <code>string industry_vertical_name = 1;</code>
     */
    protected $industry_vertical_name = '';
    /**
     * The unique identifier of the Industry Vertical.
     *
     * Generated from protobuf field <code>int64 industry_vertical_id = 2;</code>
     */
    protected $industry_vertical_id = 0;
    /**
     * The unique identifier of the parent Industry Vertical, if exists.
     *
     * Generated from protobuf field <code>int64 parent_industry_vertical_id = 3;</code>
     */
    protected $parent_industry_vertical_id = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $industry_vertical_name
     *           The name of the Industry Vertical.
     *     @type int|string $industry_vertical_id
     *           The unique identifier of the Industry Vertical.
     *     @type int|string $parent_industry_vertical_id
     *           The unique identifier of the parent Industry Vertical, if exists.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Services\BenchmarksService::initOnce();
        parent::__construct($data);
    }

    /**
     * The name of the Industry Vertical.
     *
     * Generated from protobuf field <code>string industry_vertical_name = 1;</code>
     * @return string
     */
    public function getIndustryVerticalName()
    {
        return $this->industry_vertical_name;
    }

    /**
     * The name of the Industry Vertical.
     *
     * Generated from protobuf field <code>string industry_vertical_name = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setIndustryVerticalName($var)
    {
        GPBUtil::checkString($var, True);
        $this->industry_vertical_name = $var;

        return $this;
    }

    /**
     * The unique identifier of the Industry Vertical.
     *
     * Generated from protobuf field <code>int64 industry_vertical_id = 2;</code>
     * @return int|string
     */
    public function getIndustryVerticalId()
    {
        return $this->industry_vertical_id;
    }

    /**
     * The unique identifier of the Industry Vertical.
     *
     * Generated from protobuf field <code>int64 industry_vertical_id = 2;</code>
     * @param int|string $var
     * @return $this
     */
    public function setIndustryVerticalId($var)
    {
        GPBUtil::checkInt64($var);
        $this->industry_vertical_id = $var;

        return $this;
    }

    /**
     * The unique identifier of the parent Industry Vertical, if exists.
     *
     * Generated from protobuf field <code>int64 parent_industry_vertical_id = 3;</code>
     * @return int|string
     */
    public function getParentIndustryVerticalId()
    {
        return $this->parent_industry_vertical_id;
    }

    /**
     * The unique identifier of the parent Industry Vertical, if exists.
     *
     * Generated from protobuf field <code>int64 parent_industry_vertical_id = 3;</code>
     * @param int|string $var
     * @return $this
     */
    public function setParentIndustryVerticalId($var)
    {
        GPBUtil::checkInt64($var);
        $this->parent_industry_vertical_id = $var;

        return $this;
    }

}

