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

namespace Google\Ads\GoogleAds\V20\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.v20.resources.HotelCenterLinkInvitationIdentifier</code>
 */
class HotelCenterLinkInvitationIdentifier extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. The hotel center id of the hotel account.
     * This field is read only
     *
     * 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.
     *           This field is read only
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\GoogleAds\V20\Resources\ProductLinkInvitation::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. The hotel center id of the hotel account.
     * This field is read only
     *
     * 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.
     * This field is read only
     *
     * 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;
    }

}

