Class PreprocessingConfig (1.0.4)

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
TypeDescription
int

COLOR_FIELD_NUMBER

public static final int COLOR_FIELD_NUMBER
Field Value
TypeDescription
int

CROP_FIELD_NUMBER

public static final int CROP_FIELD_NUMBER
Field Value
TypeDescription
int

DEBLOCK_FIELD_NUMBER

public static final int DEBLOCK_FIELD_NUMBER
Field Value
TypeDescription
int

DENOISE_FIELD_NUMBER

public static final int DENOISE_FIELD_NUMBER
Field Value
TypeDescription
int

PAD_FIELD_NUMBER

public static final int PAD_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PreprocessingConfig getDefaultInstance()
Returns
TypeDescription
PreprocessingConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PreprocessingConfig.Builder newBuilder()
Returns
TypeDescription
PreprocessingConfig.Builder

newBuilder(PreprocessingConfig prototype)

public static PreprocessingConfig.Builder newBuilder(PreprocessingConfig prototype)
Parameter
NameDescription
prototypePreprocessingConfig
Returns
TypeDescription
PreprocessingConfig.Builder

parseDelimitedFrom(InputStream input)

public static PreprocessingConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PreprocessingConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PreprocessingConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PreprocessingConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PreprocessingConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PreprocessingConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PreprocessingConfig> parser()
Returns
TypeDescription
Parser<PreprocessingConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getAudio()

public PreprocessingConfig.Audio getAudio()

Audio preprocessing configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio audio = 4;

Returns
TypeDescription
PreprocessingConfig.Audio

The audio.

getAudioOrBuilder()

public PreprocessingConfig.AudioOrBuilder getAudioOrBuilder()

Audio preprocessing configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio audio = 4;

Returns
TypeDescription
PreprocessingConfig.AudioOrBuilder

getColor()

public PreprocessingConfig.Color getColor()

Color preprocessing configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Color color = 1;

Returns
TypeDescription
PreprocessingConfig.Color

The color.

getColorOrBuilder()

public PreprocessingConfig.ColorOrBuilder getColorOrBuilder()

Color preprocessing configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Color color = 1;

Returns
TypeDescription
PreprocessingConfig.ColorOrBuilder

getCrop()

public PreprocessingConfig.Crop getCrop()

Specify the video cropping configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Crop crop = 5;

Returns
TypeDescription
PreprocessingConfig.Crop

The crop.

getCropOrBuilder()

public PreprocessingConfig.CropOrBuilder getCropOrBuilder()

Specify the video cropping configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Crop crop = 5;

Returns
TypeDescription
PreprocessingConfig.CropOrBuilder

getDeblock()

public PreprocessingConfig.Deblock getDeblock()

Deblock preprocessing configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock deblock = 3;

Returns
TypeDescription
PreprocessingConfig.Deblock

The deblock.

getDeblockOrBuilder()

public PreprocessingConfig.DeblockOrBuilder getDeblockOrBuilder()

Deblock preprocessing configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock deblock = 3;

Returns
TypeDescription
PreprocessingConfig.DeblockOrBuilder

getDefaultInstanceForType()

public PreprocessingConfig getDefaultInstanceForType()
Returns
TypeDescription
PreprocessingConfig

getDenoise()

public PreprocessingConfig.Denoise getDenoise()

Denoise preprocessing configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise denoise = 2;

Returns
TypeDescription
PreprocessingConfig.Denoise

The denoise.

getDenoiseOrBuilder()

public PreprocessingConfig.DenoiseOrBuilder getDenoiseOrBuilder()

Denoise preprocessing configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise denoise = 2;

Returns
TypeDescription
PreprocessingConfig.DenoiseOrBuilder

getPad()

public PreprocessingConfig.Pad getPad()

Specify the video pad filter configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Pad pad = 6;

Returns
TypeDescription
PreprocessingConfig.Pad

The pad.

getPadOrBuilder()

public PreprocessingConfig.PadOrBuilder getPadOrBuilder()

Specify the video pad filter configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Pad pad = 6;

Returns
TypeDescription
PreprocessingConfig.PadOrBuilder

getParserForType()

public Parser<PreprocessingConfig> getParserForType()
Returns
TypeDescription
Parser<PreprocessingConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasAudio()

public boolean hasAudio()

Audio preprocessing configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Audio audio = 4;

Returns
TypeDescription
boolean

Whether the audio field is set.

hasColor()

public boolean hasColor()

Color preprocessing configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Color color = 1;

Returns
TypeDescription
boolean

Whether the color field is set.

hasCrop()

public boolean hasCrop()

Specify the video cropping configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Crop crop = 5;

Returns
TypeDescription
boolean

Whether the crop field is set.

hasDeblock()

public boolean hasDeblock()

Deblock preprocessing configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Deblock deblock = 3;

Returns
TypeDescription
boolean

Whether the deblock field is set.

hasDenoise()

public boolean hasDenoise()

Denoise preprocessing configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Denoise denoise = 2;

Returns
TypeDescription
boolean

Whether the denoise field is set.

hasPad()

public boolean hasPad()

Specify the video pad filter configuration.

.google.cloud.video.transcoder.v1.PreprocessingConfig.Pad pad = 6;

Returns
TypeDescription
boolean

Whether the pad field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PreprocessingConfig.Builder newBuilderForType()
Returns
TypeDescription
PreprocessingConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PreprocessingConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PreprocessingConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PreprocessingConfig.Builder toBuilder()
Returns
TypeDescription
PreprocessingConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException