Interface RecognitionOutputConfigOrBuilder (4.44.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
Type Description
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
Type Description
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
Type Description
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
Type Description
InlineOutputConfigOrBuilder

getOutputCase()

public abstract RecognitionOutputConfig.OutputCase getOutputCase()
Returns
Type Description
RecognitionOutputConfig.OutputCase

getOutputFormatConfig()

public abstract OutputFormatConfig getOutputFormatConfig()

Optional. Configuration for the format of the results stored to output. If unspecified transcripts will be written in the NATIVE format only.

.google.cloud.speech.v2.OutputFormatConfig output_format_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OutputFormatConfig

The outputFormatConfig.

getOutputFormatConfigOrBuilder()

public abstract OutputFormatConfigOrBuilder getOutputFormatConfigOrBuilder()

Optional. Configuration for the format of the results stored to output. If unspecified transcripts will be written in the NATIVE format only.

.google.cloud.speech.v2.OutputFormatConfig output_format_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
OutputFormatConfigOrBuilder

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
Type Description
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
Type Description
boolean

Whether the inlineResponseConfig field is set.

hasOutputFormatConfig()

public abstract boolean hasOutputFormatConfig()

Optional. Configuration for the format of the results stored to output. If unspecified transcripts will be written in the NATIVE format only.

.google.cloud.speech.v2.OutputFormatConfig output_format_config = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the outputFormatConfig field is set.