Dlp/src/V2/DateShiftConfig.php
public function setCryptoKey($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\CryptoKey::class);
        $this->writeOneof(4, $var);

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

        return $this;
    }
public function setCryptoKey ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dlp \ V2 \ CryptoKey :: class ) ; $ this -> writeOneof ( 4 , $ var ) ; return $ this ; }
Causes the shift to be computed based on this key and the context. This
results in the same shift for the same context and crypto_key.

Generated from protobuf field <code>.google.privacy.dlp.v2.CryptoKey crypto_key = 4;</code>
@param \Google\Cloud\Dlp\V2\CryptoKey $var
@return $this
Causes the shift to be computed based on this key and the context . This results in the same shift for the same context and crypto_key .