public static final class OutputFormatConfig.Builder extends com.google.protobuf.GeneratedMessage.Builder<OutputFormatConfig.Builder> implements OutputFormatConfigOrBuilder
Configuration for the format of the results stored to `output`.Protobuf type
google.cloud.speech.v2.OutputFormatConfig| Modifier and Type | Method and Description |
|---|---|
OutputFormatConfig |
build() |
OutputFormatConfig |
buildPartial() |
OutputFormatConfig.Builder |
clear() |
OutputFormatConfig.Builder |
clearNative()
Configuration for the native output format.
|
OutputFormatConfig.Builder |
clearSrt()
Configuration for the SRT output format.
|
OutputFormatConfig.Builder |
clearVtt()
Configuration for the VTT output format.
|
OutputFormatConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
NativeOutputFileFormatConfig |
getNative()
Configuration for the native output format.
|
NativeOutputFileFormatConfig.Builder |
getNativeBuilder()
Configuration for the native output format.
|
NativeOutputFileFormatConfigOrBuilder |
getNativeOrBuilder()
Configuration for the native output format.
|
SrtOutputFileFormatConfig |
getSrt()
Configuration for the SRT output format.
|
SrtOutputFileFormatConfig.Builder |
getSrtBuilder()
Configuration for the SRT output format.
|
SrtOutputFileFormatConfigOrBuilder |
getSrtOrBuilder()
Configuration for the SRT output format.
|
VttOutputFileFormatConfig |
getVtt()
Configuration for the VTT output format.
|
VttOutputFileFormatConfig.Builder |
getVttBuilder()
Configuration for the VTT output format.
|
VttOutputFileFormatConfigOrBuilder |
getVttOrBuilder()
Configuration for the VTT output format.
|
boolean |
hasNative()
Configuration for the native output format.
|
boolean |
hasSrt()
Configuration for the SRT output format.
|
boolean |
hasVtt()
Configuration for the VTT output format.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OutputFormatConfig.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
OutputFormatConfig.Builder |
mergeFrom(com.google.protobuf.Message other) |
OutputFormatConfig.Builder |
mergeFrom(OutputFormatConfig other) |
OutputFormatConfig.Builder |
mergeNative(NativeOutputFileFormatConfig value)
Configuration for the native output format.
|
OutputFormatConfig.Builder |
mergeSrt(SrtOutputFileFormatConfig value)
Configuration for the SRT output format.
|
OutputFormatConfig.Builder |
mergeVtt(VttOutputFileFormatConfig value)
Configuration for the VTT output format.
|
OutputFormatConfig.Builder |
setNative(NativeOutputFileFormatConfig.Builder builderForValue)
Configuration for the native output format.
|
OutputFormatConfig.Builder |
setNative(NativeOutputFileFormatConfig value)
Configuration for the native output format.
|
OutputFormatConfig.Builder |
setSrt(SrtOutputFileFormatConfig.Builder builderForValue)
Configuration for the SRT output format.
|
OutputFormatConfig.Builder |
setSrt(SrtOutputFileFormatConfig value)
Configuration for the SRT output format.
|
OutputFormatConfig.Builder |
setVtt(VttOutputFileFormatConfig.Builder builderForValue)
Configuration for the VTT output format.
|
OutputFormatConfig.Builder |
setVtt(VttOutputFileFormatConfig value)
Configuration for the VTT output format.
|
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<OutputFormatConfig.Builder>public OutputFormatConfig.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<OutputFormatConfig.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<OutputFormatConfig.Builder>public OutputFormatConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic OutputFormatConfig build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic OutputFormatConfig buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic OutputFormatConfig.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OutputFormatConfig.Builder>public OutputFormatConfig.Builder mergeFrom(OutputFormatConfig other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<OutputFormatConfig.Builder>public OutputFormatConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<OutputFormatConfig.Builder>IOExceptionpublic 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;hasNative in interface OutputFormatConfigOrBuilderpublic 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;getNative in interface OutputFormatConfigOrBuilderpublic OutputFormatConfig.Builder setNative(NativeOutputFileFormatConfig value)
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 OutputFormatConfig.Builder setNative(NativeOutputFileFormatConfig.Builder builderForValue)
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 OutputFormatConfig.Builder mergeNative(NativeOutputFileFormatConfig value)
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 OutputFormatConfig.Builder clearNative()
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 NativeOutputFileFormatConfig.Builder getNativeBuilder()
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;getNativeOrBuilder in interface OutputFormatConfigOrBuilderpublic boolean hasVtt()
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;hasVtt in interface OutputFormatConfigOrBuilderpublic 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;getVtt in interface OutputFormatConfigOrBuilderpublic OutputFormatConfig.Builder setVtt(VttOutputFileFormatConfig value)
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 OutputFormatConfig.Builder setVtt(VttOutputFileFormatConfig.Builder builderForValue)
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 OutputFormatConfig.Builder mergeVtt(VttOutputFileFormatConfig value)
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 OutputFormatConfig.Builder clearVtt()
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 VttOutputFileFormatConfig.Builder getVttBuilder()
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;getVttOrBuilder in interface OutputFormatConfigOrBuilderpublic boolean hasSrt()
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;hasSrt in interface OutputFormatConfigOrBuilderpublic 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;getSrt in interface OutputFormatConfigOrBuilderpublic OutputFormatConfig.Builder setSrt(SrtOutputFileFormatConfig value)
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 OutputFormatConfig.Builder setSrt(SrtOutputFileFormatConfig.Builder builderForValue)
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 OutputFormatConfig.Builder mergeSrt(SrtOutputFileFormatConfig value)
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 OutputFormatConfig.Builder clearSrt()
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 SrtOutputFileFormatConfig.Builder getSrtBuilder()
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;getSrtOrBuilder in interface OutputFormatConfigOrBuilderCopyright © 2026 Google LLC. All rights reserved.