Send feedback
  
   
 
  
    
      Class PreprocessingConfig (1.12.0)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version 1.12.0keyboard_arrow_down  
  
 
    
    
     
    
    
    
    
    
      
  
  
  
    
public   final   class  PreprocessingConfig   extends   GeneratedMessageV3   implements   PreprocessingConfigOrBuilder  
   
   Preprocessing configurations.
 Protobuf type google.cloud.video.transcoder.v1.PreprocessingConfig
 
  
  
  
  Static Fields
   
  AUDIO_FIELD_NUMBER 
  
    
public   static   final   int   AUDIO_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  COLOR_FIELD_NUMBER 
  
    
public   static   final   int   COLOR_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  CROP_FIELD_NUMBER 
  
    
public   static   final   int   CROP_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  DEBLOCK_FIELD_NUMBER 
  
    
public   static   final   int   DEBLOCK_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  DEINTERLACE_FIELD_NUMBER 
  
    
public   static   final   int   DEINTERLACE_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  DENOISE_FIELD_NUMBER 
  
    
public   static   final   int   DENOISE_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  PAD_FIELD_NUMBER 
  
    
public   static   final   int   PAD_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  getDefaultInstance() 
  
    
public   static   PreprocessingConfig   getDefaultInstance ()  
   
  
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  newBuilder() 
  
    
public   static   PreprocessingConfig . Builder   newBuilder ()  
   
  
   
  newBuilder(PreprocessingConfig prototype) 
  
    
public   static   PreprocessingConfig . Builder   newBuilder ( PreprocessingConfig   prototype )  
   
  
  
   
  
  
    
public   static   PreprocessingConfig   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   PreprocessingConfig   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(byte[] data) 
  
    
public   static   PreprocessingConfig   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PreprocessingConfig   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteString data) 
  
    
public   static   PreprocessingConfig   parseFrom ( ByteString   data )  
   
  
  
  
   
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PreprocessingConfig   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   PreprocessingConfig   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   PreprocessingConfig   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   PreprocessingConfig   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   PreprocessingConfig   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parseFrom(ByteBuffer data) 
  
    
public   static   PreprocessingConfig   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) 
  
    
public   static   PreprocessingConfig   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  parser() 
  
    
public   static   Parser<PreprocessingConfig>   parser ()  
   
  
  Methods
   
   
  equals(Object obj) 
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  Overrides 
  
   
  getAudio() 
  
    
public   PreprocessingConfig . Audio   getAudio ()  
   
   Audio preprocessing configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Audio audio = 4;
 
  
   
  getAudioOrBuilder() 
  
    
public   PreprocessingConfig . AudioOrBuilder   getAudioOrBuilder ()  
   
   Audio preprocessing configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Audio audio = 4;
 
  
   
  getColor() 
  
    
public   PreprocessingConfig . Color   getColor ()  
   
   Color preprocessing configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Color color = 1;
 
  
   
  getColorOrBuilder() 
  
    
public   PreprocessingConfig . ColorOrBuilder   getColorOrBuilder ()  
   
   Color preprocessing configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Color color = 1;
 
  
   
  getCrop() 
  
    
public   PreprocessingConfig . Crop   getCrop ()  
   
   Specify the video cropping configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Crop crop = 5;
 
  
   
  getCropOrBuilder() 
  
    
public   PreprocessingConfig . CropOrBuilder   getCropOrBuilder ()  
   
   Specify the video cropping configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Crop crop = 5;
 
  
   
  getDeblock() 
  
    
public   PreprocessingConfig . Deblock   getDeblock ()  
   
   Deblock preprocessing configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock deblock = 3;
 
  
   
  getDeblockOrBuilder() 
  
    
public   PreprocessingConfig . DeblockOrBuilder   getDeblockOrBuilder ()  
   
   Deblock preprocessing configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock deblock = 3;
 
  
   
  getDefaultInstanceForType() 
  
    
public   PreprocessingConfig   getDefaultInstanceForType ()  
   
  
   
  getDeinterlace() 
  
    
public   PreprocessingConfig . Deinterlace   getDeinterlace ()  
   
   Specify the video deinterlace configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace deinterlace = 7;
 
  
   
  getDeinterlaceOrBuilder() 
  
    
public   PreprocessingConfig . DeinterlaceOrBuilder   getDeinterlaceOrBuilder ()  
   
   Specify the video deinterlace configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace deinterlace = 7;
 
  
   
  getDenoise() 
  
    
public   PreprocessingConfig . Denoise   getDenoise ()  
   
   Denoise preprocessing configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise denoise = 2;
 
  
   
  getDenoiseOrBuilder() 
  
    
public   PreprocessingConfig . DenoiseOrBuilder   getDenoiseOrBuilder ()  
   
   Denoise preprocessing configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise denoise = 2;
 
  
   
  getPad() 
  
    
public   PreprocessingConfig . Pad   getPad ()  
   
   Specify the video pad filter configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Pad pad = 6;
 
  
   
  getPadOrBuilder() 
  
    
public   PreprocessingConfig . PadOrBuilder   getPadOrBuilder ()  
   
   Specify the video pad filter configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Pad pad = 6;
 
  
   
  getParserForType() 
  
    
public   Parser<PreprocessingConfig>   getParserForType ()  
   
  
  Overrides 
  
   
  getSerializedSize() 
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  getUnknownFields() 
  
    
public   final   UnknownFieldSet   getUnknownFields ()  
   
  
  Overrides 
  
   
  hasAudio() 
  
    
public   boolean   hasAudio ()  
   
   Audio preprocessing configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Audio audio = 4;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the audio field is set.
 
       
     
  
   
  hasColor() 
  
    
public   boolean   hasColor ()  
   
   Color preprocessing configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Color color = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the color field is set.
 
       
     
  
   
  hasCrop() 
  
   Specify the video cropping configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Crop crop = 5;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the crop field is set.
 
       
     
  
   
  hasDeblock() 
  
    
public   boolean   hasDeblock ()  
   
   Deblock preprocessing configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock deblock = 3;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the deblock field is set.
 
       
     
  
   
  hasDeinterlace() 
  
    
public   boolean   hasDeinterlace ()  
   
   Specify the video deinterlace configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace deinterlace = 7;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the deinterlace field is set.
 
       
     
  
   
  hasDenoise() 
  
    
public   boolean   hasDenoise ()  
   
   Denoise preprocessing configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise denoise = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the denoise field is set.
 
       
     
  
   
  hasPad() 
  
   Specify the video pad filter configuration.
 .google.cloud.video.transcoder.v1.PreprocessingConfig.Pad pad = 6;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the pad field is set.
 
       
     
  
   
  hashCode() 
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  newBuilderForType() 
  
    
public   PreprocessingConfig . Builder   newBuilderForType ()  
   
  
   
  newBuilderForType(GeneratedMessageV3.BuilderParent parent) 
  
    
protected   PreprocessingConfig . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) 
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  toBuilder() 
  
    
public   PreprocessingConfig . Builder   toBuilder ()  
   
  
   
  writeTo(CodedOutputStream output) 
  
    
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-10-30 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-10-30 UTC."],[],[]]