Dataproc/src/V1beta2/InstanceGroupConfig.php
public function setInstanceNames($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
        $this->instance_names = $arr;

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

        return $this;
    }
public function setInstanceNames ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: STRING ) ; $ this -> instance_names = $ arr ; return $ this ; }
Output only. The list of instance names. Cloud Dataproc derives the names
from `cluster_name`, `num_instances`, and the instance group.

Generated from protobuf field <code>repeated string instance_names = 2;</code>
@param string[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
Output only . The list of instance names . Cloud Dataproc derives the names from cluster_name num_instances and the instance group .