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

namespace Google\Ads\GoogleAds\V23\Common;

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

/**
 * A Local Services Ads service ID. Represents a service type
 * (such as install_faucet) that a Local Services Campaign can target.
 *
 * Generated from protobuf message <code>google.ads.googleads.v23.common.LocalServiceIdInfo</code>
 */
class LocalServiceIdInfo extends \Google\Protobuf\Internal\Message
{
    /**
     * The criterion resource name.
     *
     * Generated from protobuf field <code>string service_id = 1;</code>
     */
    protected $service_id = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $service_id
     *           The criterion resource name.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V23\Common\Criteria::initOnce();
        parent::__construct($data);
    }

    /**
     * The criterion resource name.
     *
     * Generated from protobuf field <code>string service_id = 1;</code>
     * @return string
     */
    public function getServiceId()
    {
        return $this->service_id;
    }

    /**
     * The criterion resource name.
     *
     * Generated from protobuf field <code>string service_id = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setServiceId($var)
    {
        GPBUtil::checkString($var, True);
        $this->service_id = $var;

        return $this;
    }

}

