Interface LongRunningRecognizeResponseOrBuilder (4.32.0)

public interface LongRunningRecognizeResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOutputConfig()

public abstract TranscriptOutputConfig getOutputConfig()

Original output config if present in the request.

.google.cloud.speech.v1.TranscriptOutputConfig output_config = 6;

Returns
TypeDescription
TranscriptOutputConfig

The outputConfig.

getOutputConfigOrBuilder()

public abstract TranscriptOutputConfigOrBuilder getOutputConfigOrBuilder()

Original output config if present in the request.

.google.cloud.speech.v1.TranscriptOutputConfig output_config = 6;

Returns
TypeDescription
TranscriptOutputConfigOrBuilder

getOutputError()

public abstract Status getOutputError()

If the transcript output fails this field contains the relevant error.

.google.rpc.Status output_error = 7;

Returns
TypeDescription
com.google.rpc.Status

The outputError.

getOutputErrorOrBuilder()

public abstract StatusOrBuilder getOutputErrorOrBuilder()

If the transcript output fails this field contains the relevant error.

.google.rpc.Status output_error = 7;

Returns
TypeDescription
com.google.rpc.StatusOrBuilder

getRequestId()

public abstract long getRequestId()

The ID associated with the request. This is a unique ID specific only to the given request.

int64 request_id = 9;

Returns
TypeDescription
long

The requestId.

getResults(int index)

public abstract SpeechRecognitionResult getResults(int index)

Sequential list of transcription results corresponding to sequential portions of audio.

repeated .google.cloud.speech.v1.SpeechRecognitionResult results = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
SpeechRecognitionResult

getResultsCount()

public abstract int getResultsCount()

Sequential list of transcription results corresponding to sequential portions of audio.

repeated .google.cloud.speech.v1.SpeechRecognitionResult results = 2;

Returns
TypeDescription
int

getResultsList()

public abstract List<SpeechRecognitionResult> getResultsList()

Sequential list of transcription results corresponding to sequential portions of audio.

repeated .google.cloud.speech.v1.SpeechRecognitionResult results = 2;

Returns
TypeDescription
List<SpeechRecognitionResult>

getResultsOrBuilder(int index)

public abstract SpeechRecognitionResultOrBuilder getResultsOrBuilder(int index)

Sequential list of transcription results corresponding to sequential portions of audio.

repeated .google.cloud.speech.v1.SpeechRecognitionResult results = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
SpeechRecognitionResultOrBuilder

getResultsOrBuilderList()

public abstract List<? extends SpeechRecognitionResultOrBuilder> getResultsOrBuilderList()

Sequential list of transcription results corresponding to sequential portions of audio.

repeated .google.cloud.speech.v1.SpeechRecognitionResult results = 2;

Returns
TypeDescription
List<? extends com.google.cloud.speech.v1.SpeechRecognitionResultOrBuilder>

getSpeechAdaptationInfo()

public abstract SpeechAdaptationInfo getSpeechAdaptationInfo()

Provides information on speech adaptation behavior in response

.google.cloud.speech.v1.SpeechAdaptationInfo speech_adaptation_info = 8;

Returns
TypeDescription
SpeechAdaptationInfo

The speechAdaptationInfo.

getSpeechAdaptationInfoOrBuilder()

public abstract SpeechAdaptationInfoOrBuilder getSpeechAdaptationInfoOrBuilder()

Provides information on speech adaptation behavior in response

.google.cloud.speech.v1.SpeechAdaptationInfo speech_adaptation_info = 8;

Returns
TypeDescription
SpeechAdaptationInfoOrBuilder

getTotalBilledTime()

public abstract Duration getTotalBilledTime()

When available, billed audio seconds for the corresponding request.

.google.protobuf.Duration total_billed_time = 3;

Returns
TypeDescription
Duration

The totalBilledTime.

getTotalBilledTimeOrBuilder()

public abstract DurationOrBuilder getTotalBilledTimeOrBuilder()

When available, billed audio seconds for the corresponding request.

.google.protobuf.Duration total_billed_time = 3;

Returns
TypeDescription
DurationOrBuilder

hasOutputConfig()

public abstract boolean hasOutputConfig()

Original output config if present in the request.

.google.cloud.speech.v1.TranscriptOutputConfig output_config = 6;

Returns
TypeDescription
boolean

Whether the outputConfig field is set.

hasOutputError()

public abstract boolean hasOutputError()

If the transcript output fails this field contains the relevant error.

.google.rpc.Status output_error = 7;

Returns
TypeDescription
boolean

Whether the outputError field is set.

hasSpeechAdaptationInfo()

public abstract boolean hasSpeechAdaptationInfo()

Provides information on speech adaptation behavior in response

.google.cloud.speech.v1.SpeechAdaptationInfo speech_adaptation_info = 8;

Returns
TypeDescription
boolean

Whether the speechAdaptationInfo field is set.

hasTotalBilledTime()

public abstract boolean hasTotalBilledTime()

When available, billed audio seconds for the corresponding request.

.google.protobuf.Duration total_billed_time = 3;

Returns
TypeDescription
boolean

Whether the totalBilledTime field is set.