public interface StreamingRecognizeResponseOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Status |
getError()
Output only.
|
StatusOrBuilder |
getErrorOrBuilder()
Output only.
|
StreamingRecognitionResult |
getResults(int index)
Output only.
|
int |
getResultsCount()
Output only.
|
java.util.List<StreamingRecognitionResult> |
getResultsList()
Output only.
|
StreamingRecognitionResultOrBuilder |
getResultsOrBuilder(int index)
Output only.
|
java.util.List<? extends StreamingRecognitionResultOrBuilder> |
getResultsOrBuilderList()
Output only.
|
StreamingRecognizeResponse.SpeechEventType |
getSpeechEventType()
Output only.
|
int |
getSpeechEventTypeValue()
Output only.
|
boolean |
hasError()
Output only.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasError()
Output only. If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1;
Status getError()
Output only. If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1;
StatusOrBuilder getErrorOrBuilder()
Output only. If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
.google.rpc.Status error = 1;
java.util.List<StreamingRecognitionResult> getResultsList()
Output only. This repeated list contains zero or more results that correspond to consecutive portions of the audio currently being processed. It contains zero or one `is_final=true` result (the newly settled portion), followed by zero or more `is_final=false` results (the interim results).
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;
StreamingRecognitionResult getResults(int index)
Output only. This repeated list contains zero or more results that correspond to consecutive portions of the audio currently being processed. It contains zero or one `is_final=true` result (the newly settled portion), followed by zero or more `is_final=false` results (the interim results).
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;
int getResultsCount()
Output only. This repeated list contains zero or more results that correspond to consecutive portions of the audio currently being processed. It contains zero or one `is_final=true` result (the newly settled portion), followed by zero or more `is_final=false` results (the interim results).
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;
java.util.List<? extends StreamingRecognitionResultOrBuilder> getResultsOrBuilderList()
Output only. This repeated list contains zero or more results that correspond to consecutive portions of the audio currently being processed. It contains zero or one `is_final=true` result (the newly settled portion), followed by zero or more `is_final=false` results (the interim results).
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;
StreamingRecognitionResultOrBuilder getResultsOrBuilder(int index)
Output only. This repeated list contains zero or more results that correspond to consecutive portions of the audio currently being processed. It contains zero or one `is_final=true` result (the newly settled portion), followed by zero or more `is_final=false` results (the interim results).
repeated .google.cloud.speech.v1p1beta1.StreamingRecognitionResult results = 2;
int getSpeechEventTypeValue()
Output only. Indicates the type of speech event.
.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4;
StreamingRecognizeResponse.SpeechEventType getSpeechEventType()
Output only. Indicates the type of speech event.
.google.cloud.speech.v1p1beta1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4;