public static final class OutputFormatConfig.Builder extends com.google.protobuf.GeneratedMessageV3.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.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OutputFormatConfig |
build() |
OutputFormatConfig |
buildPartial() |
OutputFormatConfig.Builder |
clear() |
OutputFormatConfig.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
OutputFormatConfig.Builder |
clearNative()
Configuration for the native output format.
|
OutputFormatConfig.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OutputFormatConfig.Builder |
clearSrt()
Configuration for the SRT output format.
|
OutputFormatConfig.Builder |
clearVtt()
Configuration for the VTT output format.
|
OutputFormatConfig.Builder |
clone() |
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.GeneratedMessageV3.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 |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OutputFormatConfig.Builder |
mergeVtt(VttOutputFileFormatConfig value)
Configuration for the VTT output format.
|
OutputFormatConfig.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
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 |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
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 |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
OutputFormatConfig.Builder |
setVtt(VttOutputFileFormatConfig.Builder builderForValue)
Configuration for the VTT output format.
|
OutputFormatConfig.Builder |
setVtt(VttOutputFileFormatConfig value)
Configuration for the VTT output format.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.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.GeneratedMessageV3.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 clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<OutputFormatConfig.Builder>public OutputFormatConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<OutputFormatConfig.Builder>public OutputFormatConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<OutputFormatConfig.Builder>public OutputFormatConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OutputFormatConfig.Builder>public OutputFormatConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OutputFormatConfig.Builder>public OutputFormatConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OutputFormatConfig.Builder>public 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.GeneratedMessageV3.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 OutputFormatConfigOrBuilderpublic final OutputFormatConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OutputFormatConfig.Builder>public final OutputFormatConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OutputFormatConfig.Builder>Copyright © 2025 Google LLC. All rights reserved.