Interface RecognizeRequestOrBuilder

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

@Generated public interface RecognizeRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasConfig

      boolean hasConfig()
       Required. Provides information to the recognizer that specifies how to
       process the request.
       
      .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the config field is set.
    • getConfig

      RecognitionConfig getConfig()
       Required. Provides information to the recognizer that specifies how to
       process the request.
       
      .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The config.
    • getConfigOrBuilder

      RecognitionConfigOrBuilder getConfigOrBuilder()
       Required. Provides information to the recognizer that specifies how to
       process the request.
       
      .google.cloud.speech.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
    • hasAudio

      boolean hasAudio()
       Required. The audio data to be recognized.
       
      .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the audio field is set.
    • getAudio

      RecognitionAudio getAudio()
       Required. The audio data to be recognized.
       
      .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The audio.
    • getAudioOrBuilder

      RecognitionAudioOrBuilder getAudioOrBuilder()
       Required. The audio data to be recognized.
       
      .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];