public interface FieldTransformationOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
RecordCondition |
getCondition()
Only apply the transformation if the condition evaluates to true for the
given `RecordCondition`.
|
RecordConditionOrBuilder |
getConditionOrBuilder()
Only apply the transformation if the condition evaluates to true for the
given `RecordCondition`.
|
FieldId |
getFields(int index)
Input field(s) to apply the transformation to.
|
int |
getFieldsCount()
Input field(s) to apply the transformation to.
|
java.util.List<FieldId> |
getFieldsList()
Input field(s) to apply the transformation to.
|
FieldIdOrBuilder |
getFieldsOrBuilder(int index)
Input field(s) to apply the transformation to.
|
java.util.List<? extends FieldIdOrBuilder> |
getFieldsOrBuilderList()
Input field(s) to apply the transformation to.
|
InfoTypeTransformations |
getInfoTypeTransformations()
Treat the contents of the field as free text, and selectively
transform content that matches an `InfoType`.
|
InfoTypeTransformationsOrBuilder |
getInfoTypeTransformationsOrBuilder()
Treat the contents of the field as free text, and selectively
transform content that matches an `InfoType`.
|
PrimitiveTransformation |
getPrimitiveTransformation()
Apply the transformation to the entire field.
|
PrimitiveTransformationOrBuilder |
getPrimitiveTransformationOrBuilder()
Apply the transformation to the entire field.
|
FieldTransformation.TransformationCase |
getTransformationCase() |
boolean |
hasCondition()
Only apply the transformation if the condition evaluates to true for the
given `RecordCondition`.
|
boolean |
hasInfoTypeTransformations()
Treat the contents of the field as free text, and selectively
transform content that matches an `InfoType`.
|
boolean |
hasPrimitiveTransformation()
Apply the transformation to the entire field.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
java.util.List<FieldId> getFieldsList()
Input field(s) to apply the transformation to. [required]
repeated .google.privacy.dlp.v2.FieldId fields = 1;
FieldId getFields(int index)
Input field(s) to apply the transformation to. [required]
repeated .google.privacy.dlp.v2.FieldId fields = 1;
int getFieldsCount()
Input field(s) to apply the transformation to. [required]
repeated .google.privacy.dlp.v2.FieldId fields = 1;
java.util.List<? extends FieldIdOrBuilder> getFieldsOrBuilderList()
Input field(s) to apply the transformation to. [required]
repeated .google.privacy.dlp.v2.FieldId fields = 1;
FieldIdOrBuilder getFieldsOrBuilder(int index)
Input field(s) to apply the transformation to. [required]
repeated .google.privacy.dlp.v2.FieldId fields = 1;
boolean hasCondition()
Only apply the transformation if the condition evaluates to true for the given `RecordCondition`. The conditions are allowed to reference fields that are not used in the actual transformation. [optional] Example Use Cases: - Apply a different bucket transformation to an age column if the zip code column for the same record is within a specific range. - Redact a field if the date of birth field is greater than 85.
.google.privacy.dlp.v2.RecordCondition condition = 3;
RecordCondition getCondition()
Only apply the transformation if the condition evaluates to true for the given `RecordCondition`. The conditions are allowed to reference fields that are not used in the actual transformation. [optional] Example Use Cases: - Apply a different bucket transformation to an age column if the zip code column for the same record is within a specific range. - Redact a field if the date of birth field is greater than 85.
.google.privacy.dlp.v2.RecordCondition condition = 3;
RecordConditionOrBuilder getConditionOrBuilder()
Only apply the transformation if the condition evaluates to true for the given `RecordCondition`. The conditions are allowed to reference fields that are not used in the actual transformation. [optional] Example Use Cases: - Apply a different bucket transformation to an age column if the zip code column for the same record is within a specific range. - Redact a field if the date of birth field is greater than 85.
.google.privacy.dlp.v2.RecordCondition condition = 3;
boolean hasPrimitiveTransformation()
Apply the transformation to the entire field.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
PrimitiveTransformation getPrimitiveTransformation()
Apply the transformation to the entire field.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder()
Apply the transformation to the entire field.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
boolean hasInfoTypeTransformations()
Treat the contents of the field as free text, and selectively transform content that matches an `InfoType`.
.google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
InfoTypeTransformations getInfoTypeTransformations()
Treat the contents of the field as free text, and selectively transform content that matches an `InfoType`.
.google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
InfoTypeTransformationsOrBuilder getInfoTypeTransformationsOrBuilder()
Treat the contents of the field as free text, and selectively transform content that matches an `InfoType`.
.google.privacy.dlp.v2.InfoTypeTransformations info_type_transformations = 5;
FieldTransformation.TransformationCase getTransformationCase()