public static final class OutputFormatConfig.Builder extends GeneratedMessageV3.Builder<OutputFormatConfig.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public OutputFormatConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public OutputFormatConfig build()
public OutputFormatConfig buildPartial()
public OutputFormatConfig.Builder clear()
Overrides
public OutputFormatConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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 OutputFormatConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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 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 OutputFormatConfig.Builder clone()
Overrides
public OutputFormatConfig getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 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;
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 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;
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 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;
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public OutputFormatConfig.Builder mergeFrom(OutputFormatConfig other)
public OutputFormatConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public OutputFormatConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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 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 final OutputFormatConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public 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 setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public 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 final OutputFormatConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides
public 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;