public interface AudioSettingsOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getBitrate()
public abstract long getBitrate()Required. The bitrate of the audio, in bits per second. This value must be between 8kbps and 250 Mbps.
optional int64 bitrate = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The bitrate. |
getChannels()
public abstract long getChannels()Required. The number of audio channels, including low frequency channels. This value has a maximum of 8.
optional int64 channels = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The channels. |
getCodec()
public abstract String getCodec()Required. The RFC6381 codec string of the audio.
optional string codec = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The codec. |
getCodecBytes()
public abstract ByteString getCodecBytes()Required. The RFC6381 codec string of the audio.
optional string codec = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for codec. |
getSampleRateHertz()
public abstract long getSampleRateHertz()Required. The audio sample rate in hertz. Must be between 44kHz and 100kHz.
optional int64 sample_rate_hertz = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
long |
The sampleRateHertz. |
hasBitrate()
public abstract boolean hasBitrate()Required. The bitrate of the audio, in bits per second. This value must be between 8kbps and 250 Mbps.
optional int64 bitrate = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the bitrate field is set. |
hasChannels()
public abstract boolean hasChannels()Required. The number of audio channels, including low frequency channels. This value has a maximum of 8.
optional int64 channels = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the channels field is set. |
hasCodec()
public abstract boolean hasCodec()Required. The RFC6381 codec string of the audio.
optional string codec = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the codec field is set. |
hasSampleRateHertz()
public abstract boolean hasSampleRateHertz()Required. The audio sample rate in hertz. Must be between 44kHz and 100kHz.
optional int64 sample_rate_hertz = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sampleRateHertz field is set. |