Send feedback
Class InfoTypeTransformations.InfoTypeTransformation (3.40.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.40.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
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>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int INFO_TYPES_FIELD_NUMBER
Field Value Type Description int
public static final int PRIMITIVE_TRANSFORMATION_FIELD_NUMBER
Field Value Type Description int
Static Methods
public static InfoTypeTransformations . InfoTypeTransformation getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static InfoTypeTransformations . InfoTypeTransformation . Builder newBuilder ()
public static InfoTypeTransformations . InfoTypeTransformation . Builder newBuilder ( InfoTypeTransformations . InfoTypeTransformation prototype )
public static InfoTypeTransformations . InfoTypeTransformation parseDelimitedFrom ( InputStream input )
public static InfoTypeTransformations . InfoTypeTransformation parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static InfoTypeTransformations . InfoTypeTransformation parseFrom ( byte [] data )
Parameter Name Description data
byte []
public static InfoTypeTransformations . InfoTypeTransformation parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static InfoTypeTransformations . InfoTypeTransformation parseFrom ( ByteString data )
public static InfoTypeTransformations . InfoTypeTransformation parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static InfoTypeTransformations . InfoTypeTransformation parseFrom ( CodedInputStream input )
public static InfoTypeTransformations . InfoTypeTransformation parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static InfoTypeTransformations . InfoTypeTransformation parseFrom ( InputStream input )
public static InfoTypeTransformations . InfoTypeTransformation parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static InfoTypeTransformations . InfoTypeTransformation parseFrom ( ByteBuffer data )
public static InfoTypeTransformations . InfoTypeTransformation parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<InfoTypeTransformations . InfoTypeTransformation > parser ()
Methods
public boolean equals ( Object obj )
Parameter Name Description obj
Object
Overrides
public InfoTypeTransformations . InfoTypeTransformation getDefaultInstanceForType ()
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 Name Description index
int
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 Type Description int
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;
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 Name Description index
int
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 ()
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];
public PrimitiveTransformationOrBuilder getPrimitiveTransformationOrBuilder ()
Required. Primitive transformation to apply to the infoType.
.google.privacy.dlp.v2.PrimitiveTransformation primitive_transformation = 2 [(.google.api.field_behavior) = REQUIRED];
public int getSerializedSize ()
Returns Type Description int
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 Type Description int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public InfoTypeTransformations . InfoTypeTransformation . Builder newBuilderForType ()
protected InfoTypeTransformations . InfoTypeTransformation . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Overrides
public InfoTypeTransformations . InfoTypeTransformation . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
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-28 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-28 UTC."],[],[]]