Package com.google.cloud.speech.v2
Class OutputFormatConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<OutputFormatConfig.Builder>
com.google.cloud.speech.v2.OutputFormatConfig.Builder
- All Implemented Interfaces:
OutputFormatConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- OutputFormatConfig
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-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Configuration for the native output format.clearSrt()Configuration for the SRT output format.clearVtt()Configuration for the VTT output format.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorConfiguration for the native output format.Configuration for the native output format.Configuration for the native output format.getSrt()Configuration for the SRT output format.Configuration for the SRT output format.Configuration for the SRT output format.getVtt()Configuration for the VTT output format.Configuration for the VTT output format.Configuration for the VTT output format.booleanConfiguration for the native output format.booleanhasSrt()Configuration for the SRT output format.booleanhasVtt()Configuration for the VTT output format.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(OutputFormatConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) Configuration for the native output format.Configuration for the SRT output format.Configuration for the VTT output format.Configuration for the native output format.setNative(NativeOutputFileFormatConfig.Builder builderForValue) Configuration for the native output format.setSrt(SrtOutputFileFormatConfig value) Configuration for the SRT output format.setSrt(SrtOutputFileFormatConfig.Builder builderForValue) Configuration for the SRT output format.setVtt(VttOutputFileFormatConfig value) Configuration for the VTT output format.setVtt(VttOutputFileFormatConfig.Builder builderForValue) Configuration for the VTT output format.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<OutputFormatConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<OutputFormatConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<OutputFormatConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OutputFormatConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<OutputFormatConfig.Builder>
-
mergeFrom
public OutputFormatConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<OutputFormatConfig.Builder>- Throws:
IOException
-
hasNative
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;- Specified by:
hasNativein interfaceOutputFormatConfigOrBuilder- Returns:
- Whether the native field is set.
-
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;- Specified by:
getNativein interfaceOutputFormatConfigOrBuilder- Returns:
- The native.
-
setNative
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; -
setNative
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; -
mergeNative
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; -
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; -
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; -
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;- Specified by:
getNativeOrBuilderin interfaceOutputFormatConfigOrBuilder
-
hasVtt
public 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;- Specified by:
hasVttin interfaceOutputFormatConfigOrBuilder- Returns:
- Whether the vtt field is set.
-
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;- Specified by:
getVttin interfaceOutputFormatConfigOrBuilder- Returns:
- The vtt.
-
setVtt
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; -
setVtt
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; -
mergeVtt
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; -
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; -
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; -
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;- Specified by:
getVttOrBuilderin interfaceOutputFormatConfigOrBuilder
-
hasSrt
public 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;- Specified by:
hasSrtin interfaceOutputFormatConfigOrBuilder- Returns:
- Whether the srt field is set.
-
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;- Specified by:
getSrtin interfaceOutputFormatConfigOrBuilder- Returns:
- The srt.
-
setSrt
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; -
setSrt
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; -
mergeSrt
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; -
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; -
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; -
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;- Specified by:
getSrtOrBuilderin interfaceOutputFormatConfigOrBuilder
-