Package com.google.privacy.dlp.v2
Interface TransformationDescriptionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransformationDescription
,TransformationDescription.Builder
public interface TransformationDescriptionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getCondition()
A human-readable string representation of the `RecordCondition` corresponding to this transformation.com.google.protobuf.ByteString
getConditionBytes()
A human-readable string representation of the `RecordCondition` corresponding to this transformation.String
getDescription()
A description of the transformation.com.google.protobuf.ByteString
getDescriptionBytes()
A description of the transformation.InfoType
getInfoType()
Set if the transformation was limited to a specific `InfoType`.InfoTypeOrBuilder
getInfoTypeOrBuilder()
Set if the transformation was limited to a specific `InfoType`.TransformationType
getType()
The transformation type.int
getTypeValue()
The transformation type.boolean
hasInfoType()
Set if the transformation was limited to a specific `InfoType`.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypeValue
int getTypeValue()
The transformation type.
.google.privacy.dlp.v2.TransformationType type = 1;
- Returns:
- The enum numeric value on the wire for type.
-
getType
TransformationType getType()
The transformation type.
.google.privacy.dlp.v2.TransformationType type = 1;
- Returns:
- The type.
-
getDescription
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:
- The description.
-
getDescriptionBytes
com.google.protobuf.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:
- The bytes for description.
-
getCondition
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:
- The condition.
-
getConditionBytes
com.google.protobuf.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:
- The bytes for condition.
-
hasInfoType
boolean hasInfoType()
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4;
- Returns:
- Whether the infoType field is set.
-
getInfoType
InfoType getInfoType()
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4;
- Returns:
- The infoType.
-
getInfoTypeOrBuilder
InfoTypeOrBuilder getInfoTypeOrBuilder()
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4;
-
-