<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/ads/datamanager/v1/request_status_per_destination.proto

namespace Google\Ads\DataManager\V1\RequestStatusPerDestination;

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

/**
 * The status of the ingest audience members request.
 *
 * Generated from protobuf message <code>google.ads.datamanager.v1.RequestStatusPerDestination.IngestAudienceMembersStatus</code>
 */
class IngestAudienceMembersStatus extends \Google\Protobuf\Internal\Message
{
    protected $status;

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestUserDataStatus $user_data_ingestion_status
     *           The status of the user data ingestion to the destination.
     *     @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestMobileDataStatus $mobile_data_ingestion_status
     *           The status of the mobile data ingestion to the destination.
     *     @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestPairDataStatus $pair_data_ingestion_status
     *           The status of the pair data ingestion to the destination.
     *     @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestUserIdDataStatus $user_id_data_ingestion_status
     *           The status of the user id data ingestion to the destination.
     *     @type \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestPpidDataStatus $ppid_data_ingestion_status
     *           The status of the ppid data ingestion to the destination.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\Datamanager\V1\RequestStatusPerDestination::initOnce();
        parent::__construct($data);
    }

    /**
     * The status of the user data ingestion to the destination.
     *
     * Generated from protobuf field <code>.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus user_data_ingestion_status = 1;</code>
     * @return \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestUserDataStatus|null
     */
    public function getUserDataIngestionStatus()
    {
        return $this->readOneof(1);
    }

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

    /**
     * The status of the user data ingestion to the destination.
     *
     * Generated from protobuf field <code>.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserDataStatus user_data_ingestion_status = 1;</code>
     * @param \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestUserDataStatus $var
     * @return $this
     */
    public function setUserDataIngestionStatus($var)
    {
        GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestUserDataStatus::class);
        $this->writeOneof(1, $var);

        return $this;
    }

    /**
     * The status of the mobile data ingestion to the destination.
     *
     * Generated from protobuf field <code>.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus mobile_data_ingestion_status = 2;</code>
     * @return \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestMobileDataStatus|null
     */
    public function getMobileDataIngestionStatus()
    {
        return $this->readOneof(2);
    }

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

    /**
     * The status of the mobile data ingestion to the destination.
     *
     * Generated from protobuf field <code>.google.ads.datamanager.v1.RequestStatusPerDestination.IngestMobileDataStatus mobile_data_ingestion_status = 2;</code>
     * @param \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestMobileDataStatus $var
     * @return $this
     */
    public function setMobileDataIngestionStatus($var)
    {
        GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestMobileDataStatus::class);
        $this->writeOneof(2, $var);

        return $this;
    }

    /**
     * The status of the pair data ingestion to the destination.
     *
     * Generated from protobuf field <code>.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus pair_data_ingestion_status = 3;</code>
     * @return \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestPairDataStatus|null
     */
    public function getPairDataIngestionStatus()
    {
        return $this->readOneof(3);
    }

    public function hasPairDataIngestionStatus()
    {
        return $this->hasOneof(3);
    }

    /**
     * The status of the pair data ingestion to the destination.
     *
     * Generated from protobuf field <code>.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPairDataStatus pair_data_ingestion_status = 3;</code>
     * @param \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestPairDataStatus $var
     * @return $this
     */
    public function setPairDataIngestionStatus($var)
    {
        GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestPairDataStatus::class);
        $this->writeOneof(3, $var);

        return $this;
    }

    /**
     * The status of the user id data ingestion to the destination.
     *
     * Generated from protobuf field <code>.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus user_id_data_ingestion_status = 4;</code>
     * @return \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestUserIdDataStatus|null
     */
    public function getUserIdDataIngestionStatus()
    {
        return $this->readOneof(4);
    }

    public function hasUserIdDataIngestionStatus()
    {
        return $this->hasOneof(4);
    }

    /**
     * The status of the user id data ingestion to the destination.
     *
     * Generated from protobuf field <code>.google.ads.datamanager.v1.RequestStatusPerDestination.IngestUserIdDataStatus user_id_data_ingestion_status = 4;</code>
     * @param \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestUserIdDataStatus $var
     * @return $this
     */
    public function setUserIdDataIngestionStatus($var)
    {
        GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestUserIdDataStatus::class);
        $this->writeOneof(4, $var);

        return $this;
    }

    /**
     * The status of the ppid data ingestion to the destination.
     *
     * Generated from protobuf field <code>.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus ppid_data_ingestion_status = 5;</code>
     * @return \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestPpidDataStatus|null
     */
    public function getPpidDataIngestionStatus()
    {
        return $this->readOneof(5);
    }

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

    /**
     * The status of the ppid data ingestion to the destination.
     *
     * Generated from protobuf field <code>.google.ads.datamanager.v1.RequestStatusPerDestination.IngestPpidDataStatus ppid_data_ingestion_status = 5;</code>
     * @param \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestPpidDataStatus $var
     * @return $this
     */
    public function setPpidDataIngestionStatus($var)
    {
        GPBUtil::checkMessage($var, \Google\Ads\DataManager\V1\RequestStatusPerDestination\IngestPpidDataStatus::class);
        $this->writeOneof(5, $var);

        return $this;
    }

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

}

