Interface InlineResultOrBuilder (4.31.0)

public interface InlineResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getTranscript()

public abstract BatchRecognizeResults getTranscript()

The transcript for the audio file.

.google.cloud.speech.v2.BatchRecognizeResults transcript = 1;

Returns
TypeDescription
BatchRecognizeResults

The transcript.

getTranscriptOrBuilder()

public abstract BatchRecognizeResultsOrBuilder getTranscriptOrBuilder()

The transcript for the audio file.

.google.cloud.speech.v2.BatchRecognizeResults transcript = 1;

Returns
TypeDescription
BatchRecognizeResultsOrBuilder

hasTranscript()

public abstract boolean hasTranscript()

The transcript for the audio file.

.google.cloud.speech.v2.BatchRecognizeResults transcript = 1;

Returns
TypeDescription
boolean

Whether the transcript field is set.