public enum RecognitionMetadata.MicrophoneDistance extends Enum<RecognitionMetadata.MicrophoneDistance> implements ProtocolMessageEnum
Enumerates the types of capture settings describing an audio file.
Protobuf enum google.cloud.speech.v1.RecognitionMetadata.MicrophoneDistance
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
FARFIELD | The speaker is more than 3 meters away from the microphone. |
FARFIELD_VALUE | The speaker is more than 3 meters away from the microphone. |
MICROPHONE_DISTANCE_UNSPECIFIED | Audio type is not known. |
MICROPHONE_DISTANCE_UNSPECIFIED_VALUE | Audio type is not known. |
MIDFIELD | The speaker if within 3 meters of the microphone. |
MIDFIELD_VALUE | The speaker if within 3 meters of the microphone. |
NEARFIELD | The audio was captured from a closely placed microphone. Eg. phone, dictaphone, or handheld microphone. Generally if there speaker is within 1 meter of the microphone. |
NEARFIELD_VALUE | The audio was captured from a closely placed microphone. Eg. phone, dictaphone, or handheld microphone. Generally if there speaker is within 1 meter of the microphone. |
UNRECOGNIZED |
Static Methods | |
---|---|
Name | Description |
forNumber(int value) | |
getDescriptor() | |
internalGetValueMap() | |
valueOf(Descriptors.EnumValueDescriptor desc) | |
valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
valueOf(String name) | |
values() |
Methods | |
---|---|
Name | Description |
getDescriptorForType() | |
getNumber() | |
getValueDescriptor() |