Interface RecognitionOutputConfigOrBuilder (4.27.0)

public interface RecognitionOutputConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGcsOutputConfig()

public abstract GcsOutputConfig getGcsOutputConfig()

If this message is populated, recognition results are written to the provided Google Cloud Storage URI.

.google.cloud.speech.v2.GcsOutputConfig gcs_output_config = 1;

Returns
TypeDescription
GcsOutputConfig

The gcsOutputConfig.

getGcsOutputConfigOrBuilder()

public abstract GcsOutputConfigOrBuilder getGcsOutputConfigOrBuilder()

If this message is populated, recognition results are written to the provided Google Cloud Storage URI.

.google.cloud.speech.v2.GcsOutputConfig gcs_output_config = 1;

Returns
TypeDescription
GcsOutputConfigOrBuilder

getInlineResponseConfig()

public abstract InlineOutputConfig getInlineResponseConfig()

If this message is populated, recognition results are provided in the BatchRecognizeResponse message of the Operation when completed. This is only supported when calling BatchRecognize with just one audio file.

.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;

Returns
TypeDescription
InlineOutputConfig

The inlineResponseConfig.

getInlineResponseConfigOrBuilder()

public abstract InlineOutputConfigOrBuilder getInlineResponseConfigOrBuilder()

If this message is populated, recognition results are provided in the BatchRecognizeResponse message of the Operation when completed. This is only supported when calling BatchRecognize with just one audio file.

.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;

Returns
TypeDescription
InlineOutputConfigOrBuilder

getOutputCase()

public abstract RecognitionOutputConfig.OutputCase getOutputCase()
Returns
TypeDescription
RecognitionOutputConfig.OutputCase

hasGcsOutputConfig()

public abstract boolean hasGcsOutputConfig()

If this message is populated, recognition results are written to the provided Google Cloud Storage URI.

.google.cloud.speech.v2.GcsOutputConfig gcs_output_config = 1;

Returns
TypeDescription
boolean

Whether the gcsOutputConfig field is set.

hasInlineResponseConfig()

public abstract boolean hasInlineResponseConfig()

If this message is populated, recognition results are provided in the BatchRecognizeResponse message of the Operation when completed. This is only supported when calling BatchRecognize with just one audio file.

.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;

Returns
TypeDescription
boolean

Whether the inlineResponseConfig field is set.