- 3.56.0 (latest)
- 3.55.0
- 3.53.0
- 3.52.0
- 3.51.0
- 3.50.0
- 3.49.0
- 3.48.0
- 3.47.0
- 3.46.0
- 3.45.0
- 3.44.0
- 3.43.0
- 3.41.0
- 3.40.0
- 3.39.0
- 3.38.0
- 3.37.0
- 3.36.0
- 3.35.0
- 3.34.0
- 3.33.0
- 3.32.0
- 3.31.0
- 3.28.0
- 3.27.0
- 3.26.0
- 3.25.0
- 3.24.0
- 3.23.0
- 3.22.0
- 3.21.0
- 3.20.0
- 3.19.0
- 3.18.0
- 3.17.0
- 3.16.0
- 3.15.0
- 3.13.0
- 3.12.0
- 3.11.0
- 3.10.0
- 3.9.0
- 3.8.0
- 3.7.6
- 3.6.7
- 3.5.0
- 3.4.0
- 3.3.2
- 3.2.1
- 3.1.4
public interface FieldTransformationOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCondition()
public abstract 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.
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;
Returns | |
---|---|
Type | Description |
RecordCondition |
The condition. |
getConditionOrBuilder()
public abstract 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.
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;
Returns | |
---|---|
Type | Description |
RecordConditionOrBuilder |
getFields(int index)
public abstract FieldId getFields(int index)
Required. Input field(s) to apply the transformation to. When you have columns that reference their position within a list, omit the index from the FieldId. FieldId name matching ignores the index. For example, instead of "contact.nums[0].type", use "contact.nums.type".
repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FieldId |
getFieldsCount()
public abstract int getFieldsCount()
Required. Input field(s) to apply the transformation to. When you have columns that reference their position within a list, omit the index from the FieldId. FieldId name matching ignores the index. For example, instead of "contact.nums[0].type", use "contact.nums.type".
repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
getFieldsList()
public abstract List<FieldId> getFieldsList()
Required. Input field(s) to apply the transformation to. When you have columns that reference their position within a list, omit the index from the FieldId. FieldId name matching ignores the index. For example, instead of "contact.nums[0].type", use "contact.nums.type".
repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<FieldId> |
getFieldsOrBuilder(int index)
public abstract FieldIdOrBuilder getFieldsOrBuilder(int index)
Required. Input field(s) to apply the transformation to. When you have columns that reference their position within a list, omit the index from the FieldId. FieldId name matching ignores the index. For example, instead of "contact.nums[0].type", use "contact.nums.type".
repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
FieldIdOrBuilder |
getFieldsOrBuilderList()
public abstract List<? extends FieldIdOrBuilder> getFieldsOrBuilderList()
Required. Input field(s) to apply the transformation to. When you have columns that reference their position within a list, omit the index from the FieldId. FieldId name matching ignores the index. For example, instead of "contact.nums[0].type", use "contact.nums.type".
repeated .google.privacy.dlp.v2.FieldId fields = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<? extends com.google.privacy.dlp.v2.FieldIdOrBuilder> |
getInfoTypeTransformations()
public abstract 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;
Returns | |
---|---|
Type | Description |
InfoTypeTransformations |
The infoTypeTransformations. |
getInfoTypeTransformationsOrBuilder()
public abstract 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;
Returns | |
---|---|
Type | Description |
InfoTypeTransformationsOrBuilder |
getPrimitiveTransformation()
public abstract PrimitiveTransformation getPrimitiveTransformation()
Apply the transformation to the entire field.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
Returns | |
---|---|
Type | Description |
PrimitiveTransformation |
The primitiveTransformation. |
getPrimitiveTransformationOrBuilder()
public abstract PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder()
Apply the transformation to the entire field.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
Returns | |
---|---|
Type | Description |
PrimitiveTransformationOrBuilder |
getTransformationCase()
public abstract FieldTransformation.TransformationCase getTransformationCase()
Returns | |
---|---|
Type | Description |
FieldTransformation.TransformationCase |
hasCondition()
public abstract 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.
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the condition field is set. |
hasInfoTypeTransformations()
public abstract 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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the infoTypeTransformations field is set. |
hasPrimitiveTransformation()
public abstract boolean hasPrimitiveTransformation()
Apply the transformation to the entire field.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
Returns | |
---|---|
Type | Description |
boolean |
Whether the primitiveTransformation field is set. |