Class InfoTypeTransformations (3.38.0)

public final class InfoTypeTransformations extends GeneratedMessageV3 implements InfoTypeTransformationsOrBuilder

A type of transformation that will scan unstructured text and apply various PrimitiveTransformations 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

TRANSFORMATIONS_FIELD_NUMBER

public static final int TRANSFORMATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static InfoTypeTransformations getDefaultInstance()
Returns
TypeDescription
InfoTypeTransformations

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static InfoTypeTransformations.Builder newBuilder()
Returns
TypeDescription
InfoTypeTransformations.Builder

newBuilder(InfoTypeTransformations prototype)

public static InfoTypeTransformations.Builder newBuilder(InfoTypeTransformations prototype)
Parameter
NameDescription
prototypeInfoTypeTransformations
Returns
TypeDescription
InfoTypeTransformations.Builder

parseDelimitedFrom(InputStream input)

public static InfoTypeTransformations parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InfoTypeTransformations
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InfoTypeTransformations parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InfoTypeTransformations
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static InfoTypeTransformations parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
InfoTypeTransformations
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static InfoTypeTransformations parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InfoTypeTransformations
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static InfoTypeTransformations parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
InfoTypeTransformations
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static InfoTypeTransformations parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InfoTypeTransformations
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static InfoTypeTransformations parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
InfoTypeTransformations
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static InfoTypeTransformations parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InfoTypeTransformations
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static InfoTypeTransformations parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
InfoTypeTransformations
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static InfoTypeTransformations parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InfoTypeTransformations
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static InfoTypeTransformations parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
InfoTypeTransformations
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static InfoTypeTransformations parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InfoTypeTransformations
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<InfoTypeTransformations> parser()
Returns
TypeDescription
Parser<InfoTypeTransformations>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public InfoTypeTransformations getDefaultInstanceForType()
Returns
TypeDescription
InfoTypeTransformations

getParserForType()

public Parser<InfoTypeTransformations> getParserForType()
Returns
TypeDescription
Parser<InfoTypeTransformations>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTransformations(int index)

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
NameDescription
indexint
Returns
TypeDescription
InfoTypeTransformations.InfoTypeTransformation

getTransformationsCount()

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
TypeDescription
int

getTransformationsList()

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
TypeDescription
List<InfoTypeTransformation>

getTransformationsOrBuilder(int index)

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
NameDescription
indexint
Returns
TypeDescription
InfoTypeTransformations.InfoTypeTransformationOrBuilder

getTransformationsOrBuilderList()

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
TypeDescription
List<? extends com.google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformationOrBuilder>

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public InfoTypeTransformations.Builder newBuilderForType()
Returns
TypeDescription
InfoTypeTransformations.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected InfoTypeTransformations.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
InfoTypeTransformations.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public InfoTypeTransformations.Builder toBuilder()
Returns
TypeDescription
InfoTypeTransformations.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException