Dlp/src/V2/RedactImageRequest.php
public function setByteItem($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\ByteContentItem::class);
        $this->byte_item = $var;

        return $this;
    }
public function setByteItem($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Dlp\V2\ByteContentItem::class);
        $this->byte_item = $var;

        return $this;
    }
public function setByteItem ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Dlp \ V2 \ ByteContentItem :: class ) ; $ this -> byte_item = $ var ; return $ this ; }
The content must be PNG, JPEG, SVG or BMP.

Generated from protobuf field <code>.google.privacy.dlp.v2.ByteContentItem byte_item = 7;</code>
@param \Google\Cloud\Dlp\V2\ByteContentItem $var
@return $this
The content must be PNG JPEG SVG or BMP .