Interface RecognitionOutputConfigOrBuilder (4.36.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

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
TypeDescription
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
TypeDescription
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
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.

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
TypeDescription
boolean

Whether the outputFormatConfig field is set.