com.google.cloud.speech.v1.RecognizeRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-speech-v1 Show documentation
Show all versions of proto-google-cloud-speech-v1 Show documentation
PROTO library for proto-google-cloud-speech-v1
/*
* 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.3
package com.google.cloud.speech.v1;
public interface RecognizeRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.speech.v1.RecognizeRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* 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];
*
*
* @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.v1.RecognitionConfig config = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The config.
*/
com.google.cloud.speech.v1.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];
*
*/
com.google.cloud.speech.v1.RecognitionConfigOrBuilder getConfigOrBuilder();
/**
*
*
*
* Required. The audio data to be recognized.
*
*
*
* .google.cloud.speech.v1.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.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The audio.
*/
com.google.cloud.speech.v1.RecognitionAudio getAudio();
/**
*
*
*
* Required. The audio data to be recognized.
*
*
*
* .google.cloud.speech.v1.RecognitionAudio audio = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.cloud.speech.v1.RecognitionAudioOrBuilder getAudioOrBuilder();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy