Interface InfoTypeOrBuilder (3.45.0)

public interface InfoTypeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern [A-Za-z0-9$_-]{1,64}.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Name of the information type. Either a name of your choosing when creating a CustomInfoType, or one of the names listed at https://cloud.google.com/sensitive-data-protection/docs/infotypes-reference when specifying a built-in type. When sending Cloud DLP results to Data Catalog, infoType names should conform to the pattern [A-Za-z0-9$_-]{1,64}.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getSensitivityScore()

public abstract SensitivityScore getSensitivityScore()

Optional custom sensitivity for this InfoType. This only applies to data profiling.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 3;

Returns
TypeDescription
SensitivityScore

The sensitivityScore.

getSensitivityScoreOrBuilder()

public abstract SensitivityScoreOrBuilder getSensitivityScoreOrBuilder()

Optional custom sensitivity for this InfoType. This only applies to data profiling.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 3;

Returns
TypeDescription
SensitivityScoreOrBuilder

getVersion()

public abstract String getVersion()

Optional version name for this InfoType.

string version = 2;

Returns
TypeDescription
String

The version.

getVersionBytes()

public abstract ByteString getVersionBytes()

Optional version name for this InfoType.

string version = 2;

Returns
TypeDescription
ByteString

The bytes for version.

hasSensitivityScore()

public abstract boolean hasSensitivityScore()

Optional custom sensitivity for this InfoType. This only applies to data profiling.

.google.privacy.dlp.v2.SensitivityScore sensitivity_score = 3;

Returns
TypeDescription
boolean

Whether the sensitivityScore field is set.