public interface RecognitionAudioOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description | 
|---|---|
| RecognitionAudio.AudioSourceCase | getAudioSourceCase() | 
| ByteString | getContent()
 The audio data bytes encoded as specified in
 `RecognitionConfig`. | 
| java.lang.String | getUri()
 URI that points to a file that contains audio data bytes as specified in
 `RecognitionConfig`. | 
| ByteString | getUriBytes()
 URI that points to a file that contains audio data bytes as specified in
 `RecognitionConfig`. | 
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedByteString getContent()
The audio data bytes encoded as specified in `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a pure binary representation, whereas JSON representations use base64.
bytes content = 1;java.lang.String getUri()
URI that points to a file that contains audio data bytes as specified in `RecognitionConfig`. Currently, only Google Cloud Storage URIs are supported, which must be specified in the following format: `gs://bucket_name/object_name` (other URI formats return [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
string uri = 2;ByteString getUriBytes()
URI that points to a file that contains audio data bytes as specified in `RecognitionConfig`. Currently, only Google Cloud Storage URIs are supported, which must be specified in the following format: `gs://bucket_name/object_name` (other URI formats return [google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see [Request URIs](https://cloud.google.com/storage/docs/reference-uris).
string uri = 2;RecognitionAudio.AudioSourceCase getAudioSourceCase()