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)
Overrides
public OutputFormatConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides