Interface BatchRecognizeFileResultOrBuilder (4.18.0)

public interface BatchRecognizeFileResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getError()

public abstract Status getError()

Error if one was encountered.

.google.rpc.Status error = 2;

Returns
TypeDescription
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

Error if one was encountered.

.google.rpc.Status error = 2;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getMetadata()

public abstract RecognitionResponseMetadata getMetadata()

.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;

Returns
TypeDescription
RecognitionResponseMetadata

The metadata.

getMetadataOrBuilder()

public abstract RecognitionResponseMetadataOrBuilder getMetadataOrBuilder()

.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;

Returns
TypeDescription
RecognitionResponseMetadataOrBuilder

getTranscript()

public abstract BatchRecognizeResults getTranscript()

The transcript for the audio file. This is populated only when InlineOutputConfig is set in the RecognitionOutputConfig.

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

Returns
TypeDescription
BatchRecognizeResults

The transcript.

getTranscriptOrBuilder()

public abstract BatchRecognizeResultsOrBuilder getTranscriptOrBuilder()

The transcript for the audio file. This is populated only when InlineOutputConfig is set in the RecognitionOutputConfig.

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

Returns
TypeDescription
BatchRecognizeResultsOrBuilder

getUri()

public abstract String getUri()

The Cloud Storage URI to which recognition results were written.

string uri = 1;

Returns
TypeDescription
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

The Cloud Storage URI to which recognition results were written.

string uri = 1;

Returns
TypeDescription
ByteString

The bytes for uri.

hasError()

public abstract boolean hasError()

Error if one was encountered.

.google.rpc.Status error = 2;

Returns
TypeDescription
boolean

Whether the error field is set.

hasMetadata()

public abstract boolean hasMetadata()

.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 3;

Returns
TypeDescription
boolean

Whether the metadata field is set.

hasTranscript()

public abstract boolean hasTranscript()

The transcript for the audio file. This is populated only when InlineOutputConfig is set in the RecognitionOutputConfig.

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

Returns
TypeDescription
boolean

Whether the transcript field is set.