Interface BatchRecognizeResponseOrBuilder (4.0.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
Name Description
key String
Returns
Type Description
boolean

getResults()

public abstract Map<String,BatchRecognizeFileResult> getResults()

Use #getResultsMap() instead.

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

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

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

Parameters
Name Description
key String
defaultValue BatchRecognizeFileResult
Returns
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;

Parameter
Name Description
key String
Returns
Type Description
BatchRecognizeFileResult