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

namespace Google\Ads\DataManager\V1;

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

/**
 * Response from the
 * [IngestEventsRequest][google.ads.datamanager.v1.IngestEventsRequest].
 *
 * Generated from protobuf message <code>google.ads.datamanager.v1.IngestEventsResponse</code>
 */
class IngestEventsResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * The auto-generated ID of the request.
     *
     * Generated from protobuf field <code>string request_id = 1;</code>
     */
    protected $request_id = '';

    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $request_id
     *           The auto-generated ID of the request.
     * }
     */
    public function __construct($data = NULL) {
        \GPBMetadata\Google\Ads\Datamanager\V1\IngestionService::initOnce();
        parent::__construct($data);
    }

    /**
     * The auto-generated ID of the request.
     *
     * Generated from protobuf field <code>string request_id = 1;</code>
     * @return string
     */
    public function getRequestId()
    {
        return $this->request_id;
    }

    /**
     * The auto-generated ID of the request.
     *
     * Generated from protobuf field <code>string request_id = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setRequestId($var)
    {
        GPBUtil::checkString($var, True);
        $this->request_id = $var;

        return $this;
    }

}

