Package com.google.cloud.speech.v2
Interface BatchRecognizeResponseOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
BatchRecognizeResponse,BatchRecognizeResponse.Builder
@Generated
public interface BatchRecognizeResponseOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsResults(String key) Map from filename to the final result for that file.Deprecated.intMap from filename to the final result for that file.Map from filename to the final result for that file.getResultsOrDefault(String key, BatchRecognizeFileResult defaultValue) Map from filename to the final result for that file.getResultsOrThrow(String key) Map from filename to the final result for that file.com.google.protobuf.DurationWhen available, billed audio seconds for the corresponding request.com.google.protobuf.DurationOrBuilderWhen available, billed audio seconds for the corresponding request.booleanWhen available, billed audio seconds for the corresponding request.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getResultsCount
int getResultsCount()Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1; -
containsResults
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1; -
getResults
Deprecated.UsegetResultsMap()instead. -
getResultsMap
Map<String,BatchRecognizeFileResult> getResultsMap()Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1; -
getResultsOrDefault
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1; -
getResultsOrThrow
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1; -
hasTotalBilledDuration
boolean hasTotalBilledDuration()When available, billed audio seconds for the corresponding request.
.google.protobuf.Duration total_billed_duration = 2;- Returns:
- Whether the totalBilledDuration field is set.
-
getTotalBilledDuration
com.google.protobuf.Duration getTotalBilledDuration()When available, billed audio seconds for the corresponding request.
.google.protobuf.Duration total_billed_duration = 2;- Returns:
- The totalBilledDuration.
-
getTotalBilledDurationOrBuilder
com.google.protobuf.DurationOrBuilder getTotalBilledDurationOrBuilder()When available, billed audio seconds for the corresponding request.
.google.protobuf.Duration total_billed_duration = 2;
-