Class PreprocessingConfig.Audio.Builder (0.34.0)

public static final class PreprocessingConfig.Audio.Builder extends GeneratedMessageV3.Builder<PreprocessingConfig.Audio.Builder> implements PreprocessingConfig.AudioOrBuilder

Audio preprocessing configuration.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public PreprocessingConfig.Audio.Builder clear()
Returns
TypeDescription
PreprocessingConfig.Audio.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PreprocessingConfig.Audio.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PreprocessingConfig.Audio.Builder
Overrides

clearLufs()

public PreprocessingConfig.Audio.Builder clearLufs()

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
PreprocessingConfig.Audio.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PreprocessingConfig.Audio.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PreprocessingConfig.Audio.Builder
Overrides

clone()

public PreprocessingConfig.Audio.Builder clone()
Returns
TypeDescription
PreprocessingConfig.Audio.Builder
Overrides

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PreprocessingConfig.Audio other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PreprocessingConfig.Audio.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PreprocessingConfig.Audio.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PreprocessingConfig.Audio.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PreprocessingConfig.Audio.Builder
Overrides

setLufs(double value)

public PreprocessingConfig.Audio.Builder setLufs(double value)

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;

Parameter
NameDescription
valuedouble

The lufs to set.

Returns
TypeDescription
PreprocessingConfig.Audio.Builder

This builder for chaining.

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

public PreprocessingConfig.Audio.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PreprocessingConfig.Audio.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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