Interface BatchRecognizeResponseOrBuilder (4.3.0)

See more code actions.
public interface BatchRecognizeResponseOrBuilder extends MessageOrBuilder
MessageOrBuilder
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

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

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

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