<?php

# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/api/client.proto
namespace Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api;

use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType;
use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBUtil;
use Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\RepeatedField;
/**
 * Settings for Dotnet client libraries.
 *
 * Generated from protobuf message <code>google.api.DotnetSettings</code>
 */
class DotnetSettings extends \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\Message
{
    /**
     * Some settings.
     *
     * Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code>
     */
    protected $common = null;
    /**
     * Map from original service names to renamed versions.
     * This is used when the default generated types
     * would cause a naming conflict. (Neither name is
     * fully-qualified.)
     * Example: Subscriber to SubscriberServiceApi.
     *
     * Generated from protobuf field <code>map<string, string> renamed_services = 2;</code>
     */
    private $renamed_services;
    /**
     * Map from full resource types to the effective short name
     * for the resource. This is used when otherwise resource
     * named from different services would cause naming collisions.
     * Example entry:
     * "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
     *
     * Generated from protobuf field <code>map<string, string> renamed_resources = 3;</code>
     */
    private $renamed_resources;
    /**
     * List of full resource types to ignore during generation.
     * This is typically used for API-specific Location resources,
     * which should be handled by the generator as if they were actually
     * the common Location resources.
     * Example entry: "documentai.googleapis.com/Location"
     *
     * Generated from protobuf field <code>repeated string ignored_resources = 4;</code>
     */
    private $ignored_resources;
    /**
     * Namespaces which must be aliased in snippets due to
     * a known (but non-generator-predictable) naming collision
     *
     * Generated from protobuf field <code>repeated string forced_namespace_aliases = 5;</code>
     */
    private $forced_namespace_aliases;
    /**
     * Method signatures (in the form "service.method(signature)")
     * which are provided separately, so shouldn't be generated.
     * Snippets *calling* these methods are still generated, however.
     *
     * Generated from protobuf field <code>repeated string handwritten_signatures = 6;</code>
     */
    private $handwritten_signatures;
    /**
     * Constructor.
     *
     * @param array $data {
     *     Optional. Data for populating the Message object.
     *
     *     @type \Google\Api\CommonLanguageSettings $common
     *           Some settings.
     *     @type array|\Google\Protobuf\Internal\MapField $renamed_services
     *           Map from original service names to renamed versions.
     *           This is used when the default generated types
     *           would cause a naming conflict. (Neither name is
     *           fully-qualified.)
     *           Example: Subscriber to SubscriberServiceApi.
     *     @type array|\Google\Protobuf\Internal\MapField $renamed_resources
     *           Map from full resource types to the effective short name
     *           for the resource. This is used when otherwise resource
     *           named from different services would cause naming collisions.
     *           Example entry:
     *           "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
     *     @type string[] $ignored_resources
     *           List of full resource types to ignore during generation.
     *           This is typically used for API-specific Location resources,
     *           which should be handled by the generator as if they were actually
     *           the common Location resources.
     *           Example entry: "documentai.googleapis.com/Location"
     *     @type string[] $forced_namespace_aliases
     *           Namespaces which must be aliased in snippets due to
     *           a known (but non-generator-predictable) naming collision
     *     @type string[] $handwritten_signatures
     *           Method signatures (in the form "service.method(signature)")
     *           which are provided separately, so shouldn't be generated.
     *           Snippets *calling* these methods are still generated, however.
     * }
     */
    public function __construct($data = NULL)
    {
        \Matomo\Dependencies\GoogleAnalyticsImporter\GPBMetadata\Google\Api\Client::initOnce();
        parent::__construct($data);
    }
    /**
     * Some settings.
     *
     * Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code>
     * @return \Google\Api\CommonLanguageSettings|null
     */
    public function getCommon()
    {
        return $this->common;
    }
    public function hasCommon()
    {
        return isset($this->common);
    }
    public function clearCommon()
    {
        unset($this->common);
    }
    /**
     * Some settings.
     *
     * Generated from protobuf field <code>.google.api.CommonLanguageSettings common = 1;</code>
     * @param \Google\Api\CommonLanguageSettings $var
     * @return $this
     */
    public function setCommon($var)
    {
        GPBUtil::checkMessage($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Api\CommonLanguageSettings::class);
        $this->common = $var;
        return $this;
    }
    /**
     * Map from original service names to renamed versions.
     * This is used when the default generated types
     * would cause a naming conflict. (Neither name is
     * fully-qualified.)
     * Example: Subscriber to SubscriberServiceApi.
     *
     * Generated from protobuf field <code>map<string, string> renamed_services = 2;</code>
     * @return \Google\Protobuf\Internal\MapField
     */
    public function getRenamedServices()
    {
        return $this->renamed_services;
    }
    /**
     * Map from original service names to renamed versions.
     * This is used when the default generated types
     * would cause a naming conflict. (Neither name is
     * fully-qualified.)
     * Example: Subscriber to SubscriberServiceApi.
     *
     * Generated from protobuf field <code>map<string, string> renamed_services = 2;</code>
     * @param array|\Google\Protobuf\Internal\MapField $var
     * @return $this
     */
    public function setRenamedServices($var)
    {
        $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
        $this->renamed_services = $arr;
        return $this;
    }
    /**
     * Map from full resource types to the effective short name
     * for the resource. This is used when otherwise resource
     * named from different services would cause naming collisions.
     * Example entry:
     * "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
     *
     * Generated from protobuf field <code>map<string, string> renamed_resources = 3;</code>
     * @return \Google\Protobuf\Internal\MapField
     */
    public function getRenamedResources()
    {
        return $this->renamed_resources;
    }
    /**
     * Map from full resource types to the effective short name
     * for the resource. This is used when otherwise resource
     * named from different services would cause naming collisions.
     * Example entry:
     * "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
     *
     * Generated from protobuf field <code>map<string, string> renamed_resources = 3;</code>
     * @param array|\Google\Protobuf\Internal\MapField $var
     * @return $this
     */
    public function setRenamedResources($var)
    {
        $arr = GPBUtil::checkMapField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
        $this->renamed_resources = $arr;
        return $this;
    }
    /**
     * List of full resource types to ignore during generation.
     * This is typically used for API-specific Location resources,
     * which should be handled by the generator as if they were actually
     * the common Location resources.
     * Example entry: "documentai.googleapis.com/Location"
     *
     * Generated from protobuf field <code>repeated string ignored_resources = 4;</code>
     * @return RepeatedField<string>
     */
    public function getIgnoredResources()
    {
        return $this->ignored_resources;
    }
    /**
     * List of full resource types to ignore during generation.
     * This is typically used for API-specific Location resources,
     * which should be handled by the generator as if they were actually
     * the common Location resources.
     * Example entry: "documentai.googleapis.com/Location"
     *
     * Generated from protobuf field <code>repeated string ignored_resources = 4;</code>
     * @param string[] $var
     * @return $this
     */
    public function setIgnoredResources($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
        $this->ignored_resources = $arr;
        return $this;
    }
    /**
     * Namespaces which must be aliased in snippets due to
     * a known (but non-generator-predictable) naming collision
     *
     * Generated from protobuf field <code>repeated string forced_namespace_aliases = 5;</code>
     * @return RepeatedField<string>
     */
    public function getForcedNamespaceAliases()
    {
        return $this->forced_namespace_aliases;
    }
    /**
     * Namespaces which must be aliased in snippets due to
     * a known (but non-generator-predictable) naming collision
     *
     * Generated from protobuf field <code>repeated string forced_namespace_aliases = 5;</code>
     * @param string[] $var
     * @return $this
     */
    public function setForcedNamespaceAliases($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
        $this->forced_namespace_aliases = $arr;
        return $this;
    }
    /**
     * Method signatures (in the form "service.method(signature)")
     * which are provided separately, so shouldn't be generated.
     * Snippets *calling* these methods are still generated, however.
     *
     * Generated from protobuf field <code>repeated string handwritten_signatures = 6;</code>
     * @return RepeatedField<string>
     */
    public function getHandwrittenSignatures()
    {
        return $this->handwritten_signatures;
    }
    /**
     * Method signatures (in the form "service.method(signature)")
     * which are provided separately, so shouldn't be generated.
     * Snippets *calling* these methods are still generated, however.
     *
     * Generated from protobuf field <code>repeated string handwritten_signatures = 6;</code>
     * @param string[] $var
     * @return $this
     */
    public function setHandwrittenSignatures($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Matomo\Dependencies\GoogleAnalyticsImporter\Google\Protobuf\Internal\GPBType::STRING);
        $this->handwritten_signatures = $arr;
        return $this;
    }
}
