WebRisk/src/V1beta1/ComputeThreatListDiffResponse.php
public function setAdditions($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\WebRisk\V1beta1\ThreatEntryAdditions::class);
        $this->additions = $var;

        return $this;
    }
public function setAdditions($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\WebRisk\V1beta1\ThreatEntryAdditions::class);
        $this->additions = $var;

        return $this;
    }
public function setAdditions ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ WebRisk \ V1beta1 \ ThreatEntryAdditions :: class ) ; $ this -> additions = $ var ; return $ this ; }
A set of entries to add to a local threat type's list.

Generated from protobuf field <code>.google.cloud.webrisk.v1beta1.ThreatEntryAdditions additions = 5;</code>
@param \Google\Cloud\WebRisk\V1beta1\ThreatEntryAdditions $var
@return $this
A set of entries to add to a local threat type s list .