public interface RecognitionAudioOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAudioSourceCase()
public abstract RecognitionAudio.AudioSourceCase getAudioSourceCase()
Returns | |
---|---|
Type | Description |
RecognitionAudio.AudioSourceCase |
getContent()
public abstract ByteString 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;
Returns | |
---|---|
Type | Description |
ByteString |
getUri()
public abstract 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). For more information, see
Request URIs.
string uri = 2;
Returns | |
---|---|
Type | Description |
String |
getUriBytes()
public abstract 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). For more information, see
Request URIs.
string uri = 2;
Returns | |
---|---|
Type | Description |
ByteString |