Send feedback
Class RecognitionOutputConfig (4.50.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 4.50.0 keyboard_arrow_down
public final class RecognitionOutputConfig extends GeneratedMessageV3 implements RecognitionOutputConfigOrBuilder
Configuration options for the output(s) of recognition.
Protobuf type google.cloud.speech.v2.RecognitionOutputConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
GCS_OUTPUT_CONFIG_FIELD_NUMBER
public static final int GCS_OUTPUT_CONFIG_FIELD_NUMBER
Field Value
Type
Description
int
INLINE_RESPONSE_CONFIG_FIELD_NUMBER
public static final int INLINE_RESPONSE_CONFIG_FIELD_NUMBER
Field Value
Type
Description
int
public static final int OUTPUT_FORMAT_CONFIG_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static RecognitionOutputConfig getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static RecognitionOutputConfig . Builder newBuilder ()
newBuilder(RecognitionOutputConfig prototype)
public static RecognitionOutputConfig . Builder newBuilder ( RecognitionOutputConfig prototype )
public static RecognitionOutputConfig parseDelimitedFrom ( InputStream input )
public static RecognitionOutputConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static RecognitionOutputConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RecognitionOutputConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static RecognitionOutputConfig parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RecognitionOutputConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static RecognitionOutputConfig parseFrom ( CodedInputStream input )
public static RecognitionOutputConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static RecognitionOutputConfig parseFrom ( InputStream input )
public static RecognitionOutputConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static RecognitionOutputConfig parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RecognitionOutputConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<RecognitionOutputConfig> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public RecognitionOutputConfig getDefaultInstanceForType ()
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;
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;
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;
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;
getOutputCase()
public RecognitionOutputConfig . OutputCase getOutputCase ()
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];
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];
getParserForType()
public Parser<RecognitionOutputConfig> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public RecognitionOutputConfig . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RecognitionOutputConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public RecognitionOutputConfig . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]