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

namespace Google\Ads\GoogleAds\V23\Services;

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

/**
 * Input for guiding image asset generation with a final url.
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.services.FinalUrlImageGenerationInput</code>
 */
class FinalUrlImageGenerationInput extends \Google\Protobuf\Internal\Message
{
    /**
     * Required. A final url to guide the image generation process. Required.
     *
     * Generated from protobuf field <code>string final_url = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     */
    protected $final_url = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $final_url
     *           Required. A final url to guide the image generation process. Required.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Services\AssetGenerationService::initOnce();
        parent::__construct($data);
    }

    /**
     * Required. A final url to guide the image generation process. Required.
     *
     * Generated from protobuf field <code>string final_url = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @return string
     */
    public function getFinalUrl()
    {
        return $this->final_url;
    }

    /**
     * Required. A final url to guide the image generation process. Required.
     *
     * Generated from protobuf field <code>string final_url = 1 [(.google.api.field_behavior) = REQUIRED];</code>
     * @param string $var
     * @return $this
     */
    public function setFinalUrl($var)
    {
        GPBUtil::checkString($var, True);
        $this->final_url = $var;

        return $this;
    }

}

