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

namespace Google\Ads\GoogleAds\V23\Common;

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

/**
 * Wrapper for place ids
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.common.MapsLocationInfo</code>
 */
class MapsLocationInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * Place ID of the Maps location.
     *
     * Generated from protobuf field <code>string place_id = 1;</code>
     */
    protected $place_id = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *                    Optional. Data for populating the Message object.
     *
     * @type string $place_id
     *           Place ID of the Maps location.
     * }
     */
    public function __construct($data = null)
    {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Common\AssetSetTypes::initOnce();
        parent::__construct($data);
    }

    /**
     * Place ID of the Maps location.
     *
     * Generated from protobuf field <code>string place_id = 1;</code>
     *
     * @return string
     */
    public function getPlaceId()
    {
        return $this->place_id;
    }

    /**
     * Place ID of the Maps location.
     *
     * Generated from protobuf field <code>string place_id = 1;</code>
     *
     * @param  string $var
     * @return $this
     */
    public function setPlaceId($var)
    {
        GPBUtil::checkString($var, true);
        $this->place_id = $var;

        return $this;
    }

}

