<?php
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v24/resources/asset_group.proto

namespace Google\Ads\GoogleAds\V24\Resources;

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

/**
 * Local services callout of the asset group.
 *
 * Generated from protobuf message <code>google.ads.googleads.v24.resources.LocalServicesCallout</code>
 */
class LocalServicesCallout extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. The unique ID of the callout.
     *
     * Generated from protobuf field <code>optional string callout_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    protected $callout_id = null;

    /**
     * Constructor.
     *
     * @param array $data {
     *                    Optional. Data for populating the Message object.
     *
     * @type string $callout_id
     *           Required. The unique ID of the callout.
     * }
     */
    public function __construct($data = null)
    {
        \GPBMetadata\Google\Ads\GoogleAds\V24\Resources\AssetGroup::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. The unique ID of the callout.
     *
     * Generated from protobuf field <code>optional string callout_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     *
     * @return string
     */
    public function getCalloutId()
    {
        return isset($this->callout_id) ? $this->callout_id : '';
    }

    public function hasCalloutId()
    {
        return isset($this->callout_id);
    }

    public function clearCalloutId()
    {
        unset($this->callout_id);
    }

    /**
     * Required. The unique ID of the callout.
     *
     * Generated from protobuf field <code>optional string callout_id = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     *
     * @param  string $var
     * @return $this
     */
    public function setCalloutId($var)
    {
        GPBUtil::checkString($var, true);
        $this->callout_id = $var;

        return $this;
    }

}

