Interface StreamingRecognizeResponseOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      StreamingRecognizeResponse.EndpointerType getEndpointerType()
      *Output-only* Indicates the type of endpointer event.
      int getEndpointerTypeValue()
      *Output-only* Indicates the type of endpointer event.
      com.google.rpc.Status getError()
      *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
      com.google.rpc.StatusOrBuilder getErrorOrBuilder()
      *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
      int getResultIndex()
      *Output-only* Indicates the lowest index in the `results` array that has changed.
      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.
      int getResultsCount()
      *Output-only* This repeated list contains zero or more results that correspond to consecutive portions of the audio currently being processed.
      List<StreamingRecognitionResult> getResultsList()
      *Output-only* This repeated list contains zero or more results that correspond to consecutive portions of the audio currently being processed.
      StreamingRecognitionResultOrBuilder getResultsOrBuilder​(int index)
      *Output-only* This repeated list contains zero or more results that correspond to consecutive portions of the audio currently being processed.
      List<? extends StreamingRecognitionResultOrBuilder> getResultsOrBuilderList()
      *Output-only* This repeated list contains zero or more results that correspond to consecutive portions of the audio currently being processed.
      boolean hasError()
      *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that specifies the error for the operation.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasError

        boolean hasError()
         *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
         specifies the error for the operation.
         
        .google.rpc.Status error = 1;
      • getError

        com.google.rpc.Status getError()
         *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
         specifies the error for the operation.
         
        .google.rpc.Status error = 1;
      • getErrorOrBuilder

        com.google.rpc.StatusOrBuilder getErrorOrBuilder()
         *Output-only* If set, returns a [google.rpc.Status][google.rpc.Status] message that
         specifies the error for the operation.
         
        .google.rpc.Status error = 1;
      • getResultsList

        List<StreamingRecognitionResult> 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.v1beta1.StreamingRecognitionResult results = 2;
      • getResults

        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.v1beta1.StreamingRecognitionResult results = 2;
      • getResultsCount

        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.v1beta1.StreamingRecognitionResult results = 2;
      • getResultsOrBuilderList

        List<? extends 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.v1beta1.StreamingRecognitionResult results = 2;
      • getResultsOrBuilder

        StreamingRecognitionResultOrBuilder getResultsOrBuilder​(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.v1beta1.StreamingRecognitionResult results = 2;
      • getResultIndex

        int getResultIndex()
         *Output-only* Indicates the lowest index in the `results` array that has
         changed. The repeated `StreamingRecognitionResult` results overwrite past
         results at this index and higher.
         
        int32 result_index = 3;
      • getEndpointerTypeValue

        int getEndpointerTypeValue()
         *Output-only* Indicates the type of endpointer event.
         
        .google.cloud.speech.v1beta1.StreamingRecognizeResponse.EndpointerType endpointer_type = 4;
      • getEndpointerType

        StreamingRecognizeResponse.EndpointerType getEndpointerType()
         *Output-only* Indicates the type of endpointer event.
         
        .google.cloud.speech.v1beta1.StreamingRecognizeResponse.EndpointerType endpointer_type = 4;