Interface StreamingTranslateSpeechRequestOrBuilder

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

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

    • hasStreamingConfig

      boolean hasStreamingConfig()
       Provides information to the recognizer that specifies how to process the
       request. The first `StreamingTranslateSpeechRequest` message must contain
       a `streaming_config` message.
       
      .google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechConfig streaming_config = 1;
      Returns:
      Whether the streamingConfig field is set.
    • getStreamingConfig

      StreamingTranslateSpeechConfig getStreamingConfig()
       Provides information to the recognizer that specifies how to process the
       request. The first `StreamingTranslateSpeechRequest` message must contain
       a `streaming_config` message.
       
      .google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechConfig streaming_config = 1;
      Returns:
      The streamingConfig.
    • getStreamingConfigOrBuilder

      StreamingTranslateSpeechConfigOrBuilder getStreamingConfigOrBuilder()
       Provides information to the recognizer that specifies how to process the
       request. The first `StreamingTranslateSpeechRequest` message must contain
       a `streaming_config` message.
       
      .google.cloud.mediatranslation.v1beta1.StreamingTranslateSpeechConfig streaming_config = 1;
    • hasAudioContent

      boolean hasAudioContent()
       The audio data to be translated. Sequential chunks of audio data are sent
       in sequential `StreamingTranslateSpeechRequest` messages. The first
       `StreamingTranslateSpeechRequest` message must not contain
       `audio_content` data and all subsequent `StreamingTranslateSpeechRequest`
       messages must contain `audio_content` data. The audio bytes must be
       encoded as specified in `StreamingTranslateSpeechConfig`. Note: as with
       all bytes fields, protobuffers use a pure binary representation (not
       base64).
       
      bytes audio_content = 2;
      Returns:
      Whether the audioContent field is set.
    • getAudioContent

      com.google.protobuf.ByteString getAudioContent()
       The audio data to be translated. Sequential chunks of audio data are sent
       in sequential `StreamingTranslateSpeechRequest` messages. The first
       `StreamingTranslateSpeechRequest` message must not contain
       `audio_content` data and all subsequent `StreamingTranslateSpeechRequest`
       messages must contain `audio_content` data. The audio bytes must be
       encoded as specified in `StreamingTranslateSpeechConfig`. Note: as with
       all bytes fields, protobuffers use a pure binary representation (not
       base64).
       
      bytes audio_content = 2;
      Returns:
      The audioContent.
    • getStreamingRequestCase