public static final class InfoTypeTransformations.InfoTypeTransformation extends GeneratedMessageV3 implements InfoTypeTransformations.InfoTypeTransformationOrBuilder
A transformation to apply to text that is identified as a specific
info_type.
Protobuf type google.privacy.dlp.v2.InfoTypeTransformations.InfoTypeTransformation
Static Fields
public static final int INFO_TYPES_FIELD_NUMBER
Field Value
public static final int PRIMITIVE_TRANSFORMATION_FIELD_NUMBER
Field Value
Static Methods
public static InfoTypeTransformations.InfoTypeTransformation getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static InfoTypeTransformations.InfoTypeTransformation.Builder newBuilder()
Returns
public static InfoTypeTransformations.InfoTypeTransformation.Builder newBuilder(InfoTypeTransformations.InfoTypeTransformation prototype)
Parameter
Returns
public static InfoTypeTransformations.InfoTypeTransformation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static InfoTypeTransformations.InfoTypeTransformation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static InfoTypeTransformations.InfoTypeTransformation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<InfoTypeTransformations.InfoTypeTransformation> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public InfoTypeTransformations.InfoTypeTransformation getDefaultInstanceForType()
Returns
public InfoType getInfoTypes(int index)
InfoTypes to apply the transformation to. An empty list will cause
this transformation to apply to all findings that correspond to
infoTypes that were requested in InspectConfig
.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
Parameter
Returns
public int getInfoTypesCount()
InfoTypes to apply the transformation to. An empty list will cause
this transformation to apply to all findings that correspond to
infoTypes that were requested in InspectConfig
.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
Returns
public List<InfoType> getInfoTypesList()
InfoTypes to apply the transformation to. An empty list will cause
this transformation to apply to all findings that correspond to
infoTypes that were requested in InspectConfig
.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
Returns
public InfoTypeOrBuilder getInfoTypesOrBuilder(int index)
InfoTypes to apply the transformation to. An empty list will cause
this transformation to apply to all findings that correspond to
infoTypes that were requested in InspectConfig
.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
Parameter
Returns
public List<? extends InfoTypeOrBuilder> getInfoTypesOrBuilderList()
InfoTypes to apply the transformation to. An empty list will cause
this transformation to apply to all findings that correspond to
infoTypes that were requested in InspectConfig
.
repeated .google.privacy.dlp.v2.InfoType info_types = 1;
Returns
Type | Description |
List<? extends com.google.privacy.dlp.v2.InfoTypeOrBuilder> | |
public Parser<InfoTypeTransformations.InfoTypeTransformation> getParserForType()
Returns
Overrides
public PrimitiveTransformation getPrimitiveTransformation()
Required. Primitive transformation to apply to the infoType.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder()
Required. Primitive transformation to apply to the infoType.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasPrimitiveTransformation()
Required. Primitive transformation to apply to the infoType.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the primitiveTransformation field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public InfoTypeTransformations.InfoTypeTransformation.Builder newBuilderForType()
Returns
protected InfoTypeTransformations.InfoTypeTransformation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public InfoTypeTransformations.InfoTypeTransformation.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions