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
public interface BatchRecognizeResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsResults(String key)Map from filename to the final result for that file.Map<String,BatchRecognizeFileResult>getResults()Deprecated.intgetResultsCount()Map from filename to the final result for that file.Map<String,BatchRecognizeFileResult>getResultsMap()Map from filename to the final result for that file.BatchRecognizeFileResultgetResultsOrDefault(String key, BatchRecognizeFileResult defaultValue)Map from filename to the final result for that file.BatchRecognizeFileResultgetResultsOrThrow(String key)Map from filename to the final result for that file.com.google.protobuf.DurationgetTotalBilledDuration()When available, billed audio seconds for the corresponding request.com.google.protobuf.DurationOrBuildergetTotalBilledDurationOrBuilder()When available, billed audio seconds for the corresponding request.booleanhasTotalBilledDuration()When available, billed audio seconds for the corresponding request.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getResultsCount
int getResultsCount()
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
-
containsResults
boolean containsResults(String key)
Map from filename to the final result for that file.
map<string, .google.cloud.speech.v2.BatchRecognizeFileResult> results = 1;
-
getResults
@Deprecated Map<String,BatchRecognizeFileResult> 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
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;
-
getResultsOrThrow
BatchRecognizeFileResult getResultsOrThrow(String key)
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;
-
-