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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<OutputFormatConfig.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<OutputFormatConfig.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<OutputFormatConfig.Builder>
    • getDefaultInstanceForType

      public OutputFormatConfig getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public OutputFormatConfig build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public OutputFormatConfig buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public OutputFormatConfig.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OutputFormatConfig.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasNative in interface OutputFormatConfigOrBuilder
      Returns:
      Whether the native field is set.
    • getNative

      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;
      Specified by:
      getNative in interface OutputFormatConfigOrBuilder
      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

      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;
    • getNativeBuilder

      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;
    • getNativeOrBuilder

      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;
      Specified by:
      getNativeOrBuilder in interface OutputFormatConfigOrBuilder
    • 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:
      hasVtt in interface OutputFormatConfigOrBuilder
      Returns:
      Whether the vtt field is set.
    • getVtt

      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;
      Specified by:
      getVtt in interface OutputFormatConfigOrBuilder
      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

      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;
    • getVttBuilder

      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;
    • getVttOrBuilder

      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;
      Specified by:
      getVttOrBuilder in interface OutputFormatConfigOrBuilder
    • 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:
      hasSrt in interface OutputFormatConfigOrBuilder
      Returns:
      Whether the srt field is set.
    • getSrt

      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;
      Specified by:
      getSrt in interface OutputFormatConfigOrBuilder
      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

      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;
    • getSrtBuilder

      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;
    • getSrtOrBuilder

      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;
      Specified by:
      getSrtOrBuilder in interface OutputFormatConfigOrBuilder