Package com.google.privacy.dlp.v2
Class FieldTransformation.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<FieldTransformation.Builder>
-
- com.google.privacy.dlp.v2.FieldTransformation.Builder
-
- All Implemented Interfaces:
FieldTransformationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- FieldTransformation
public static final class FieldTransformation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<FieldTransformation.Builder> implements FieldTransformationOrBuilder
The transformation to apply to the field.
Protobuf typegoogle.privacy.dlp.v2.FieldTransformation
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FieldTransformation.BuilderaddAllFields(Iterable<? extends FieldId> values)Required.FieldTransformation.BuilderaddFields(int index, FieldId value)Required.FieldTransformation.BuilderaddFields(int index, FieldId.Builder builderForValue)Required.FieldTransformation.BuilderaddFields(FieldId value)Required.FieldTransformation.BuilderaddFields(FieldId.Builder builderForValue)Required.FieldId.BuilderaddFieldsBuilder()Required.FieldId.BuilderaddFieldsBuilder(int index)Required.FieldTransformation.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FieldTransformationbuild()FieldTransformationbuildPartial()FieldTransformation.Builderclear()FieldTransformation.BuilderclearCondition()Only apply the transformation if the condition evaluates to true for the given `RecordCondition`.FieldTransformation.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)FieldTransformation.BuilderclearFields()Required.FieldTransformation.BuilderclearInfoTypeTransformations()Treat the contents of the field as free text, and selectively transform content that matches an `InfoType`.FieldTransformation.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)FieldTransformation.BuilderclearPrimitiveTransformation()Apply the transformation to the entire field.FieldTransformation.BuilderclearTransformation()FieldTransformation.Builderclone()RecordConditiongetCondition()Only apply the transformation if the condition evaluates to true for the given `RecordCondition`.RecordCondition.BuildergetConditionBuilder()Only apply the transformation if the condition evaluates to true for the given `RecordCondition`.RecordConditionOrBuildergetConditionOrBuilder()Only apply the transformation if the condition evaluates to true for the given `RecordCondition`.FieldTransformationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()FieldIdgetFields(int index)Required.FieldId.BuildergetFieldsBuilder(int index)Required.List<FieldId.Builder>getFieldsBuilderList()Required.intgetFieldsCount()Required.List<FieldId>getFieldsList()Required.FieldIdOrBuildergetFieldsOrBuilder(int index)Required.List<? extends FieldIdOrBuilder>getFieldsOrBuilderList()Required.InfoTypeTransformationsgetInfoTypeTransformations()Treat the contents of the field as free text, and selectively transform content that matches an `InfoType`.InfoTypeTransformations.BuildergetInfoTypeTransformationsBuilder()Treat the contents of the field as free text, and selectively transform content that matches an `InfoType`.InfoTypeTransformationsOrBuildergetInfoTypeTransformationsOrBuilder()Treat the contents of the field as free text, and selectively transform content that matches an `InfoType`.PrimitiveTransformationgetPrimitiveTransformation()Apply the transformation to the entire field.PrimitiveTransformation.BuildergetPrimitiveTransformationBuilder()Apply the transformation to the entire field.PrimitiveTransformationOrBuildergetPrimitiveTransformationOrBuilder()Apply the transformation to the entire field.FieldTransformation.TransformationCasegetTransformationCase()booleanhasCondition()Only apply the transformation if the condition evaluates to true for the given `RecordCondition`.booleanhasInfoTypeTransformations()Treat the contents of the field as free text, and selectively transform content that matches an `InfoType`.booleanhasPrimitiveTransformation()Apply the transformation to the entire field.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()FieldTransformation.BuildermergeCondition(RecordCondition value)Only apply the transformation if the condition evaluates to true for the given `RecordCondition`.FieldTransformation.BuildermergeFrom(FieldTransformation other)FieldTransformation.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)FieldTransformation.BuildermergeFrom(com.google.protobuf.Message other)FieldTransformation.BuildermergeInfoTypeTransformations(InfoTypeTransformations value)Treat the contents of the field as free text, and selectively transform content that matches an `InfoType`.FieldTransformation.BuildermergePrimitiveTransformation(PrimitiveTransformation value)Apply the transformation to the entire field.FieldTransformation.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)FieldTransformation.BuilderremoveFields(int index)Required.FieldTransformation.BuildersetCondition(RecordCondition value)Only apply the transformation if the condition evaluates to true for the given `RecordCondition`.FieldTransformation.BuildersetCondition(RecordCondition.Builder builderForValue)Only apply the transformation if the condition evaluates to true for the given `RecordCondition`.FieldTransformation.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)FieldTransformation.BuildersetFields(int index, FieldId value)Required.FieldTransformation.BuildersetFields(int index, FieldId.Builder builderForValue)Required.FieldTransformation.BuildersetInfoTypeTransformations(InfoTypeTransformations value)Treat the contents of the field as free text, and selectively transform content that matches an `InfoType`.FieldTransformation.BuildersetInfoTypeTransformations(InfoTypeTransformations.Builder builderForValue)Treat the contents of the field as free text, and selectively transform content that matches an `InfoType`.FieldTransformation.BuildersetPrimitiveTransformation(PrimitiveTransformation value)Apply the transformation to the entire field.FieldTransformation.BuildersetPrimitiveTransformation(PrimitiveTransformation.Builder builderForValue)Apply the transformation to the entire field.FieldTransformation.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)FieldTransformation.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<FieldTransformation.Builder>
-
clear
public FieldTransformation.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<FieldTransformation.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<FieldTransformation.Builder>
-
getDefaultInstanceForType
public FieldTransformation getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public FieldTransformation build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public FieldTransformation buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public FieldTransformation.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<FieldTransformation.Builder>
-
setField
public FieldTransformation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FieldTransformation.Builder>
-
clearField
public FieldTransformation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FieldTransformation.Builder>
-
clearOneof
public FieldTransformation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<FieldTransformation.Builder>
-
setRepeatedField
public FieldTransformation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FieldTransformation.Builder>
-
addRepeatedField
public FieldTransformation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<FieldTransformation.Builder>
-
mergeFrom
public FieldTransformation.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FieldTransformation.Builder>
-
mergeFrom
public FieldTransformation.Builder mergeFrom(FieldTransformation other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<FieldTransformation.Builder>
-
mergeFrom
public FieldTransformation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<FieldTransformation.Builder>- Throws:
IOException
-
getTransformationCase
public FieldTransformation.TransformationCase getTransformationCase()
- Specified by:
getTransformationCasein interfaceFieldTransformationOrBuilder
-
clearTransformation
public FieldTransformation.Builder clearTransformation()
-
getFieldsList
public 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];- Specified by:
getFieldsListin interfaceFieldTransformationOrBuilder
-
getFieldsCount
public 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];- Specified by:
getFieldsCountin interfaceFieldTransformationOrBuilder
-
getFields
public 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];- Specified by:
getFieldsin interfaceFieldTransformationOrBuilder
-
setFields
public FieldTransformation.Builder setFields(int index, FieldId value)
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];
-
setFields
public FieldTransformation.Builder setFields(int index, FieldId.Builder builderForValue)
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];
-
addFields
public FieldTransformation.Builder addFields(FieldId value)
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];
-
addFields
public FieldTransformation.Builder addFields(int index, FieldId value)
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];
-
addFields
public FieldTransformation.Builder addFields(FieldId.Builder builderForValue)
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];
-
addFields
public FieldTransformation.Builder addFields(int index, FieldId.Builder builderForValue)
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];
-
addAllFields
public FieldTransformation.Builder addAllFields(Iterable<? extends FieldId> values)
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];
-
clearFields
public FieldTransformation.Builder clearFields()
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];
-
removeFields
public FieldTransformation.Builder removeFields(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];
-
getFieldsBuilder
public FieldId.Builder getFieldsBuilder(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];
-
getFieldsOrBuilder
public 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];- Specified by:
getFieldsOrBuilderin interfaceFieldTransformationOrBuilder
-
getFieldsOrBuilderList
public 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];- Specified by:
getFieldsOrBuilderListin interfaceFieldTransformationOrBuilder
-
addFieldsBuilder
public FieldId.Builder addFieldsBuilder()
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];
-
addFieldsBuilder
public FieldId.Builder addFieldsBuilder(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];
-
getFieldsBuilderList
public List<FieldId.Builder> getFieldsBuilderList()
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];
-
hasCondition
public 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;- Specified by:
hasConditionin interfaceFieldTransformationOrBuilder- Returns:
- Whether the condition field is set.
-
getCondition
public 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;- Specified by:
getConditionin interfaceFieldTransformationOrBuilder- Returns:
- The condition.
-
setCondition
public FieldTransformation.Builder setCondition(RecordCondition value)
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;
-
setCondition
public FieldTransformation.Builder setCondition(RecordCondition.Builder builderForValue)
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;
-
mergeCondition
public FieldTransformation.Builder mergeCondition(RecordCondition value)
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;
-
clearCondition
public FieldTransformation.Builder clearCondition()
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;
-
getConditionBuilder
public RecordCondition.Builder getConditionBuilder()
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;
-
getConditionOrBuilder
public 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;- Specified by:
getConditionOrBuilderin interfaceFieldTransformationOrBuilder
-
hasPrimitiveTransformation
public boolean hasPrimitiveTransformation()
Apply the transformation to the entire field.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;- Specified by:
hasPrimitiveTransformationin interfaceFieldTransformationOrBuilder- Returns:
- Whether the primitiveTransformation field is set.
-
getPrimitiveTransformation
public PrimitiveTransformation getPrimitiveTransformation()
Apply the transformation to the entire field.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;- Specified by:
getPrimitiveTransformationin interfaceFieldTransformationOrBuilder- Returns:
- The primitiveTransformation.
-
setPrimitiveTransformation
public FieldTransformation.Builder setPrimitiveTransformation(PrimitiveTransformation value)
Apply the transformation to the entire field.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
-
setPrimitiveTransformation
public FieldTransformation.Builder setPrimitiveTransformation(PrimitiveTransformation.Builder builderForValue)
Apply the transformation to the entire field.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
-
mergePrimitiveTransformation
public FieldTransformation.Builder mergePrimitiveTransformation(PrimitiveTransformation value)
Apply the transformation to the entire field.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
-
clearPrimitiveTransformation
public FieldTransformation.Builder clearPrimitiveTransformation()
Apply the transformation to the entire field.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
-
getPrimitiveTransformationBuilder
public PrimitiveTransformation.Builder getPrimitiveTransformationBuilder()
Apply the transformation to the entire field.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;
-
getPrimitiveTransformationOrBuilder
public PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder()
Apply the transformation to the entire field.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 4;- Specified by:
getPrimitiveTransformationOrBuilderin interfaceFieldTransformationOrBuilder
-
hasInfoTypeTransformations
public 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;- Specified by:
hasInfoTypeTransformationsin interfaceFieldTransformationOrBuilder- Returns:
- Whether the infoTypeTransformations field is set.
-
getInfoTypeTransformations
public 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;- Specified by:
getInfoTypeTransformationsin interfaceFieldTransformationOrBuilder- Returns:
- The infoTypeTransformations.
-
setInfoTypeTransformations
public FieldTransformation.Builder setInfoTypeTransformations(InfoTypeTransformations value)
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;
-
setInfoTypeTransformations
public FieldTransformation.Builder setInfoTypeTransformations(InfoTypeTransformations.Builder builderForValue)
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;
-
mergeInfoTypeTransformations
public FieldTransformation.Builder mergeInfoTypeTransformations(InfoTypeTransformations value)
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;
-
clearInfoTypeTransformations
public FieldTransformation.Builder clearInfoTypeTransformations()
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;
-
getInfoTypeTransformationsBuilder
public InfoTypeTransformations.Builder getInfoTypeTransformationsBuilder()
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;
-
getInfoTypeTransformationsOrBuilder
public 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;- Specified by:
getInfoTypeTransformationsOrBuilderin interfaceFieldTransformationOrBuilder
-
setUnknownFields
public final FieldTransformation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FieldTransformation.Builder>
-
mergeUnknownFields
public final FieldTransformation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<FieldTransformation.Builder>
-
-