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

namespace Google\Ads\GoogleAds\V11\Resources;

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

/**
 * The identifier for Hotel account.
 *
 * Generated from protobuf message <code>google.ads.googleads.v11.resources.HotelCenterLinkIdentifier</code>
 */
class HotelCenterLinkIdentifier extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. The hotel center id of the hotel account.
     *
     * Generated from protobuf field <code>int64 hotel_center_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $hotel_center_id = 0;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type int|string $hotel_center_id
     *           Output only. The hotel center id of the hotel account.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V11\Resources\AccountLink::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. The hotel center id of the hotel account.
     *
     * Generated from protobuf field <code>int64 hotel_center_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @return int|string
     */
    public function getHotelCenterId()
    {
        return $this->hotel_center_id;
    }

    /**
     * Output only. The hotel center id of the hotel account.
     *
     * Generated from protobuf field <code>int64 hotel_center_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     * @param int|string $var
     * @return $this
     */
    public function setHotelCenterId($var)
    {
        GPBUtil::checkInt64($var);
        $this->hotel_center_id = $var;

        return $this;
    }

}

