public static final class PreprocessingConfig.Audio.Builder extends GeneratedMessageV3.Builder<PreprocessingConfig.Audio.Builder> implements PreprocessingConfig.AudioOrBuilder
Audio preprocessing configuration.
Protobuf type google.cloud.video.transcoder.v1.PreprocessingConfig.Audio
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PreprocessingConfig.Audio.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public PreprocessingConfig.Audio build()
Returns
buildPartial()
public PreprocessingConfig.Audio buildPartial()
Returns
clear()
public PreprocessingConfig.Audio.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public PreprocessingConfig.Audio.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearHighBoost()
public PreprocessingConfig.Audio.Builder clearHighBoost()
Enable boosting high frequency components. The default is false
.
bool high_boost = 2;
Returns
clearLowBoost()
public PreprocessingConfig.Audio.Builder clearLowBoost()
Enable boosting low frequency components. The default is false
.
bool low_boost = 3;
Returns
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 (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
clearOneof(Descriptors.OneofDescriptor oneof)
public PreprocessingConfig.Audio.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public PreprocessingConfig.Audio.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public PreprocessingConfig.Audio getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getHighBoost()
public boolean getHighBoost()
Enable boosting high frequency components. The default is false
.
bool high_boost = 2;
Returns
Type | Description |
boolean | The highBoost.
|
getLowBoost()
public boolean getLowBoost()
Enable boosting low frequency components. The default is false
.
bool low_boost = 3;
Returns
Type | Description |
boolean | The lowBoost.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(PreprocessingConfig.Audio other)
public PreprocessingConfig.Audio.Builder mergeFrom(PreprocessingConfig.Audio other)
Parameter
Returns
public PreprocessingConfig.Audio.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public PreprocessingConfig.Audio.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PreprocessingConfig.Audio.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public PreprocessingConfig.Audio.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setHighBoost(boolean value)
public PreprocessingConfig.Audio.Builder setHighBoost(boolean value)
Enable boosting high frequency components. The default is false
.
bool high_boost = 2;
Parameter
Name | Description |
value | boolean
The highBoost to set.
|
Returns
setLowBoost(boolean value)
public PreprocessingConfig.Audio.Builder setLowBoost(boolean value)
Enable boosting low frequency components. The default is false
.
bool low_boost = 3;
Parameter
Name | Description |
value | boolean
The lowBoost to set.
|
Returns
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 (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;
Parameter
Name | Description |
value | double
The lufs to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PreprocessingConfig.Audio.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final PreprocessingConfig.Audio.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides