Interface AudioInputOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
AudioInput, AudioInput.Builder

@Generated public interface AudioInputOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    com.google.protobuf.ByteString
    Required.
    Required.
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasConfig

      boolean hasConfig()
       Required. Instructs the speech recognizer how to process the speech audio.
       
      .google.cloud.dialogflow.v2.InputAudioConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the config field is set.
    • getConfig

      InputAudioConfig getConfig()
       Required. Instructs the speech recognizer how to process the speech audio.
       
      .google.cloud.dialogflow.v2.InputAudioConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The config.
    • getConfigOrBuilder

      InputAudioConfigOrBuilder getConfigOrBuilder()
       Required. Instructs the speech recognizer how to process the speech audio.
       
      .google.cloud.dialogflow.v2.InputAudioConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
    • getAudio

      com.google.protobuf.ByteString getAudio()
       Required. The natural language speech audio to be processed.
       A single request can contain up to 2 minutes of speech audio data.
       The transcribed text cannot contain more than 256 bytes for virtual agent
       interactions.
       
      bytes audio = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The audio.