Package com.google.privacy.dlp.v2
Class TransformationDescription.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TransformationDescription.Builder>
com.google.privacy.dlp.v2.TransformationDescription.Builder
- All Implemented Interfaces:
TransformationDescriptionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TransformationDescription
public static final class TransformationDescription.Builder
extends com.google.protobuf.GeneratedMessage.Builder<TransformationDescription.Builder>
implements TransformationDescriptionOrBuilder
A flattened description of a `PrimitiveTransformation` or `RecordSuppression`.Protobuf type
google.privacy.dlp.v2.TransformationDescription-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()A human-readable string representation of the `RecordCondition` corresponding to this transformation.A description of the transformation.Set if the transformation was limited to a specific `InfoType`.The transformation type.A human-readable string representation of the `RecordCondition` corresponding to this transformation.com.google.protobuf.ByteStringA human-readable string representation of the `RecordCondition` corresponding to this transformation.A description of the transformation.com.google.protobuf.ByteStringA description of the transformation.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorSet if the transformation was limited to a specific `InfoType`.Set if the transformation was limited to a specific `InfoType`.Set if the transformation was limited to a specific `InfoType`.getType()The transformation type.intThe transformation type.booleanSet if the transformation was limited to a specific `InfoType`.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeInfoType(InfoType value) Set if the transformation was limited to a specific `InfoType`.setCondition(String value) A human-readable string representation of the `RecordCondition` corresponding to this transformation.setConditionBytes(com.google.protobuf.ByteString value) A human-readable string representation of the `RecordCondition` corresponding to this transformation.setDescription(String value) A description of the transformation.setDescriptionBytes(com.google.protobuf.ByteString value) A description of the transformation.setInfoType(InfoType value) Set if the transformation was limited to a specific `InfoType`.setInfoType(InfoType.Builder builderForValue) Set if the transformation was limited to a specific `InfoType`.setType(TransformationType value) The transformation type.setTypeValue(int value) The transformation type.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TransformationDescription.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TransformationDescription.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.GeneratedMessage.Builder<TransformationDescription.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransformationDescription.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TransformationDescription.Builder>
-
mergeFrom
public TransformationDescription.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<TransformationDescription.Builder>- Throws:
IOException
-
getTypeValue
public int getTypeValue()The transformation type.
.google.privacy.dlp.v2.TransformationType type = 1;- Specified by:
getTypeValuein interfaceTransformationDescriptionOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
The transformation type.
.google.privacy.dlp.v2.TransformationType type = 1;- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
The transformation type.
.google.privacy.dlp.v2.TransformationType type = 1;- Specified by:
getTypein interfaceTransformationDescriptionOrBuilder- Returns:
- The type.
-
setType
The transformation type.
.google.privacy.dlp.v2.TransformationType type = 1;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
The transformation type.
.google.privacy.dlp.v2.TransformationType type = 1;- Returns:
- This builder for chaining.
-
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;- Specified by:
getDescriptionin interfaceTransformationDescriptionOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public 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;- Specified by:
getDescriptionBytesin interfaceTransformationDescriptionOrBuilder- Returns:
- The bytes for description.
-
setDescription
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;- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
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:
- This builder for chaining.
-
setDescriptionBytes
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;- Parameters:
value- The bytes for description to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getConditionin interfaceTransformationDescriptionOrBuilder- Returns:
- The condition.
-
getConditionBytes
public 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;- Specified by:
getConditionBytesin interfaceTransformationDescriptionOrBuilder- Returns:
- The bytes for condition.
-
setCondition
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;- Parameters:
value- The condition to set.- Returns:
- This builder for chaining.
-
clearCondition
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:
- This builder for chaining.
-
setConditionBytes
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;- Parameters:
value- The bytes for condition to set.- Returns:
- This builder for chaining.
-
hasInfoType
public boolean hasInfoType()Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4;- Specified by:
hasInfoTypein interfaceTransformationDescriptionOrBuilder- Returns:
- Whether the infoType field is set.
-
getInfoType
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4;- Specified by:
getInfoTypein interfaceTransformationDescriptionOrBuilder- Returns:
- The infoType.
-
setInfoType
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4; -
setInfoType
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4; -
mergeInfoType
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4; -
clearInfoType
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4; -
getInfoTypeBuilder
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4; -
getInfoTypeOrBuilder
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4;- Specified by:
getInfoTypeOrBuilderin interfaceTransformationDescriptionOrBuilder
-