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

namespace Google\Ads\GoogleAds\V23\Services\SmartCampaignSuggestionInfo;

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

/**
 * A context that describes a business.
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.services.SmartCampaignSuggestionInfo.BusinessContext</code>
 */
class BusinessContext extends \Google\Protobuf\Internal\Message
{
    /**
     * Optional. The name of the business.
     *
     * Generated from protobuf field <code>string business_name = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     */
    protected $business_name = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *                    Optional. Data for populating the Message object.
     *
     * @type string $business_name
     *           Optional. The name of the business.
     * }
     */
    public function __construct($data = null)
    {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Services\SmartCampaignSuggestService::initOnce();
        parent::__construct($data);
    }

    /**
     * Optional. The name of the business.
     *
     * Generated from protobuf field <code>string business_name = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     *
     * @return string
     */
    public function getBusinessName()
    {
        return $this->business_name;
    }

    /**
     * Optional. The name of the business.
     *
     * Generated from protobuf field <code>string business_name = 1 [(.google.api.field_behavior) = OPTIONAL];</code>
     *
     * @param  string $var
     * @return $this
     */
    public function setBusinessName($var)
    {
        GPBUtil::checkString($var, true);
        $this->business_name = $var;

        return $this;
    }

}

