All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.speech.v1.StreamingRecognizeRequestOrBuilder Maven / Gradle / Ivy

There is a newer version: 4.44.0
Show newest version
/*
 * Copyright 2024 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/speech/v1/cloud_speech.proto

// Protobuf Java Version: 3.25.2
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.
   * 
* * .google.cloud.speech.v1.StreamingRecognitionConfig streaming_config = 1; * * @return Whether the streamingConfig field is set. */ boolean hasStreamingConfig(); /** * * *
   * Provides information to the recognizer that specifies how to process the
   * request. The first `StreamingRecognizeRequest` message must contain a
   * `streaming_config`  message.
   * 
* * .google.cloud.speech.v1.StreamingRecognitionConfig streaming_config = 1; * * @return The streamingConfig. */ 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.
   * 
* * .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, proto buffers use a
   * pure binary representation (not base64). See
   * [content limits](https://cloud.google.com/speech-to-text/quotas#content).
   * 
* * bytes audio_content = 2; * * @return Whether the audioContent field is set. */ boolean hasAudioContent(); /** * * *
   * 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, proto buffers use a
   * pure binary representation (not base64). See
   * [content limits](https://cloud.google.com/speech-to-text/quotas#content).
   * 
* * bytes audio_content = 2; * * @return The audioContent. */ com.google.protobuf.ByteString getAudioContent(); com.google.cloud.speech.v1.StreamingRecognizeRequest.StreamingRequestCase getStreamingRequestCase(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy