Dlp/src/V2/ByteContentItem.php
public function setType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dlp\V2\ByteContentItem_BytesType::class);
        $this->type = $var;

        return $this;
    }
public function setType($var)
    {
        GPBUtil::checkEnum($var, \Google\Cloud\Dlp\V2\ByteContentItem_BytesType::class);
        $this->type = $var;

        return $this;
    }
public function setType ( $ var ) { GPBUtil :: checkEnum ( $ var , \ Google \ Cloud \ Dlp \ V2 \ ByteContentItem_BytesType :: class ) ; $ this -> type = $ var ; return $ this ; }
The type of data stored in the bytes string. Default will be TEXT_UTF8.

Generated from protobuf field <code>.google.privacy.dlp.v2.ByteContentItem.BytesType type = 1;</code>
@param int $var
@return $this
The type of data stored in the bytes string . Default will be TEXT_UTF8 .