Class PreprocessingConfig.Deinterlace.BwdifConfig.Builder (1.29.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

The deinterlaceAllFrames.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
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 = 2;

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

The deinterlaceAllFrames to set.

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

The mode to set.

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

The bytes for mode to set.

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

The parity to set.

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

The bytes for parity to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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