<?php

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/analytics/admin/v1beta/resources.proto
namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Analytics\Admin\V1beta;

use UnexpectedValueException;
/**
 * Types of resources whose changes may be returned from change history.
 *
 * Protobuf type <code>google.analytics.admin.v1beta.ChangeHistoryResourceType</code>
 */
class ChangeHistoryResourceType
{
    /**
     * Resource type unknown or not specified.
     *
     * Generated from protobuf enum <code>CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED = 0;</code>
     */
    const CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED = 0;
    /**
     * Account resource
     *
     * Generated from protobuf enum <code>ACCOUNT = 1;</code>
     */
    const ACCOUNT = 1;
    /**
     * Property resource
     *
     * Generated from protobuf enum <code>PROPERTY = 2;</code>
     */
    const PROPERTY = 2;
    /**
     * FirebaseLink resource
     *
     * Generated from protobuf enum <code>FIREBASE_LINK = 6;</code>
     */
    const FIREBASE_LINK = 6;
    /**
     * GoogleAdsLink resource
     *
     * Generated from protobuf enum <code>GOOGLE_ADS_LINK = 7;</code>
     */
    const GOOGLE_ADS_LINK = 7;
    /**
     * GoogleSignalsSettings resource
     *
     * Generated from protobuf enum <code>GOOGLE_SIGNALS_SETTINGS = 8;</code>
     */
    const GOOGLE_SIGNALS_SETTINGS = 8;
    /**
     * ConversionEvent resource
     *
     * Generated from protobuf enum <code>CONVERSION_EVENT = 9;</code>
     */
    const CONVERSION_EVENT = 9;
    /**
     * MeasurementProtocolSecret resource
     *
     * Generated from protobuf enum <code>MEASUREMENT_PROTOCOL_SECRET = 10;</code>
     */
    const MEASUREMENT_PROTOCOL_SECRET = 10;
    /**
     * DataRetentionSettings resource
     *
     * Generated from protobuf enum <code>DATA_RETENTION_SETTINGS = 13;</code>
     */
    const DATA_RETENTION_SETTINGS = 13;
    /**
     * DisplayVideo360AdvertiserLink resource
     *
     * Generated from protobuf enum <code>DISPLAY_VIDEO_360_ADVERTISER_LINK = 14;</code>
     */
    const DISPLAY_VIDEO_360_ADVERTISER_LINK = 14;
    /**
     * DisplayVideo360AdvertiserLinkProposal resource
     *
     * Generated from protobuf enum <code>DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL = 15;</code>
     */
    const DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL = 15;
    /**
     * DataStream resource
     *
     * Generated from protobuf enum <code>DATA_STREAM = 18;</code>
     */
    const DATA_STREAM = 18;
    /**
     * AttributionSettings resource
     *
     * Generated from protobuf enum <code>ATTRIBUTION_SETTINGS = 20;</code>
     */
    const ATTRIBUTION_SETTINGS = 20;
    private static $valueToName = [self::CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED => 'CHANGE_HISTORY_RESOURCE_TYPE_UNSPECIFIED', self::ACCOUNT => 'ACCOUNT', self::PROPERTY => 'PROPERTY', self::FIREBASE_LINK => 'FIREBASE_LINK', self::GOOGLE_ADS_LINK => 'GOOGLE_ADS_LINK', self::GOOGLE_SIGNALS_SETTINGS => 'GOOGLE_SIGNALS_SETTINGS', self::CONVERSION_EVENT => 'CONVERSION_EVENT', self::MEASUREMENT_PROTOCOL_SECRET => 'MEASUREMENT_PROTOCOL_SECRET', self::DATA_RETENTION_SETTINGS => 'DATA_RETENTION_SETTINGS', self::DISPLAY_VIDEO_360_ADVERTISER_LINK => 'DISPLAY_VIDEO_360_ADVERTISER_LINK', self::DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL => 'DISPLAY_VIDEO_360_ADVERTISER_LINK_PROPOSAL', self::DATA_STREAM => 'DATA_STREAM', self::ATTRIBUTION_SETTINGS => 'ATTRIBUTION_SETTINGS'];
    public static function name($value)
    {
        if (!isset(self::$valueToName[$value])) {
            throw new UnexpectedValueException(sprintf('Enum %s has no name defined for value %s', __CLASS__, $value));
        }
        return self::$valueToName[$value];
    }
    public static function value($name)
    {
        $const = __CLASS__ . '::' . strtoupper($name);
        if (!defined($const)) {
            throw new UnexpectedValueException(sprintf('Enum %s has no value defined for name %s', __CLASS__, $name));
        }
        return constant($const);
    }
}
