<?php

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/analytics/data/v1alpha/data.proto
namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Data\V1alpha;

use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType;
use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\RepeatedField;
use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil;
/**
 * The unique identifier of the property whose events are tracked.
 *
 * Generated from protobuf message <code>google.analytics.data.v1alpha.Entity</code>
 */
class Entity extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
{
    /**
     * A Google Analytics GA4 property id. To learn more, see [where to find your
     * Property
     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
     *
     * Generated from protobuf field <code>string property_id = 1;</code>
     */
    private $property_id = '';
    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type string $property_id
     *           A Google Analytics GA4 property id. To learn more, see [where to find your
     *           Property
     *           ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
     * }
     */
    public function __construct($data = NULL)
    {
        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Analytics\Data\V1Alpha\Data::initOnce();
        parent::__construct($data);
    }
    /**
     * A Google Analytics GA4 property id. To learn more, see [where to find your
     * Property
     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
     *
     * Generated from protobuf field <code>string property_id = 1;</code>
     * @return string
     */
    public function getPropertyId()
    {
        return $this->property_id;
    }
    /**
     * A Google Analytics GA4 property id. To learn more, see [where to find your
     * Property
     * ID](https://developers.google.com/analytics/devguides/reporting/data/v1/property-id).
     *
     * Generated from protobuf field <code>string property_id = 1;</code>
     * @param string $var
     * @return $this
     */
    public function setPropertyId($var)
    {
        GPBUtil::checkString($var, True);
        $this->property_id = $var;
        return $this;
    }
}
