Class PreprocessingConfig.Audio (1.43.0)

public static final class PreprocessingConfig.Audio extends GeneratedMessageV3 implements PreprocessingConfig.AudioOrBuilder

Audio preprocessing configuration.

Protobuf type google.cloud.video.transcoder.v1.PreprocessingConfig.Audio

Static Fields

HIGH_BOOST_FIELD_NUMBER

public static final int HIGH_BOOST_FIELD_NUMBER
Field Value
Type Description
int

LOW_BOOST_FIELD_NUMBER

public static final int LOW_BOOST_FIELD_NUMBER
Field Value
Type Description
int

LUFS_FIELD_NUMBER

public static final int LUFS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static PreprocessingConfig.Audio getDefaultInstance()
Returns
Type Description
PreprocessingConfig.Audio

getDescriptor()

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

newBuilder()

public static PreprocessingConfig.Audio.Builder newBuilder()
Returns
Type Description
PreprocessingConfig.Audio.Builder

newBuilder(PreprocessingConfig.Audio prototype)

public static PreprocessingConfig.Audio.Builder newBuilder(PreprocessingConfig.Audio prototype)
Parameter
Name Description
prototype PreprocessingConfig.Audio
Returns
Type Description
PreprocessingConfig.Audio.Builder

parseDelimitedFrom(InputStream input)

public static PreprocessingConfig.Audio parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PreprocessingConfig.Audio
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Audio parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Audio
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PreprocessingConfig.Audio parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PreprocessingConfig.Audio
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Audio parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Audio
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PreprocessingConfig.Audio parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PreprocessingConfig.Audio
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Audio parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Audio
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PreprocessingConfig.Audio parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PreprocessingConfig.Audio
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Audio parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Audio
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PreprocessingConfig.Audio parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PreprocessingConfig.Audio
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Audio parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Audio
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PreprocessingConfig.Audio parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PreprocessingConfig.Audio
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Audio parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Audio
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PreprocessingConfig.Audio> parser()
Returns
Type Description
Parser<Audio>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PreprocessingConfig.Audio getDefaultInstanceForType()
Returns
Type Description
PreprocessingConfig.Audio

getHighBoost()

public boolean getHighBoost()

Enable boosting high frequency components. The default is false.

Note: This field is not supported.

bool high_boost = 2;

Returns
Type Description
boolean

The highBoost.

getLowBoost()

public boolean getLowBoost()

Enable boosting low frequency components. The default is false.

Note: This field is not supported.

bool low_boost = 3;

Returns
Type Description
boolean

The lowBoost.

getLufs()

public double getLufs()

Specify audio loudness normalization in loudness units relative to full scale (LUFS). Enter a value between -24 and 0 (the default), where:

  • -24 is the Advanced Television Systems Committee (ATSC A/85) standard
  • -23 is the EU R128 broadcast standard
  • -19 is the prior standard for online mono audio
  • -18 is the ReplayGain standard
  • -16 is the prior standard for stereo audio
  • -14 is the new online audio standard recommended by Spotify, as well as Amazon Echo
  • 0 disables normalization

double lufs = 1;

Returns
Type Description
double

The lufs.

getParserForType()

public Parser<PreprocessingConfig.Audio> getParserForType()
Returns
Type Description
Parser<Audio>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PreprocessingConfig.Audio.Builder newBuilderForType()
Returns
Type Description
PreprocessingConfig.Audio.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PreprocessingConfig.Audio.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PreprocessingConfig.Audio.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PreprocessingConfig.Audio.Builder toBuilder()
Returns
Type Description
PreprocessingConfig.Audio.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException