public interface BatchRecognizeResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsResults(String key)
public abstract boolean containsResults(String key)
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
Name | Description |
key | String |
Type | Description |
boolean |
getResults()
public abstract Map<String,BatchRecognizeFileResult> getResults()
Use #getResultsMap() instead.
Type | Description |
Map<String,BatchRecognizeFileResult> |
getResultsCount()
public abstract int getResultsCount()
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
Type | Description |
int |
getResultsMap()
public abstract Map<String,BatchRecognizeFileResult> getResultsMap()
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
Type | Description |
Map<String,BatchRecognizeFileResult> |
getResultsOrDefault(String key, BatchRecognizeFileResult defaultValue)
public abstract BatchRecognizeFileResult getResultsOrDefault(String key, BatchRecognizeFileResult defaultValue)
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
Name | Description |
key | String |
defaultValue | BatchRecognizeFileResult |
Type | Description |
BatchRecognizeFileResult |
getResultsOrThrow(String key)
public abstract BatchRecognizeFileResult getResultsOrThrow(String key)
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
Name | Description |
key | String |
Type | Description |
BatchRecognizeFileResult |