<?php

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

use SEOPressPro\Vendor\Google\Protobuf\Internal\GPBType;
use SEOPressPro\Vendor\Google\Protobuf\Internal\RepeatedField;
use SEOPressPro\Vendor\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 \SEOPressPro\Vendor\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)
    {
        \SEOPressPro\Vendor\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;
    }
}
