Send feedback
Class OutputFormatConfig (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 OutputFormatConfig extends GeneratedMessageV3 implements OutputFormatConfigOrBuilder
Configuration for the format of the results stored to output
.
Protobuf type google.cloud.speech.v2.OutputFormatConfig
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
public static final int NATIVE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SRT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int VTT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static OutputFormatConfig getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static OutputFormatConfig . Builder newBuilder ()
public static OutputFormatConfig . Builder newBuilder ( OutputFormatConfig prototype )
public static OutputFormatConfig parseDelimitedFrom ( InputStream input )
public static OutputFormatConfig parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static OutputFormatConfig parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static OutputFormatConfig parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static OutputFormatConfig parseFrom ( ByteString data )
public static OutputFormatConfig parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static OutputFormatConfig parseFrom ( CodedInputStream input )
public static OutputFormatConfig parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static OutputFormatConfig parseFrom ( InputStream input )
public static OutputFormatConfig parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static OutputFormatConfig parseFrom ( ByteBuffer data )
public static OutputFormatConfig parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<OutputFormatConfig> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public OutputFormatConfig getDefaultInstanceForType ()
public NativeOutputFileFormatConfig getNative ()
Configuration for the native output format. If this field is set or if no
other output format field is set then transcripts will be written to the
sink in the native format.
.google.cloud.speech.v2.NativeOutputFileFormatConfig native = 1;
public NativeOutputFileFormatConfigOrBuilder getNativeOrBuilder ()
Configuration for the native output format. If this field is set or if no
other output format field is set then transcripts will be written to the
sink in the native format.
.google.cloud.speech.v2.NativeOutputFileFormatConfig native = 1;
public Parser<OutputFormatConfig> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public SrtOutputFileFormatConfig getSrt ()
Configuration for the srt output format. If this field is set then
transcripts will be written to the sink in the srt format.
.google.cloud.speech.v2.SrtOutputFileFormatConfig srt = 3;
public SrtOutputFileFormatConfigOrBuilder getSrtOrBuilder ()
Configuration for the srt output format. If this field is set then
transcripts will be written to the sink in the srt format.
.google.cloud.speech.v2.SrtOutputFileFormatConfig srt = 3;
public VttOutputFileFormatConfig getVtt ()
Configuration for the vtt output format. If this field is set then
transcripts will be written to the sink in the vtt format.
.google.cloud.speech.v2.VttOutputFileFormatConfig vtt = 2;
public VttOutputFileFormatConfigOrBuilder getVttOrBuilder ()
Configuration for the vtt output format. If this field is set then
transcripts will be written to the sink in the vtt format.
.google.cloud.speech.v2.VttOutputFileFormatConfig vtt = 2;
public boolean hasNative ()
Configuration for the native output format. If this field is set or if no
other output format field is set then transcripts will be written to the
sink in the native format.
.google.cloud.speech.v2.NativeOutputFileFormatConfig native = 1;
Returns
Type
Description
boolean
Whether the native field is set.
Configuration for the srt output format. If this field is set then
transcripts will be written to the sink in the srt format.
.google.cloud.speech.v2.SrtOutputFileFormatConfig srt = 3;
Returns
Type
Description
boolean
Whether the srt field is set.
Configuration for the vtt output format. If this field is set then
transcripts will be written to the sink in the vtt format.
.google.cloud.speech.v2.VttOutputFileFormatConfig vtt = 2;
Returns
Type
Description
boolean
Whether the vtt field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public OutputFormatConfig . Builder newBuilderForType ()
protected OutputFormatConfig . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public OutputFormatConfig . Builder toBuilder ()
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."],[],[]]