public interface StreamingRecognizeResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.rpc.Status |
getError()
*Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
specifies the error for the operation.
|
com.google.rpc.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.
|
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.
|
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, hasOneofboolean 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;com.google.rpc.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;com.google.rpc.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;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;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;Copyright © 2018 Google LLC. All rights reserved.