com.google.cloud.speech.v1.StreamingRecognizeResponseOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grpc-google-cloud-speech-v1 Show documentation
Show all versions of grpc-google-cloud-speech-v1 Show documentation
GRPC library for grpc-google-cloud-speech-v1
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/speech/v1/cloud_speech.proto
package com.google.cloud.speech.v1;
public interface StreamingRecognizeResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.speech.v1.StreamingRecognizeResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* *Output-only* If set, returns a [google.rpc.Status][] message that
* specifies the error for the operation.
*
*
* optional .google.rpc.Status error = 1;
*/
boolean hasError();
/**
*
* *Output-only* If set, returns a [google.rpc.Status][] message that
* specifies the error for the operation.
*
*
* optional .google.rpc.Status error = 1;
*/
com.google.rpc.Status getError();
/**
*
* *Output-only* If set, returns a [google.rpc.Status][] message that
* specifies the error for the operation.
*
*
* optional .google.rpc.Status error = 1;
*/
com.google.rpc.StatusOrBuilder getErrorOrBuilder();
/**
*
* *Output-only* This repeated list contains zero or more results that
* correspond to consecutive portions of the audio currently being processed.
* It contains zero or one `is_final=true` result (the newly settled portion),
* followed by zero or more `is_final=false` results.
*
*
* repeated .google.cloud.speech.v1.StreamingRecognitionResult results = 2;
*/
java.util.List
getResultsList();
/**
*
* *Output-only* This repeated list contains zero or more results that
* correspond to consecutive portions of the audio currently being processed.
* It contains zero or one `is_final=true` result (the newly settled portion),
* followed by zero or more `is_final=false` results.
*
*
* repeated .google.cloud.speech.v1.StreamingRecognitionResult results = 2;
*/
com.google.cloud.speech.v1.StreamingRecognitionResult getResults(int index);
/**
*
* *Output-only* This repeated list contains zero or more results that
* correspond to consecutive portions of the audio currently being processed.
* It contains zero or one `is_final=true` result (the newly settled portion),
* followed by zero or more `is_final=false` results.
*
*
* repeated .google.cloud.speech.v1.StreamingRecognitionResult results = 2;
*/
int getResultsCount();
/**
*
* *Output-only* This repeated list contains zero or more results that
* correspond to consecutive portions of the audio currently being processed.
* It contains zero or one `is_final=true` result (the newly settled portion),
* followed by zero or more `is_final=false` results.
*
*
* repeated .google.cloud.speech.v1.StreamingRecognitionResult results = 2;
*/
java.util.List extends com.google.cloud.speech.v1.StreamingRecognitionResultOrBuilder>
getResultsOrBuilderList();
/**
*
* *Output-only* This repeated list contains zero or more results that
* correspond to consecutive portions of the audio currently being processed.
* It contains zero or one `is_final=true` result (the newly settled portion),
* followed by zero or more `is_final=false` results.
*
*
* repeated .google.cloud.speech.v1.StreamingRecognitionResult results = 2;
*/
com.google.cloud.speech.v1.StreamingRecognitionResultOrBuilder getResultsOrBuilder(
int index);
/**
*
* *Output-only* Indicates the type of speech event.
*
*
* optional .google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4;
*/
int getSpeechEventTypeValue();
/**
*
* *Output-only* Indicates the type of speech event.
*
*
* optional .google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4;
*/
com.google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType getSpeechEventType();
}