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

namespace Google\Ads\GoogleAds\V24\Resources\AssetSet;

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

/**
 * Travel Feed data. Read-only
 *
 * Generated from protobuf message <code>google.ads.googleads.v24.resources.AssetSet.TravelFeedData</code>
 */
class TravelFeedData extends \Google\Protobuf\Internal\Message
{
    /**
     * Output only. Id representing a subset of the travel feed.
     *
     * Generated from protobuf field <code>int64 subset_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $subset_id = 0;
    /**
     * Output only. Indicates the vertical type of the travel feed.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v24.enums.VerticalAdsItemVerticalTypeEnum.VerticalAdsItemVerticalType travel_feed_vertical_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     */
    protected $travel_feed_vertical_type = 0;
    protected $travel_feed_id;

    /**
     * Constructor.
     *
     * @param array $data {
     *                    Optional. Data for populating the Message object.
     *
     * @type int|string $subset_id
     *           Output only. Id representing a subset of the travel feed.
     * @type int $travel_feed_vertical_type
     *           Output only. Indicates the vertical type of the travel feed.
     * @type int|string $hotel_center_account_id
     *           Output only. The Hotel Center account ID used for a Hotel or Vacation
     *           Rental feed.
     * @type int|string $merchant_center_id
     *           Output only. The Merchant Center account ID used for a Things to Do
     *           feed.
     * @type int|string $partner_center_id
     *           Output only. The Partner Center ID used for a travel vertical feed,
     *           except for Hotel, Vacation Rental, and Things to Do feeds.
     * }
     */
    public function __construct($data = null)
    {
        \GPBMetadata\Google\Ads\GoogleAds\V24\Resources\AssetSet::initOnce();
        parent::__construct($data);
    }

    /**
     * Output only. Id representing a subset of the travel feed.
     *
     * Generated from protobuf field <code>int64 subset_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return int|string
     */
    public function getSubsetId()
    {
        return $this->subset_id;
    }

    /**
     * Output only. Id representing a subset of the travel feed.
     *
     * Generated from protobuf field <code>int64 subset_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  int|string $var
     * @return $this
     */
    public function setSubsetId($var)
    {
        GPBUtil::checkInt64($var);
        $this->subset_id = $var;

        return $this;
    }

    /**
     * Output only. Indicates the vertical type of the travel feed.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v24.enums.VerticalAdsItemVerticalTypeEnum.VerticalAdsItemVerticalType travel_feed_vertical_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return int
     */
    public function getTravelFeedVerticalType()
    {
        return $this->travel_feed_vertical_type;
    }

    /**
     * Output only. Indicates the vertical type of the travel feed.
     *
     * Generated from protobuf field <code>.google.ads.googleads.v24.enums.VerticalAdsItemVerticalTypeEnum.VerticalAdsItemVerticalType travel_feed_vertical_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  int $var
     * @return $this
     */
    public function setTravelFeedVerticalType($var)
    {
        GPBUtil::checkEnum($var, \Google\Ads\GoogleAds\V24\Enums\VerticalAdsItemVerticalTypeEnum\VerticalAdsItemVerticalType::class);
        $this->travel_feed_vertical_type = $var;

        return $this;
    }

    /**
     * Output only. The Hotel Center account ID used for a Hotel or Vacation
     * Rental feed.
     *
     * Generated from protobuf field <code>int64 hotel_center_account_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return int|string
     */
    public function getHotelCenterAccountId()
    {
        return $this->readOneof(1);
    }

    public function hasHotelCenterAccountId()
    {
        return $this->hasOneof(1);
    }

    /**
     * Output only. The Hotel Center account ID used for a Hotel or Vacation
     * Rental feed.
     *
     * Generated from protobuf field <code>int64 hotel_center_account_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  int|string $var
     * @return $this
     */
    public function setHotelCenterAccountId($var)
    {
        GPBUtil::checkInt64($var);
        $this->writeOneof(1, $var);

        return $this;
    }

    /**
     * Output only. The Merchant Center account ID used for a Things to Do
     * feed.
     *
     * Generated from protobuf field <code>int64 merchant_center_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return int|string
     */
    public function getMerchantCenterId()
    {
        return $this->readOneof(2);
    }

    public function hasMerchantCenterId()
    {
        return $this->hasOneof(2);
    }

    /**
     * Output only. The Merchant Center account ID used for a Things to Do
     * feed.
     *
     * Generated from protobuf field <code>int64 merchant_center_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  int|string $var
     * @return $this
     */
    public function setMerchantCenterId($var)
    {
        GPBUtil::checkInt64($var);
        $this->writeOneof(2, $var);

        return $this;
    }

    /**
     * Output only. The Partner Center ID used for a travel vertical feed,
     * except for Hotel, Vacation Rental, and Things to Do feeds.
     *
     * Generated from protobuf field <code>int64 partner_center_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @return int|string
     */
    public function getPartnerCenterId()
    {
        return $this->readOneof(5);
    }

    public function hasPartnerCenterId()
    {
        return $this->hasOneof(5);
    }

    /**
     * Output only. The Partner Center ID used for a travel vertical feed,
     * except for Hotel, Vacation Rental, and Things to Do feeds.
     *
     * Generated from protobuf field <code>int64 partner_center_id = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];</code>
     *
     * @param  int|string $var
     * @return $this
     */
    public function setPartnerCenterId($var)
    {
        GPBUtil::checkInt64($var);
        $this->writeOneof(5, $var);

        return $this;
    }

    /**
     * @return string
     */
    public function getTravelFeedId()
    {
        return $this->whichOneof("travel_feed_id");
    }

}

