Interface BatchRecognizeResponseOrBuilder (4.3.0)

public interface BatchRecognizeResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getResults()

public abstract Map<String,BatchRecognizeFileResult> getResults()

Use #getResultsMap() instead.

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Parameters
NameDescription
keyString
defaultValueBatchRecognizeFileResult
Returns
TypeDescription
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;

Parameter
NameDescription
keyString
Returns
TypeDescription
BatchRecognizeFileResult