public interface StreamingRecognizeResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
StreamingRecognizeResponse.EndpointerType |
getEndpointerType()
[Output-only] Indicates the type of endpointer event.
|
int |
getEndpointerTypeValue()
[Output-only] Indicates the type of endpointer event.
|
com.google.rpc.Status |
getError()
[Output-only] If set, returns a [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][] message that
specifies the error for the operation.
|
int |
getResultIndex()
[Output-only] Indicates the lowest index in the `results` array that has
changed.
|
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.
|
boolean |
hasError()
[Output-only] If set, returns a [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][] message that specifies the error for the operation.
optional .google.rpc.Status error = 1;com.google.rpc.Status getError()
[Output-only] If set, returns a [google.rpc.Status][] message that specifies the error for the operation.
optional .google.rpc.Status error = 1;com.google.rpc.StatusOrBuilder getErrorOrBuilder()
[Output-only] If set, returns a [google.rpc.Status][] message that specifies the error for the operation.
optional .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.
repeated .google.cloud.speech.v1beta1.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.
repeated .google.cloud.speech.v1beta1.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.
repeated .google.cloud.speech.v1beta1.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.
repeated .google.cloud.speech.v1beta1.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.
repeated .google.cloud.speech.v1beta1.StreamingRecognitionResult results = 2;int getResultIndex()
[Output-only] Indicates the lowest index in the `results` array that has changed. The repeated `StreamingRecognitionResult` results overwrite past results at this index and higher.
optional int32 result_index = 3;int getEndpointerTypeValue()
[Output-only] Indicates the type of endpointer event.
optional .google.cloud.speech.v1beta1.StreamingRecognizeResponse.EndpointerType endpointer_type = 4;StreamingRecognizeResponse.EndpointerType getEndpointerType()
[Output-only] Indicates the type of endpointer event.
optional .google.cloud.speech.v1beta1.StreamingRecognizeResponse.EndpointerType endpointer_type = 4;