Owners of the Google Cloud resource.

Generated from protobuf field <code>repeated string resource_owners = 5;</code>
@param string[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
161150
public function setResourceOwners($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->resource_owners = $arr;

        return $this;
    }
1237488
public function setHttpTarget($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Scheduler\V1\HttpTarget::class);
        $this->writeOneof(6, $var);

        return $this;
    }
1032168
public function setPeerURLs(&$var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->peerURLs = $arr;
    }
988554
public function setSnapshots($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\PubSub\V1\Snapshot::class);
        $this->snapshots = $arr;

        return $this;
    }
756799
public function setValues($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->values = $arr;

        return $this;
    }
140803
public function setTeamMembers($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->team_members = $arr;

        return $this;
    }
497486
public function setPrefixes($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->prefixes = $arr;

        return $this;
    }
729297
public function setWords($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Vision\V1\Word::class);
        $this->words = $arr;

        return $this;
    }
1257138
public function setGcsSource($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Vision\V1\GcsSource::class);
        $this->gcs_source = $var;

        return $this;
    }
83987
public function setTopic($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\PubSub\V1\Topic::class);
        $this->topic = $var;

        return $this;
    }
782718
public function setInstances($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Bigtable\Admin\V2\Instance::class);
        $this->instances = $arr;

        return $this;
    }
207796
public function setManagedCluster($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dataproc\V1\ManagedCluster::class);
        $this->writeOneof(1, $var);

        return $this;
    }
823892
public function setProvider($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Container\V1\NetworkPolicy_Provider::class);
        $this->provider = $var;

        return $this;
    }
1286773
public function setGcsSource($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Redis\V1\GcsSource::class);
        $this->writeOneof(1, $var);

        return $this;
    }
1358823
public function setTopics($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\PubSub\V1\Topic::class);
        $this->topics = $arr;

        return $this;
    }
189151
public function setHeaders($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Dlp\V2\FieldId::class);
        $this->headers = $arr;

        return $this;
    }
831384
public function setResourceType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Monitoring\V3\GroupResourceType::class);
        $this->resource_type = $var;

        return $this;
    }