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

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

        return $this;
    }
public function setChecksum ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ WebRisk \ V1beta1 \ ComputeThreatListDiffResponse_Checksum :: class ) ; $ this -> checksum = $ var ; return $ this ; }
The expected SHA256 hash of the client state; that is, of the sorted list
of all hashes present in the database after applying the provided diff.
If the client state doesn't match the expected state, the client must
disregard this diff and retry later.

Generated from protobuf field <code>.google.cloud.webrisk.v1beta1.ComputeThreatListDiffResponse.Checksum checksum = 8;</code>
@param \Google\Cloud\WebRisk\V1beta1\ComputeThreatListDiffResponse\Checksum $var
@return $this
The expected SHA256 hash of the client state ; that is of the sorted list of all hashes present in the database after applying the provided diff . If the client state doesn t match the expected state the client must disregard this diff and retry later .