public interface RecognitionAudioOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
RecognitionAudio.AudioSourceCase |
getAudioSourceCase() |
com.google.protobuf.ByteString |
getContent()
The audio data bytes encoded as specified in
`RecognitionConfig`.
|
String |
getUri()
URI that points to a file that contains audio data bytes as specified in
`RecognitionConfig`.
|
com.google.protobuf.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, hasOneofcom.google.protobuf.ByteString getContent()
The audio data bytes encoded as specified in `RecognitionConfig`. Note: as with all bytes fields, proto buffers use a pure binary representation, whereas JSON representations use base64.
bytes content = 1;String getUri()
URI that points to a file that contains audio data bytes as specified in `RecognitionConfig`. The file must not be compressed (for example, gzip). 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;com.google.protobuf.ByteString getUriBytes()
URI that points to a file that contains audio data bytes as specified in `RecognitionConfig`. The file must not be compressed (for example, gzip). 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()
Copyright © 2020 Google LLC. All rights reserved.