A broad region category in which the IP address is located.

Generated from protobuf field <code>.google.monitoring.v3.UptimeCheckRegion region = 1;</code>
@param int $var
@return $this
429785
public function setRegion($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Monitoring\V3\UptimeCheckRegion::class);
        $this->region = $var;

        return $this;
    }
491339
public function setTier($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Redis\V1beta1\Instance_Tier::class);
        $this->tier = $var;

        return $this;
    }
923572
public function setCreateCluster($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\ClusterOperation::class);
        $this->create_cluster = $var;

        return $this;
    }
618230
public function setType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Language\V1beta2\Document_Type::class);
        $this->type = $var;

        return $this;
    }
921391
public function setGatewayType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Iot\V1\GatewayType::class);
        $this->gateway_type = $var;

        return $this;
    }
437111
public function setRegex($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1beta2\RegexValidation::class);
        $this->writeOneof(1, $var);

        return $this;
    }
237545
public function setLocation($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Debugger\V2\SourceLocation::class);
        $this->location = $var;

        return $this;
    }
138308
public function setTenant($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Talent\V4beta1\Tenant::class);
        $this->tenant = $var;

        return $this;
    }
654046
public function setClusters($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dataproc\V1\Cluster::class);
        $this->clusters = $arr;

        return $this;
    }
279843
public function setTcpCheck($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Monitoring\V3\UptimeCheckConfig_TcpCheck::class);
        $this->writeOneof(6, $var);

        return $this;
    }
1042311
public function setLevel($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Talent\V4beta1\SkillProficiencyLevel::class);
        $this->level = $var;

        return $this;
    }
1195057
public function setFormat($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Iot\V1\PublicKeyFormat::class);
        $this->format = $var;

        return $this;
    }
1120179
public function setPartitions($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Spanner\V1\Partition::class);
        $this->partitions = $arr;

        return $this;
    }
688906
public function setInspectResult($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\InspectResult::class);
        $this->inspect_result = $var;

        return $this;
    }
382072
public function setDeploymentState($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\AutoMl\V1beta1\Model_DeploymentState::class);
        $this->deployment_state = $var;

        return $this;
    }
1208385
public function setBlockType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Vision\V1\Block_BlockType::class);
        $this->block_type = $var;

        return $this;
    }
385156
public function setIpAllocationPolicy($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Container\V1\IPAllocationPolicy::class);
        $this->ip_allocation_policy = $var;

        return $this;
    }