Firestore/src/V1/TargetChange.php
public function setTargetChangeType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Firestore\V1\TargetChange_TargetChangeType::class);
        $this->target_change_type = $var;

        return $this;
    }
public function setTargetChangeType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Firestore\V1\TargetChange_TargetChangeType::class);
        $this->target_change_type = $var;

        return $this;
    }
public function setTargetChangeType ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Firestore \ V1 \ TargetChange_TargetChangeType :: class ) ; $ this -> target_change_type = $ var ; return $ this ; }
The type of change that occurred.

Generated from protobuf field <code>.google.firestore.v1.TargetChange.TargetChangeType target_change_type = 1;</code>
@param int $var
@return $this
The type of change that occurred .