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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
public static final int TRANSFORMATIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static InfoTypeTransformations getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static InfoTypeTransformations.Builder newBuilder()
public static InfoTypeTransformations.Builder newBuilder(InfoTypeTransformations prototype)
public static InfoTypeTransformations parseDelimitedFrom(InputStream input)
public static InfoTypeTransformations parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InfoTypeTransformations parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static InfoTypeTransformations parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static InfoTypeTransformations parseFrom(ByteString data)
public static InfoTypeTransformations parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static InfoTypeTransformations parseFrom(CodedInputStream input)
public static InfoTypeTransformations parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static InfoTypeTransformations parseFrom(InputStream input)
public static InfoTypeTransformations parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static InfoTypeTransformations parseFrom(ByteBuffer data)
public static InfoTypeTransformations parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<InfoTypeTransformations> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public InfoTypeTransformations getDefaultInstanceForType()
public Parser<InfoTypeTransformations> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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 |
---|
Name | Description |
index | int
|
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 |
---|
Type | Description |
int | |
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];
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 |
---|
Name | Description |
index | int
|
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> | |
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public InfoTypeTransformations.Builder newBuilderForType()
protected InfoTypeTransformations.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public InfoTypeTransformations.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides