com.google.cloud.speech.v1p1beta1.LongRunningRecognizeRequestOrBuilder Maven / Gradle / Ivy
/*
* 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/v1p1beta1/cloud_speech.proto
// Protobuf Java Version: 3.25.3
package com.google.cloud.speech.v1p1beta1;
public interface LongRunningRecognizeRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.speech.v1p1beta1.LongRunningRecognizeRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. Provides information to the recognizer that specifies how to
* process the request.
*
*
*
* .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the config field is set.
*/
boolean hasConfig();
/**
*
*
*
* Required. Provides information to the recognizer that specifies how to
* process the request.
*
*
*
* .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The config.
*/
com.google.cloud.speech.v1p1beta1.RecognitionConfig getConfig();
/**
*
*
*
* Required. Provides information to the recognizer that specifies how to
* process the request.
*
*
*
* .google.cloud.speech.v1p1beta1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.cloud.speech.v1p1beta1.RecognitionConfigOrBuilder getConfigOrBuilder();
/**
*
*
*
* Required. The audio data to be recognized.
*
*
*
* .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the audio field is set.
*/
boolean hasAudio();
/**
*
*
*
* Required. The audio data to be recognized.
*
*
*
* .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The audio.
*/
com.google.cloud.speech.v1p1beta1.RecognitionAudio getAudio();
/**
*
*
*
* Required. The audio data to be recognized.
*
*
*
* .google.cloud.speech.v1p1beta1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.cloud.speech.v1p1beta1.RecognitionAudioOrBuilder getAudioOrBuilder();
/**
*
*
*
* Optional. Specifies an optional destination for the recognition results.
*
*
*
* .google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return Whether the outputConfig field is set.
*/
boolean hasOutputConfig();
/**
*
*
*
* Optional. Specifies an optional destination for the recognition results.
*
*
*
* .google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*
* @return The outputConfig.
*/
com.google.cloud.speech.v1p1beta1.TranscriptOutputConfig getOutputConfig();
/**
*
*
*
* Optional. Specifies an optional destination for the recognition results.
*
*
*
* .google.cloud.speech.v1p1beta1.TranscriptOutputConfig output_config = 4 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.cloud.speech.v1p1beta1.TranscriptOutputConfigOrBuilder getOutputConfigOrBuilder();
}