Class PreprocessingConfig.Audio (0.35.0)

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

Audio preprocessing configuration.

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

Static Fields

LUFS_FIELD_NUMBER

public static final int LUFS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static PreprocessingConfig.Audio getDefaultInstance()
Returns
TypeDescription
PreprocessingConfig.Audio

getDescriptor()

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

newBuilder()

public static PreprocessingConfig.Audio.Builder newBuilder()
Returns
TypeDescription
PreprocessingConfig.Audio.Builder

newBuilder(PreprocessingConfig.Audio prototype)

public static PreprocessingConfig.Audio.Builder newBuilder(PreprocessingConfig.Audio prototype)
Parameter
NameDescription
prototypePreprocessingConfig.Audio
Returns
TypeDescription
PreprocessingConfig.Audio.Builder

parseDelimitedFrom(InputStream input)

public static PreprocessingConfig.Audio parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PreprocessingConfig.Audio
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Audio parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Audio
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PreprocessingConfig.Audio parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PreprocessingConfig.Audio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Audio parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Audio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PreprocessingConfig.Audio parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PreprocessingConfig.Audio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Audio parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Audio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PreprocessingConfig.Audio parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PreprocessingConfig.Audio
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Audio parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Audio
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PreprocessingConfig.Audio parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PreprocessingConfig.Audio
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Audio parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Audio
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PreprocessingConfig.Audio parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PreprocessingConfig.Audio
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Audio parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Audio
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PreprocessingConfig.Audio getDefaultInstanceForType()
Returns
TypeDescription
PreprocessingConfig.Audio

getLufs()

public double getLufs()

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

  • -24 is the Advanced Television Systems Committee (ATSC A/85)
  • -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. The default is 0.

double lufs = 1;

Returns
TypeDescription
double

The lufs.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PreprocessingConfig.Audio.Builder newBuilderForType()
Returns
TypeDescription
PreprocessingConfig.Audio.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PreprocessingConfig.Audio.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PreprocessingConfig.Audio.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PreprocessingConfig.Audio.Builder toBuilder()
Returns
TypeDescription
PreprocessingConfig.Audio.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException