Class PreprocessingConfig.Deinterlace.BwdifConfig.Builder (1.41.0)

public static final class PreprocessingConfig.Deinterlace.BwdifConfig.Builder extends GeneratedMessageV3.Builder<PreprocessingConfig.Deinterlace.BwdifConfig.Builder> implements PreprocessingConfig.Deinterlace.BwdifConfigOrBuilder

Bob Weaver Deinterlacing Filter Configuration.

Protobuf type google.cloud.video.transcoder.v1.PreprocessingConfig.Deinterlace.BwdifConfig

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearDeinterlaceAllFrames()

public PreprocessingConfig.Deinterlace.BwdifConfig.Builder clearDeinterlaceAllFrames()

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

bool deinterlace_all_frames = 3;

Returns
Type Description
PreprocessingConfig.Deinterlace.BwdifConfig.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMode()

public PreprocessingConfig.Deinterlace.BwdifConfig.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.BwdifConfig.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParity()

public PreprocessingConfig.Deinterlace.BwdifConfig.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 = 2;

Returns
Type Description
PreprocessingConfig.Deinterlace.BwdifConfig.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDeinterlaceAllFrames()

public boolean getDeinterlaceAllFrames()

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

bool deinterlace_all_frames = 3;

Returns
Type Description
boolean

The deinterlaceAllFrames.

getDescriptorForType()

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

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 = 2;

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 = 2;

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.BwdifConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDeinterlaceAllFrames(boolean value)

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

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

bool deinterlace_all_frames = 3;

Parameter
Name Description
value boolean

The deinterlaceAllFrames to set.

Returns
Type Description
PreprocessingConfig.Deinterlace.BwdifConfig.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMode(String value)

public PreprocessingConfig.Deinterlace.BwdifConfig.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.BwdifConfig.Builder

This builder for chaining.

setModeBytes(ByteString value)

public PreprocessingConfig.Deinterlace.BwdifConfig.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.BwdifConfig.Builder

This builder for chaining.

setParity(String value)

public PreprocessingConfig.Deinterlace.BwdifConfig.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 = 2;

Parameter
Name Description
value String

The parity to set.

Returns
Type Description
PreprocessingConfig.Deinterlace.BwdifConfig.Builder

This builder for chaining.

setParityBytes(ByteString value)

public PreprocessingConfig.Deinterlace.BwdifConfig.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 = 2;

Parameter
Name Description
value ByteString

The bytes for parity to set.

Returns
Type Description
PreprocessingConfig.Deinterlace.BwdifConfig.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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