Class PreprocessingConfig.Deinterlace.YadifConfig.Builder (0.16.0)

public static final class PreprocessingConfig.Deinterlace.YadifConfig.Builder extends GeneratedMessageV3.Builder<PreprocessingConfig.Deinterlace.YadifConfig.Builder> implements PreprocessingConfig.Deinterlace.YadifConfigOrBuilder

Yet Another Deinterlacing Filter Configuration.

Protobuf type google.events.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.YadifConfig

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides

build()

public PreprocessingConfig.Deinterlace.YadifConfig build()
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig

buildPartial()

public PreprocessingConfig.Deinterlace.YadifConfig buildPartial()
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig

clear()

public PreprocessingConfig.Deinterlace.YadifConfig.Builder clear()
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides

clearDeinterlaceAllFrames()

public PreprocessingConfig.Deinterlace.YadifConfig.Builder clearDeinterlaceAllFrames()

Deinterlace all frames rather than just the frames identified as interlaced. The default is false.

bool deinterlace_all_frames = 4;

Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder

This builder for chaining.

clearDisableSpatialInterlacing()

public PreprocessingConfig.Deinterlace.YadifConfig.Builder clearDisableSpatialInterlacing()

Disable spacial interlacing. The default is false.

bool disable_spatial_interlacing = 2;

Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides

clearMode()

public PreprocessingConfig.Deinterlace.YadifConfig.Builder clearMode()

Specifies the deinterlacing mode to adopt. The default is send_frame. Supported values:

  • send_frame: Output one frame for each frame
  • send_field: Output one frame for each field

string mode = 1;

Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides

clearParity()

public PreprocessingConfig.Deinterlace.YadifConfig.Builder clearParity()

The picture field parity assumed for the input interlaced video. The default is auto. Supported values:

  • tff: Assume the top field is first
  • bff: Assume the bottom field is first
  • auto: Enable automatic detection of field parity

string parity = 3;

Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder

This builder for chaining.

clone()

public PreprocessingConfig.Deinterlace.YadifConfig.Builder clone()
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides

getDefaultInstanceForType()

public PreprocessingConfig.Deinterlace.YadifConfig getDefaultInstanceForType()
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig

getDeinterlaceAllFrames()

public boolean getDeinterlaceAllFrames()

Deinterlace all frames rather than just the frames identified as interlaced. The default is false.

bool deinterlace_all_frames = 4;

Returns
Type Description
boolean

The deinterlaceAllFrames.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDisableSpatialInterlacing()

public boolean getDisableSpatialInterlacing()

Disable spacial interlacing. The default is false.

bool disable_spatial_interlacing = 2;

Returns
Type Description
boolean

The disableSpatialInterlacing.

getMode()

public String getMode()

Specifies the deinterlacing mode to adopt. The default is send_frame. Supported values:

  • send_frame: Output one frame for each frame
  • send_field: Output one frame for each field

string mode = 1;

Returns
Type Description
String

The mode.

getModeBytes()

public ByteString getModeBytes()

Specifies the deinterlacing mode to adopt. The default is send_frame. Supported values:

  • send_frame: Output one frame for each frame
  • send_field: Output one frame for each field

string mode = 1;

Returns
Type Description
ByteString

The bytes for mode.

getParity()

public String getParity()

The picture field parity assumed for the input interlaced video. The default is auto. Supported values:

  • tff: Assume the top field is first
  • bff: Assume the bottom field is first
  • auto: Enable automatic detection of field parity

string parity = 3;

Returns
Type Description
String

The parity.

getParityBytes()

public ByteString getParityBytes()

The picture field parity assumed for the input interlaced video. The default is auto. Supported values:

  • tff: Assume the top field is first
  • bff: Assume the bottom field is first
  • auto: Enable automatic detection of field parity

string parity = 3;

Returns
Type Description
ByteString

The bytes for parity.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PreprocessingConfig.Deinterlace.YadifConfig other)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder mergeFrom(PreprocessingConfig.Deinterlace.YadifConfig other)
Parameter
Name Description
other PreprocessingConfig.Deinterlace.YadifConfig
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PreprocessingConfig.Deinterlace.YadifConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides

setDeinterlaceAllFrames(boolean value)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder setDeinterlaceAllFrames(boolean value)

Deinterlace all frames rather than just the frames identified as interlaced. The default is false.

bool deinterlace_all_frames = 4;

Parameter
Name Description
value boolean

The deinterlaceAllFrames to set.

Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder

This builder for chaining.

setDisableSpatialInterlacing(boolean value)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder setDisableSpatialInterlacing(boolean value)

Disable spacial interlacing. The default is false.

bool disable_spatial_interlacing = 2;

Parameter
Name Description
value boolean

The disableSpatialInterlacing to set.

Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides

setMode(String value)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder setMode(String value)

Specifies the deinterlacing mode to adopt. The default is send_frame. Supported values:

  • send_frame: Output one frame for each frame
  • send_field: Output one frame for each field

string mode = 1;

Parameter
Name Description
value String

The mode to set.

Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder

This builder for chaining.

setModeBytes(ByteString value)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder setModeBytes(ByteString value)

Specifies the deinterlacing mode to adopt. The default is send_frame. Supported values:

  • send_frame: Output one frame for each frame
  • send_field: Output one frame for each field

string mode = 1;

Parameter
Name Description
value ByteString

The bytes for mode to set.

Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder

This builder for chaining.

setParity(String value)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder setParity(String value)

The picture field parity assumed for the input interlaced video. The default is auto. Supported values:

  • tff: Assume the top field is first
  • bff: Assume the bottom field is first
  • auto: Enable automatic detection of field parity

string parity = 3;

Parameter
Name Description
value String

The parity to set.

Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder

This builder for chaining.

setParityBytes(ByteString value)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder setParityBytes(ByteString value)

The picture field parity assumed for the input interlaced video. The default is auto. Supported values:

  • tff: Assume the top field is first
  • bff: Assume the bottom field is first
  • auto: Enable automatic detection of field parity

string parity = 3;

Parameter
Name Description
value ByteString

The bytes for parity to set.

Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PreprocessingConfig.Deinterlace.YadifConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides