
com.google.api.services.transcoder.v1.model.PreprocessingConfig Maven / Gradle / Ivy
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.transcoder.v1.model;
/**
* Preprocessing configurations.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Transcoder API. For a detailed explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class PreprocessingConfig extends com.google.api.client.json.GenericJson {
/**
* Audio preprocessing configuration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Audio audio;
/**
* Color preprocessing configuration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Color color;
/**
* Specify the video cropping configuration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Crop crop;
/**
* Deblock preprocessing configuration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Deblock deblock;
/**
* Specify the video deinterlace configuration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Deinterlace deinterlace;
/**
* Denoise preprocessing configuration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Denoise denoise;
/**
* Specify the video pad filter configuration.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private Pad pad;
/**
* Audio preprocessing configuration.
* @return value or {@code null} for none
*/
public Audio getAudio() {
return audio;
}
/**
* Audio preprocessing configuration.
* @param audio audio or {@code null} for none
*/
public PreprocessingConfig setAudio(Audio audio) {
this.audio = audio;
return this;
}
/**
* Color preprocessing configuration.
* @return value or {@code null} for none
*/
public Color getColor() {
return color;
}
/**
* Color preprocessing configuration.
* @param color color or {@code null} for none
*/
public PreprocessingConfig setColor(Color color) {
this.color = color;
return this;
}
/**
* Specify the video cropping configuration.
* @return value or {@code null} for none
*/
public Crop getCrop() {
return crop;
}
/**
* Specify the video cropping configuration.
* @param crop crop or {@code null} for none
*/
public PreprocessingConfig setCrop(Crop crop) {
this.crop = crop;
return this;
}
/**
* Deblock preprocessing configuration.
* @return value or {@code null} for none
*/
public Deblock getDeblock() {
return deblock;
}
/**
* Deblock preprocessing configuration.
* @param deblock deblock or {@code null} for none
*/
public PreprocessingConfig setDeblock(Deblock deblock) {
this.deblock = deblock;
return this;
}
/**
* Specify the video deinterlace configuration.
* @return value or {@code null} for none
*/
public Deinterlace getDeinterlace() {
return deinterlace;
}
/**
* Specify the video deinterlace configuration.
* @param deinterlace deinterlace or {@code null} for none
*/
public PreprocessingConfig setDeinterlace(Deinterlace deinterlace) {
this.deinterlace = deinterlace;
return this;
}
/**
* Denoise preprocessing configuration.
* @return value or {@code null} for none
*/
public Denoise getDenoise() {
return denoise;
}
/**
* Denoise preprocessing configuration.
* @param denoise denoise or {@code null} for none
*/
public PreprocessingConfig setDenoise(Denoise denoise) {
this.denoise = denoise;
return this;
}
/**
* Specify the video pad filter configuration.
* @return value or {@code null} for none
*/
public Pad getPad() {
return pad;
}
/**
* Specify the video pad filter configuration.
* @param pad pad or {@code null} for none
*/
public PreprocessingConfig setPad(Pad pad) {
this.pad = pad;
return this;
}
@Override
public PreprocessingConfig set(String fieldName, Object value) {
return (PreprocessingConfig) super.set(fieldName, value);
}
@Override
public PreprocessingConfig clone() {
return (PreprocessingConfig) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy