Send feedback
Class TransformationErrorHandling.Builder (3.56.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.56.0 keyboard_arrow_down
public static final class TransformationErrorHandling . Builder extends GeneratedMessageV3 . Builder<TransformationErrorHandling . Builder > implements TransformationErrorHandlingOrBuilder
How to handle transformation errors during de-identification. A
transformation error occurs when the requested transformation is incompatible
with the data. For example, trying to de-identify an IP address using a
DateShift
transformation would result in a transformation error, since date
info cannot be extracted from an IP address.
Information about any incompatible transformations, and how they were
handled, is returned in the response as part of the
TransformationOverviews
.
Protobuf type google.privacy.dlp.v2.TransformationErrorHandling
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Methods
public TransformationErrorHandling . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public TransformationErrorHandling build ()
public TransformationErrorHandling buildPartial ()
public TransformationErrorHandling . Builder clear ()
Overrides
public TransformationErrorHandling . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
public TransformationErrorHandling . Builder clearLeaveUntransformed ()
Ignore errors
.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2;
public TransformationErrorHandling . Builder clearMode ()
public TransformationErrorHandling . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
public TransformationErrorHandling . Builder clearThrowError ()
Throw an error
.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1;
public TransformationErrorHandling . Builder clone ()
Overrides
public TransformationErrorHandling getDefaultInstanceForType ()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
public TransformationErrorHandling . LeaveUntransformed getLeaveUntransformed ()
Ignore errors
.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2;
public TransformationErrorHandling . LeaveUntransformed . Builder getLeaveUntransformedBuilder ()
Ignore errors
.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2;
public TransformationErrorHandling . LeaveUntransformedOrBuilder getLeaveUntransformedOrBuilder ()
Ignore errors
.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2;
public TransformationErrorHandling . ModeCase getModeCase ()
public TransformationErrorHandling . ThrowError getThrowError ()
Throw an error
.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1;
public TransformationErrorHandling . ThrowError . Builder getThrowErrorBuilder ()
Throw an error
.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1;
public TransformationErrorHandling . ThrowErrorOrBuilder getThrowErrorOrBuilder ()
Throw an error
.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1;
public boolean hasLeaveUntransformed ()
Ignore errors
.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2;
Returns
Type
Description
boolean
Whether the leaveUntransformed field is set.
public boolean hasThrowError ()
Throw an error
.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1;
Returns
Type
Description
boolean
Whether the throwError field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public TransformationErrorHandling . Builder mergeFrom ( TransformationErrorHandling other )
public TransformationErrorHandling . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
public TransformationErrorHandling . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
public TransformationErrorHandling . Builder mergeLeaveUntransformed ( TransformationErrorHandling . LeaveUntransformed value )
Ignore errors
.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2;
public TransformationErrorHandling . Builder mergeThrowError ( TransformationErrorHandling . ThrowError value )
Throw an error
.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1;
public final TransformationErrorHandling . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
public TransformationErrorHandling . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
public TransformationErrorHandling . Builder setLeaveUntransformed ( TransformationErrorHandling . LeaveUntransformed value )
Ignore errors
.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2;
public TransformationErrorHandling . Builder setLeaveUntransformed ( TransformationErrorHandling . LeaveUntransformed . Builder builderForValue )
Ignore errors
.google.privacy.dlp.v2.TransformationErrorHandling.LeaveUntransformed leave_untransformed = 2;
public TransformationErrorHandling . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
public TransformationErrorHandling . Builder setThrowError ( TransformationErrorHandling . ThrowError value )
Throw an error
.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1;
public TransformationErrorHandling . Builder setThrowError ( TransformationErrorHandling . ThrowError . Builder builderForValue )
Throw an error
.google.privacy.dlp.v2.TransformationErrorHandling.ThrowError throw_error = 1;
public final TransformationErrorHandling . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]