Class ImageTransformations.ImageTransformation (3.58.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.58.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ImageTransformations . ImageTransformation   extends   GeneratedMessageV3   implements   ImageTransformations . ImageTransformationOrBuilder  
   Configuration for determining how redaction of images should occur.
 Protobuf type google.privacy.dlp.v2.ImageTransformations.ImageTransformation
    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   ALL_INFO_TYPES_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  ALL_TEXT_FIELD_NUMBER 
  
    
public   static   final   int   ALL_TEXT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   REDACTION_COLOR_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   SELECTED_INFO_TYPES_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   ImageTransformations . ImageTransformation   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   ImageTransformations . ImageTransformation . Builder   newBuilder ()  
  
  
    
public   static   ImageTransformations . ImageTransformation . Builder   newBuilder ( ImageTransformations . ImageTransformation   prototype )  
  
  
  
    
public   static   ImageTransformations . ImageTransformation   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   ImageTransformations . ImageTransformation   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ImageTransformations . ImageTransformation   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   ImageTransformations . ImageTransformation   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ImageTransformations . ImageTransformation   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   ImageTransformations . ImageTransformation   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ImageTransformations . ImageTransformation   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   ImageTransformations . ImageTransformation   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ImageTransformations . ImageTransformation   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   ImageTransformations . ImageTransformation   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ImageTransformations . ImageTransformation   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   ImageTransformations . ImageTransformation   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<ImageTransformations . ImageTransformation >  parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   ImageTransformations . ImageTransformation . AllInfoTypes   getAllInfoTypes ()  
   Apply transformation to all findings not specified in other
 ImageTransformation's selected_info_types. Only one instance is allowed
 within the ImageTransformations message.
 
 .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5;
 
    
public   ImageTransformations . ImageTransformation . AllInfoTypesOrBuilder   getAllInfoTypesOrBuilder ()  
   Apply transformation to all findings not specified in other
 ImageTransformation's selected_info_types. Only one instance is allowed
 within the ImageTransformations message.
 
 .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5;
 
getAllText() 
  
    
public   ImageTransformations . ImageTransformation . AllText   getAllText ()  
   Apply transformation to all text that doesn't match an infoType. Only
 one instance is allowed within the ImageTransformations message.
 .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6;
 
getAllTextOrBuilder() 
  
    
public   ImageTransformations . ImageTransformation . AllTextOrBuilder   getAllTextOrBuilder ()  
   Apply transformation to all text that doesn't match an infoType. Only
 one instance is allowed within the ImageTransformations message.
 .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6;
 
    
public   ImageTransformations . ImageTransformation   getDefaultInstanceForType ()  
  
  
    
public   Parser<ImageTransformations . ImageTransformation >  getParserForType ()  
  
  Overrides 
  
  
    
public   Color   getRedactionColor ()  
   The color to use when redacting content from an image. If not
 specified, the default is black.
 .google.privacy.dlp.v2.Color redaction_color = 3;
    
      
        Returns  
      
        Type Description  
      
        Color The redactionColor.
 
     
  
  
    
public   ColorOrBuilder   getRedactionColorOrBuilder ()  
   The color to use when redacting content from an image. If not
 specified, the default is black.
 .google.privacy.dlp.v2.Color redaction_color = 3;
    
public   ImageTransformations . ImageTransformation . SelectedInfoTypes   getSelectedInfoTypes ()  
   Apply transformation to the selected info_types.
 
 .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4;
 
    
public   ImageTransformations . ImageTransformation . SelectedInfoTypesOrBuilder   getSelectedInfoTypesOrBuilder ()  
   Apply transformation to the selected info_types.
 
 .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4;
 
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
public   ImageTransformations . ImageTransformation . TargetCase   getTargetCase ()  
  
  
    
public   boolean   hasAllInfoTypes ()  
   Apply transformation to all findings not specified in other
 ImageTransformation's selected_info_types. Only one instance is allowed
 within the ImageTransformations message.
 
 .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllInfoTypes all_info_types = 5;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the allInfoTypes field is set.
 
     
  
  hasAllText() 
  
    
public   boolean   hasAllText ()  
   Apply transformation to all text that doesn't match an infoType. Only
 one instance is allowed within the ImageTransformations message.
 .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.AllText all_text = 6;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the allText field is set.
 
     
  
  
    
public   boolean   hasRedactionColor ()  
   The color to use when redacting content from an image. If not
 specified, the default is black.
 .google.privacy.dlp.v2.Color redaction_color = 3;
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the redactionColor field is set.
 
     
  
  
    
public   boolean   hasSelectedInfoTypes ()  
   Apply transformation to the selected info_types.
 
 .google.privacy.dlp.v2.ImageTransformations.ImageTransformation.SelectedInfoTypes selected_info_types = 4;
 
    
      
        Returns  
      
        Type Description  
      
        boolean Whether the selectedInfoTypes field is set.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   ImageTransformations . ImageTransformation . Builder   newBuilderForType ()  
  
  
    
protected   ImageTransformations . ImageTransformation . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   ImageTransformations . ImageTransformation . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  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-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]