Send feedback
Class InfoTypeTransformations.InfoTypeTransformation (3.13.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.13.0 keyboard_arrow_down
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
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-27 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-27 UTC."],[],[]]