All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.cloud.speech.v1.StreamingRecognizeResponseOrBuilder Maven / Gradle / Ivy

There is a newer version: 4.44.0
Show newest version
// 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.
   * 
* * .google.rpc.Status error = 1; */ boolean hasError(); /** *
   * *Output-only* If set, returns a [google.rpc.Status][] message that
   * specifies the error for the operation.
   * 
* * .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.
   * 
* * .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 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.
   * 
* * .google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; */ int getSpeechEventTypeValue(); /** *
   * *Output-only* Indicates the type of speech event.
   * 
* * .google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType speech_event_type = 4; */ com.google.cloud.speech.v1.StreamingRecognizeResponse.SpeechEventType getSpeechEventType(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy