Class PreprocessingConfig.Deinterlace.YadifConfig.Builder (1.29.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.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.YadifConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides

build()

public PreprocessingConfig.Deinterlace.YadifConfig build()
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig

buildPartial()

public PreprocessingConfig.Deinterlace.YadifConfig buildPartial()
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig

clear()

public PreprocessingConfig.Deinterlace.YadifConfig.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig.Builder

This builder for chaining.

clone()

public PreprocessingConfig.Deinterlace.YadifConfig.Builder clone()
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides

getDefaultInstanceForType()

public PreprocessingConfig.Deinterlace.YadifConfig getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
boolean

The deinterlaceAllFrames.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDisableSpatialInterlacing()

public boolean getDisableSpatialInterlacing()

Disable spacial interlacing. The default is false.

bool disable_spatial_interlacing = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parity.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PreprocessingConfig.Deinterlace.YadifConfig other)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder mergeFrom(PreprocessingConfig.Deinterlace.YadifConfig other)
Parameter
NameDescription
otherPreprocessingConfig.Deinterlace.YadifConfig
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public PreprocessingConfig.Deinterlace.YadifConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PreprocessingConfig.Deinterlace.YadifConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The deinterlaceAllFrames to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The disableSpatialInterlacing to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The mode to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for mode to set.

Returns
TypeDescription
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
NameDescription
valueString

The parity to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parity to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PreprocessingConfig.Deinterlace.YadifConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PreprocessingConfig.Deinterlace.YadifConfig.Builder
Overrides