public interface StreamingRecognizeResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getEndpointerType()
public abstract StreamingRecognizeResponse.EndpointerType getEndpointerType()
Output-only Indicates the type of endpointer event.
.google.cloud.speech.v1beta1.StreamingRecognizeResponse.EndpointerType endpointer_type = 4;
Returns | |
---|---|
Type | Description |
StreamingRecognizeResponse.EndpointerType |
getEndpointerTypeValue()
public abstract int getEndpointerTypeValue()
Output-only Indicates the type of endpointer event.
.google.cloud.speech.v1beta1.StreamingRecognizeResponse.EndpointerType endpointer_type = 4;
Returns | |
---|---|
Type | Description |
int |
getError()
public abstract Status getError()
Output-only If set, returns a google.rpc.Status message that specifies the error for the operation.
.google.rpc.Status error = 1;
Returns | |
---|---|
Type | Description |
com.google.rpc.Status |
getErrorOrBuilder()
public abstract StatusOrBuilder getErrorOrBuilder()
Output-only If set, returns a google.rpc.Status message that specifies the error for the operation.
.google.rpc.Status error = 1;
Returns | |
---|---|
Type | Description |
com.google.rpc.StatusOrBuilder |
getResultIndex()
public abstract 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.
int32 result_index = 3;
Returns | |
---|---|
Type | Description |
int |
getResults(int index)
public abstract 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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
StreamingRecognitionResult |
getResultsCount()
public abstract 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;
Returns | |
---|---|
Type | Description |
int |
getResultsList()
public abstract 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;
Returns | |
---|---|
Type | Description |
List<StreamingRecognitionResult> |
getResultsOrBuilder(int index)
public abstract 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;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
StreamingRecognitionResultOrBuilder |
getResultsOrBuilderList()
public abstract 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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.speech.v1beta1.StreamingRecognitionResultOrBuilder> |
hasError()
public abstract boolean hasError()
Output-only If set, returns a google.rpc.Status message that specifies the error for the operation.
.google.rpc.Status error = 1;
Returns | |
---|---|
Type | Description |
boolean |