Dlp/src/V2/JobTrigger/Trigger.php
public function setSchedule($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\Schedule::class);
        $this->writeOneof(1, $var);

        return $this;
    }
public function setSchedule($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\Schedule::class);
        $this->writeOneof(1, $var);

        return $this;
    }
public function setSchedule ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dlp \ V2 \ Schedule :: class ) ; $ this -> writeOneof ( 1 , $ var ) ; return $ this ; }
Create a job on a repeating basis based on the elapse of time.

Generated from protobuf field <code>.google.privacy.dlp.v2.Schedule schedule = 1;</code>
@param \Google\Cloud\Dlp\V2\Schedule $var
@return $this
Create a job on a repeating basis based on the elapse of time .