com.google.cloud.speech.v1.StreamingRecognizeRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grpc-google-cloud-speech-v1 Show documentation
Show all versions of grpc-google-cloud-speech-v1 Show documentation
GRPC library for grpc-google-cloud-speech-v1
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/speech/v1/cloud_speech.proto
package com.google.cloud.speech.v1;
public interface StreamingRecognizeRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.speech.v1.StreamingRecognizeRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* Provides information to the recognizer that specifies how to process the
* request. The first `StreamingRecognizeRequest` message must contain a
* `streaming_config` message.
*
*
* optional .google.cloud.speech.v1.StreamingRecognitionConfig streaming_config = 1;
*/
com.google.cloud.speech.v1.StreamingRecognitionConfig getStreamingConfig();
/**
*
* Provides information to the recognizer that specifies how to process the
* request. The first `StreamingRecognizeRequest` message must contain a
* `streaming_config` message.
*
*
* optional .google.cloud.speech.v1.StreamingRecognitionConfig streaming_config = 1;
*/
com.google.cloud.speech.v1.StreamingRecognitionConfigOrBuilder getStreamingConfigOrBuilder();
/**
*
* The audio data to be recognized. Sequential chunks of audio data are sent
* in sequential `StreamingRecognizeRequest` messages. The first
* `StreamingRecognizeRequest` message must not contain `audio_content` data
* and all subsequent `StreamingRecognizeRequest` messages must contain
* `audio_content` data. The audio bytes must be encoded as specified in
* `RecognitionConfig`. Note: as with all bytes fields, protobuffers use a
* pure binary representation (not base64). See
* [audio limits](https://cloud.google.com/speech/limits#content).
*
*
* optional bytes audio_content = 2;
*/
com.google.protobuf.ByteString getAudioContent();
public com.google.cloud.speech.v1.StreamingRecognizeRequest.StreamingRequestCase getStreamingRequestCase();
}