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