Firestore/src/V1/TargetChange.php
public function setTargetIds($var)
    {
        $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::INT32);
        $this->target_ids = $arr;

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

        return $this;
    }
public function setTargetIds ( $ var ) { $ arr = GPBUtil :: checkRepeatedField ( $ var , \ Google \ Protobuf \ Internal \ GPBType :: INT32 ) ; $ this -> target_ids = $ arr ; return $ this ; }
The target IDs of targets that have changed.
If empty, the change applies to all targets.
For `target_change_type=ADD`, the order of the target IDs matches the order
of the requests to add the targets. This allows clients to unambiguously
associate server-assigned target IDs with added targets.
For other states, the order of the target IDs is not defined.

Generated from protobuf field <code>repeated int32 target_ids = 2;</code>
@param int[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
The target IDs of targets that have changed . If empty the change applies to all targets . For target_change_type = ADD the order of the target IDs matches the order of the requests to add the targets . This allows clients to unambiguously associate server - assigned target IDs with added targets . For other states the order of the target IDs is not defined .