- 4.78.0 (latest)
- 4.77.0
- 4.75.0
- 4.73.0
- 4.71.0
- 4.70.0
- 4.69.0
- 4.68.0
- 4.67.0
- 4.65.0
- 4.63.0
- 4.62.0
- 4.59.0
- 4.58.0
- 4.57.0
- 4.55.0
- 4.54.0
- 4.53.0
- 4.52.0
- 4.51.0
- 4.50.0
- 4.49.0
- 4.48.0
- 4.47.0
- 4.46.0
- 4.44.0
- 4.43.0
- 4.42.0
- 4.41.0
- 4.40.0
- 4.39.0
- 4.38.0
- 4.37.0
- 4.36.0
- 4.35.0
- 4.34.0
- 4.32.0
- 4.31.0
- 4.30.0
- 4.29.0
- 4.28.0
- 4.27.0
- 4.26.0
- 4.25.0
- 4.24.0
- 4.23.0
- 4.22.0
- 4.19.0
- 4.18.0
- 4.17.0
- 4.16.0
- 4.15.0
- 4.14.0
- 4.13.0
- 4.12.0
- 4.11.0
- 4.10.0
- 4.9.0
- 4.8.0
- 4.7.0
- 4.6.0
- 4.4.0
- 4.3.0
- 4.2.0
- 4.1.0
- 4.0.0
- 3.0.0
- 2.6.1
- 2.5.9
- 2.4.0
- 2.3.0
- 2.2.15
public static final class RecognitionOutputConfig.Builder extends GeneratedMessage.Builder<RecognitionOutputConfig.Builder> implements RecognitionOutputConfigOrBuilderConfiguration options for the output(s) of recognition.
Protobuf type google.cloud.speech.v2.RecognitionOutputConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RecognitionOutputConfig.BuilderImplements
RecognitionOutputConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RecognitionOutputConfig build()| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig |
|
buildPartial()
public RecognitionOutputConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig |
|
clear()
public RecognitionOutputConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig.Builder |
|
clearGcsOutputConfig()
public RecognitionOutputConfig.Builder clearGcsOutputConfig()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 |
RecognitionOutputConfig.Builder |
|
clearInlineResponseConfig()
public RecognitionOutputConfig.Builder clearInlineResponseConfig()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 |
RecognitionOutputConfig.Builder |
|
clearOutput()
public RecognitionOutputConfig.Builder clearOutput()| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig.Builder |
|
clearOutputFormatConfig()
public RecognitionOutputConfig.Builder clearOutputFormatConfig() 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 |
RecognitionOutputConfig.Builder |
|
getDefaultInstanceForType()
public RecognitionOutputConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGcsOutputConfig()
public 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. |
getGcsOutputConfigBuilder()
public GcsOutputConfig.Builder getGcsOutputConfigBuilder()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.Builder |
|
getGcsOutputConfigOrBuilder()
public 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 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. |
getInlineResponseConfigBuilder()
public InlineOutputConfig.Builder getInlineResponseConfigBuilder()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.Builder |
|
getInlineResponseConfigOrBuilder()
public 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 RecognitionOutputConfig.OutputCase getOutputCase()| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig.OutputCase |
|
getOutputFormatConfig()
public 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. |
getOutputFormatConfigBuilder()
public OutputFormatConfig.Builder getOutputFormatConfigBuilder() 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.Builder |
|
getOutputFormatConfigOrBuilder()
public 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 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RecognitionOutputConfig other)
public RecognitionOutputConfig.Builder mergeFrom(RecognitionOutputConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
RecognitionOutputConfig |
| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RecognitionOutputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RecognitionOutputConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig.Builder |
|
mergeGcsOutputConfig(GcsOutputConfig value)
public RecognitionOutputConfig.Builder mergeGcsOutputConfig(GcsOutputConfig value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
GcsOutputConfig |
| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig.Builder |
|
mergeInlineResponseConfig(InlineOutputConfig value)
public RecognitionOutputConfig.Builder mergeInlineResponseConfig(InlineOutputConfig value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
InlineOutputConfig |
| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig.Builder |
|
mergeOutputFormatConfig(OutputFormatConfig value)
public RecognitionOutputConfig.Builder mergeOutputFormatConfig(OutputFormatConfig value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
OutputFormatConfig |
| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig.Builder |
|
setGcsOutputConfig(GcsOutputConfig value)
public RecognitionOutputConfig.Builder setGcsOutputConfig(GcsOutputConfig value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
GcsOutputConfig |
| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig.Builder |
|
setGcsOutputConfig(GcsOutputConfig.Builder builderForValue)
public RecognitionOutputConfig.Builder setGcsOutputConfig(GcsOutputConfig.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
GcsOutputConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig.Builder |
|
setInlineResponseConfig(InlineOutputConfig value)
public RecognitionOutputConfig.Builder setInlineResponseConfig(InlineOutputConfig value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
InlineOutputConfig |
| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig.Builder |
|
setInlineResponseConfig(InlineOutputConfig.Builder builderForValue)
public RecognitionOutputConfig.Builder setInlineResponseConfig(InlineOutputConfig.Builder builderForValue)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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
InlineOutputConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig.Builder |
|
setOutputFormatConfig(OutputFormatConfig value)
public RecognitionOutputConfig.Builder setOutputFormatConfig(OutputFormatConfig value) 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];
| Parameter | |
|---|---|
| Name | Description |
value |
OutputFormatConfig |
| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig.Builder |
|
setOutputFormatConfig(OutputFormatConfig.Builder builderForValue)
public RecognitionOutputConfig.Builder setOutputFormatConfig(OutputFormatConfig.Builder builderForValue) 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];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
OutputFormatConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
RecognitionOutputConfig.Builder |
|