public interface StreamingRecognizeResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.rpc.Status |
getError()
Output only.
|
com.google.rpc.StatusOrBuilder |
getErrorOrBuilder()
Output only.
|
StreamingRecognitionResult |
getResults(int index)
Output only.
|
int |
getResultsCount()
Output only.
|
List<StreamingRecognitionResult> |
getResultsList()
Output only.
|
StreamingRecognitionResultOrBuilder |
getResultsOrBuilder(int index)
Output only.
|
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, 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 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;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;Copyright © 2018 Google LLC. All rights reserved.