public static final class TransformationDescription.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransformationDescription.Builder> implements TransformationDescriptionOrBuilder
A flattened description of a `PrimitiveTransformation` or `RecordSuppression`.Protobuf type
google.privacy.dlp.v2.TransformationDescription| Modifier and Type | Method and Description |
|---|---|
TransformationDescription.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransformationDescription |
build() |
TransformationDescription |
buildPartial() |
TransformationDescription.Builder |
clear() |
TransformationDescription.Builder |
clearCondition()
A human-readable string representation of the `RecordCondition`
corresponding to this transformation.
|
TransformationDescription.Builder |
clearDescription()
A description of the transformation.
|
TransformationDescription.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TransformationDescription.Builder |
clearInfoType()
Set if the transformation was limited to a specific `InfoType`.
|
TransformationDescription.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TransformationDescription.Builder |
clearType()
The transformation type.
|
TransformationDescription.Builder |
clone() |
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.
|
TransformationDescription |
getDefaultInstanceForType() |
String |
getDescription()
A description of the transformation.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A description of the transformation.
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
InfoType |
getInfoType()
Set if the transformation was limited to a specific `InfoType`.
|
InfoType.Builder |
getInfoTypeBuilder()
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`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TransformationDescription.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TransformationDescription.Builder |
mergeFrom(com.google.protobuf.Message other) |
TransformationDescription.Builder |
mergeFrom(TransformationDescription other) |
TransformationDescription.Builder |
mergeInfoType(InfoType value)
Set if the transformation was limited to a specific `InfoType`.
|
TransformationDescription.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TransformationDescription.Builder |
setCondition(String value)
A human-readable string representation of the `RecordCondition`
corresponding to this transformation.
|
TransformationDescription.Builder |
setConditionBytes(com.google.protobuf.ByteString value)
A human-readable string representation of the `RecordCondition`
corresponding to this transformation.
|
TransformationDescription.Builder |
setDescription(String value)
A description of the transformation.
|
TransformationDescription.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
A description of the transformation.
|
TransformationDescription.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransformationDescription.Builder |
setInfoType(InfoType.Builder builderForValue)
Set if the transformation was limited to a specific `InfoType`.
|
TransformationDescription.Builder |
setInfoType(InfoType value)
Set if the transformation was limited to a specific `InfoType`.
|
TransformationDescription.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TransformationDescription.Builder |
setType(TransformationType value)
The transformation type.
|
TransformationDescription.Builder |
setTypeValue(int value)
The transformation type.
|
TransformationDescription.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TransformationDescription.Builder>public TransformationDescription.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TransformationDescription.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TransformationDescription.Builder>public TransformationDescription getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TransformationDescription build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TransformationDescription buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TransformationDescription.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TransformationDescription.Builder>public TransformationDescription.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TransformationDescription.Builder>public TransformationDescription.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TransformationDescription.Builder>public TransformationDescription.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TransformationDescription.Builder>public TransformationDescription.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransformationDescription.Builder>public TransformationDescription.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransformationDescription.Builder>public TransformationDescription.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransformationDescription.Builder>public TransformationDescription.Builder mergeFrom(TransformationDescription other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TransformationDescription.Builder>public TransformationDescription.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransformationDescription.Builder>IOExceptionpublic int getTypeValue()
The transformation type.
.google.privacy.dlp.v2.TransformationType type = 1;getTypeValue in interface TransformationDescriptionOrBuilderpublic TransformationDescription.Builder setTypeValue(int value)
The transformation type.
.google.privacy.dlp.v2.TransformationType type = 1;value - The enum numeric value on the wire for type to set.public TransformationType getType()
The transformation type.
.google.privacy.dlp.v2.TransformationType type = 1;getType in interface TransformationDescriptionOrBuilderpublic TransformationDescription.Builder setType(TransformationType value)
The transformation type.
.google.privacy.dlp.v2.TransformationType type = 1;value - The type to set.public TransformationDescription.Builder clearType()
The transformation type.
.google.privacy.dlp.v2.TransformationType type = 1;public 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;getDescription in interface TransformationDescriptionOrBuilderpublic 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;getDescriptionBytes in interface TransformationDescriptionOrBuilderpublic TransformationDescription.Builder setDescription(String value)
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;value - The description to set.public TransformationDescription.Builder 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;public TransformationDescription.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
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;value - The bytes for description to set.public 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;getCondition in interface TransformationDescriptionOrBuilderpublic 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;getConditionBytes in interface TransformationDescriptionOrBuilderpublic TransformationDescription.Builder setCondition(String value)
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;value - The condition to set.public TransformationDescription.Builder 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;public TransformationDescription.Builder setConditionBytes(com.google.protobuf.ByteString value)
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;value - The bytes for condition to set.public boolean hasInfoType()
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4;hasInfoType in interface TransformationDescriptionOrBuilderpublic InfoType getInfoType()
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4;getInfoType in interface TransformationDescriptionOrBuilderpublic TransformationDescription.Builder setInfoType(InfoType value)
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4;public TransformationDescription.Builder setInfoType(InfoType.Builder builderForValue)
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4;public TransformationDescription.Builder mergeInfoType(InfoType value)
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4;public TransformationDescription.Builder clearInfoType()
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4;public InfoType.Builder getInfoTypeBuilder()
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4;public InfoTypeOrBuilder getInfoTypeOrBuilder()
Set if the transformation was limited to a specific `InfoType`.
.google.privacy.dlp.v2.InfoType info_type = 4;getInfoTypeOrBuilder in interface TransformationDescriptionOrBuilderpublic final TransformationDescription.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransformationDescription.Builder>public final TransformationDescription.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransformationDescription.Builder>Copyright © 2022 Google LLC. All rights reserved.