Interface BatchRecognizeMetadataOrBuilder (4.17.0)

public interface BatchRecognizeMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsTranscriptionMetadata(String key)

public abstract boolean containsTranscriptionMetadata(String key)

Map from provided filename to the transcription metadata for that file.

map<string, .google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata> transcription_metadata = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getTranscriptionMetadata()

public abstract Map<String,BatchRecognizeTranscriptionMetadata> getTranscriptionMetadata()
Returns
TypeDescription
Map<String,BatchRecognizeTranscriptionMetadata>

getTranscriptionMetadataCount()

public abstract int getTranscriptionMetadataCount()

Map from provided filename to the transcription metadata for that file.

map<string, .google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata> transcription_metadata = 1;

Returns
TypeDescription
int

getTranscriptionMetadataMap()

public abstract Map<String,BatchRecognizeTranscriptionMetadata> getTranscriptionMetadataMap()

Map from provided filename to the transcription metadata for that file.

map<string, .google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata> transcription_metadata = 1;

Returns
TypeDescription
Map<String,BatchRecognizeTranscriptionMetadata>

getTranscriptionMetadataOrDefault(String key, BatchRecognizeTranscriptionMetadata defaultValue)

public abstract BatchRecognizeTranscriptionMetadata getTranscriptionMetadataOrDefault(String key, BatchRecognizeTranscriptionMetadata defaultValue)

Map from provided filename to the transcription metadata for that file.

map<string, .google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata> transcription_metadata = 1;

Parameters
NameDescription
keyString
defaultValueBatchRecognizeTranscriptionMetadata
Returns
TypeDescription
BatchRecognizeTranscriptionMetadata

getTranscriptionMetadataOrThrow(String key)

public abstract BatchRecognizeTranscriptionMetadata getTranscriptionMetadataOrThrow(String key)

Map from provided filename to the transcription metadata for that file.

map<string, .google.cloud.speech.v2.BatchRecognizeTranscriptionMetadata> transcription_metadata = 1;

Parameter
NameDescription
keyString
Returns
TypeDescription
BatchRecognizeTranscriptionMetadata