public final class InfoTypeTransformations extends GeneratedMessageV3 implements InfoTypeTransformationsOrBuilder
A type of transformation that will scan unstructured text and
apply various PrimitiveTransformation
s to each finding, where the
transformation is applied to only values that were identified as a specific
info_type.
Protobuf type google.privacy.dlp.v2.InfoTypeTransformations
Static Fields
public static final int TRANSFORMATIONS_FIELD_NUMBER
Field Value
Static Methods
public static InfoTypeTransformations getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static InfoTypeTransformations.Builder newBuilder()
Returns
public static InfoTypeTransformations.Builder newBuilder(InfoTypeTransformations prototype)
Parameter
Returns
public static InfoTypeTransformations parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InfoTypeTransformations parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InfoTypeTransformations parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static InfoTypeTransformations parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InfoTypeTransformations parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static InfoTypeTransformations parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InfoTypeTransformations parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InfoTypeTransformations parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InfoTypeTransformations parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InfoTypeTransformations parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InfoTypeTransformations parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static InfoTypeTransformations parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<InfoTypeTransformations> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public InfoTypeTransformations getDefaultInstanceForType()
Returns
public Parser<InfoTypeTransformations> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public InfoTypeTransformations.InfoTypeTransformation getTransformations(int index)
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public int getTransformationsCount()
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public List<InfoTypeTransformations.InfoTypeTransformation> getTransformationsList()
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
public InfoTypeTransformations.InfoTypeTransformationOrBuilder getTransformationsOrBuilder(int index)
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
public List<? extends InfoTypeTransformations.InfoTypeTransformationOrBuilder> getTransformationsOrBuilderList()
Required. Transformation for each infoType. Cannot specify more than one
for a given infoType.
repeated .google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation transformations = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
List<? extends com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder> | |
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public InfoTypeTransformations.Builder newBuilderForType()
Returns
protected InfoTypeTransformations.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public InfoTypeTransformations.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions