Package com.google.cloud.speech.v2
Interface OutputFormatConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OutputFormatConfig,OutputFormatConfig.Builder
@Generated
public interface OutputFormatConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionConfiguration for the native output format.Configuration for the native output format.getSrt()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.booleanConfiguration for the native output format.booleanhasSrt()Configuration for the SRT output format.booleanhasVtt()Configuration for the VTT output format.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasNative
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:
- Whether the native field is set.
-
getNative
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;- Returns:
- The native.
-
getNativeOrBuilder
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; -
hasVtt
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;- Returns:
- Whether the vtt field is set.
-
getVtt
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;- Returns:
- The vtt.
-
getVttOrBuilder
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; -
hasSrt
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;- Returns:
- Whether the srt field is set.
-
getSrt
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;- Returns:
- The srt.
-
getSrtOrBuilder
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;
-