Interface TransformationDescriptionOrBuilder (3.50.0)

public interface TransformationDescriptionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCondition()

public abstract String getCondition()

A human-readable string representation of the RecordCondition corresponding to this transformation. Set if a RecordCondition was used to determine whether or not to apply this transformation.

Examples:

  • (age_field > 85)
  • (age_field <= 18)
  • (zip_field exists)
  • (zip_field == 01234) && (city_field != "Springville")
  • (zip_field == 01234) && (age_field <= 18) && (city_field exists)

string condition = 3;

Returns
Type Description
String

The condition.

getConditionBytes()

public abstract ByteString getConditionBytes()

A human-readable string representation of the RecordCondition corresponding to this transformation. Set if a RecordCondition was used to determine whether or not to apply this transformation.

Examples:

  • (age_field > 85)
  • (age_field <= 18)
  • (zip_field exists)
  • (zip_field == 01234) && (city_field != "Springville")
  • (zip_field == 01234) && (age_field <= 18) && (city_field exists)

string condition = 3;

Returns
Type Description
ByteString

The bytes for condition.

getDescription()

public abstract String getDescription()

A description of the transformation. This is empty for a RECORD_SUPPRESSION, or is the output of calling toString() on the PrimitiveTransformation protocol buffer message for any other type of transformation.

string description = 2;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

A description of the transformation. This is empty for a RECORD_SUPPRESSION, or is the output of calling toString() on the PrimitiveTransformation protocol buffer message for any other type of transformation.

string description = 2;

Returns
Type Description
ByteString

The bytes for description.

getInfoType()

public abstract InfoType getInfoType()

Set if the transformation was limited to a specific InfoType.

.google.privacy.dlp.v2.InfoType info_type = 4;

Returns
Type Description
InfoType

The infoType.

getInfoTypeOrBuilder()

public abstract InfoTypeOrBuilder getInfoTypeOrBuilder()

Set if the transformation was limited to a specific InfoType.

.google.privacy.dlp.v2.InfoType info_type = 4;

Returns
Type Description
InfoTypeOrBuilder

getType()

public abstract TransformationType getType()

The transformation type.

.google.privacy.dlp.v2.TransformationType type = 1;

Returns
Type Description
TransformationType

The type.

getTypeValue()

public abstract int getTypeValue()

The transformation type.

.google.privacy.dlp.v2.TransformationType type = 1;

Returns
Type Description
int

The enum numeric value on the wire for type.

hasInfoType()

public abstract boolean hasInfoType()

Set if the transformation was limited to a specific InfoType.

.google.privacy.dlp.v2.InfoType info_type = 4;

Returns
Type Description
boolean

Whether the infoType field is set.