Package com.google.cloud.speech.v2
Interface RecognitionOutputConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RecognitionOutputConfig,RecognitionOutputConfig.Builder
@Generated
public interface RecognitionOutputConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIf this message is populated, recognition results are written to the provided Google Cloud Storage URI.If this message is populated, recognition results are written to the provided Google Cloud Storage URI.If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed.If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed.Optional.Optional.booleanIf this message is populated, recognition results are written to the provided Google Cloud Storage URI.booleanIf this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed.booleanOptional.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasGcsOutputConfig
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:
- Whether the gcsOutputConfig field is set.
-
getGcsOutputConfig
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:
- The gcsOutputConfig.
-
getGcsOutputConfigOrBuilder
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; -
hasInlineResponseConfig
boolean hasInlineResponseConfig()If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed. This is only supported when calling [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize] with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;- Returns:
- Whether the inlineResponseConfig field is set.
-
getInlineResponseConfig
InlineOutputConfig getInlineResponseConfig()If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed. This is only supported when calling [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize] with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2;- Returns:
- The inlineResponseConfig.
-
getInlineResponseConfigOrBuilder
InlineOutputConfigOrBuilder getInlineResponseConfigOrBuilder()If this message is populated, recognition results are provided in the [BatchRecognizeResponse][google.cloud.speech.v2.BatchRecognizeResponse] message of the Operation when completed. This is only supported when calling [BatchRecognize][google.cloud.speech.v2.Speech.BatchRecognize] with just one audio file.
.google.cloud.speech.v2.InlineOutputConfig inline_response_config = 2; -
hasOutputFormatConfig
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:
- Whether the outputFormatConfig field is set.
-
getOutputFormatConfig
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:
- The outputFormatConfig.
-
getOutputFormatConfigOrBuilder
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]; -
getOutputCase
RecognitionOutputConfig.OutputCase getOutputCase()
-