Interface BatchRecognizeResponseOrBuilder (4.49.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() (deprecated)

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

getTotalBilledDuration()

public abstract Duration getTotalBilledDuration()

When available, billed audio seconds for the corresponding request.

.google.protobuf.Duration total_billed_duration = 2;

Returns
Type Description
Duration

The totalBilledDuration.

getTotalBilledDurationOrBuilder()

public abstract DurationOrBuilder getTotalBilledDurationOrBuilder()

When available, billed audio seconds for the corresponding request.

.google.protobuf.Duration total_billed_duration = 2;

Returns
Type Description
DurationOrBuilder

hasTotalBilledDuration()

public abstract boolean hasTotalBilledDuration()

When available, billed audio seconds for the corresponding request.

.google.protobuf.Duration total_billed_duration = 2;

Returns
Type Description
boolean

Whether the totalBilledDuration field is set.