com.google.cloud.speech.v1.LongRunningRecognizeResponseOrBuilder 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.4
package com.google.cloud.speech.v1;
public interface LongRunningRecognizeResponseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.cloud.speech.v1.LongRunningRecognizeResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Sequential list of transcription results corresponding to
* sequential portions of audio.
*
*
* repeated .google.cloud.speech.v1.SpeechRecognitionResult results = 2;
*/
java.util.List getResultsList();
/**
*
*
*
* Sequential list of transcription results corresponding to
* sequential portions of audio.
*
*
* repeated .google.cloud.speech.v1.SpeechRecognitionResult results = 2;
*/
com.google.cloud.speech.v1.SpeechRecognitionResult getResults(int index);
/**
*
*
*
* Sequential list of transcription results corresponding to
* sequential portions of audio.
*
*
* repeated .google.cloud.speech.v1.SpeechRecognitionResult results = 2;
*/
int getResultsCount();
/**
*
*
*
* Sequential list of transcription results corresponding to
* sequential portions of audio.
*
*
* repeated .google.cloud.speech.v1.SpeechRecognitionResult results = 2;
*/
java.util.List extends com.google.cloud.speech.v1.SpeechRecognitionResultOrBuilder>
getResultsOrBuilderList();
/**
*
*
*
* Sequential list of transcription results corresponding to
* sequential portions of audio.
*
*
* repeated .google.cloud.speech.v1.SpeechRecognitionResult results = 2;
*/
com.google.cloud.speech.v1.SpeechRecognitionResultOrBuilder getResultsOrBuilder(int index);
/**
*
*
*
* When available, billed audio seconds for the corresponding request.
*
*
* .google.protobuf.Duration total_billed_time = 3;
*
* @return Whether the totalBilledTime field is set.
*/
boolean hasTotalBilledTime();
/**
*
*
*
* When available, billed audio seconds for the corresponding request.
*
*
* .google.protobuf.Duration total_billed_time = 3;
*
* @return The totalBilledTime.
*/
com.google.protobuf.Duration getTotalBilledTime();
/**
*
*
*
* When available, billed audio seconds for the corresponding request.
*
*
* .google.protobuf.Duration total_billed_time = 3;
*/
com.google.protobuf.DurationOrBuilder getTotalBilledTimeOrBuilder();
/**
*
*
*
* Original output config if present in the request.
*
*
* .google.cloud.speech.v1.TranscriptOutputConfig output_config = 6;
*
* @return Whether the outputConfig field is set.
*/
boolean hasOutputConfig();
/**
*
*
*
* Original output config if present in the request.
*
*
* .google.cloud.speech.v1.TranscriptOutputConfig output_config = 6;
*
* @return The outputConfig.
*/
com.google.cloud.speech.v1.TranscriptOutputConfig getOutputConfig();
/**
*
*
*
* Original output config if present in the request.
*
*
* .google.cloud.speech.v1.TranscriptOutputConfig output_config = 6;
*/
com.google.cloud.speech.v1.TranscriptOutputConfigOrBuilder getOutputConfigOrBuilder();
/**
*
*
*
* If the transcript output fails this field contains the relevant error.
*
*
* .google.rpc.Status output_error = 7;
*
* @return Whether the outputError field is set.
*/
boolean hasOutputError();
/**
*
*
*
* If the transcript output fails this field contains the relevant error.
*
*
* .google.rpc.Status output_error = 7;
*
* @return The outputError.
*/
com.google.rpc.Status getOutputError();
/**
*
*
*
* If the transcript output fails this field contains the relevant error.
*
*
* .google.rpc.Status output_error = 7;
*/
com.google.rpc.StatusOrBuilder getOutputErrorOrBuilder();
/**
*
*
*
* Provides information on speech adaptation behavior in response
*
*
* .google.cloud.speech.v1.SpeechAdaptationInfo speech_adaptation_info = 8;
*
* @return Whether the speechAdaptationInfo field is set.
*/
boolean hasSpeechAdaptationInfo();
/**
*
*
*
* Provides information on speech adaptation behavior in response
*
*
* .google.cloud.speech.v1.SpeechAdaptationInfo speech_adaptation_info = 8;
*
* @return The speechAdaptationInfo.
*/
com.google.cloud.speech.v1.SpeechAdaptationInfo getSpeechAdaptationInfo();
/**
*
*
*
* Provides information on speech adaptation behavior in response
*
*
* .google.cloud.speech.v1.SpeechAdaptationInfo speech_adaptation_info = 8;
*/
com.google.cloud.speech.v1.SpeechAdaptationInfoOrBuilder getSpeechAdaptationInfoOrBuilder();
/**
*
*
*
* The ID associated with the request. This is a unique ID specific only to
* the given request.
*
*
* int64 request_id = 9;
*
* @return The requestId.
*/
long getRequestId();
}