public static final class StreamingRecognitionResult.Builder extends GeneratedMessageV3.Builder<StreamingRecognitionResult.Builder> implements StreamingRecognitionResultOrBuilder
   
   A streaming speech recognition result corresponding to a portion of the audio
 that is currently being processed.
 Protobuf type google.cloud.speech.v1beta1.StreamingRecognitionResult
 
  
  
  
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  Methods
  
  
  addAllAlternatives(Iterable<? extends SpeechRecognitionAlternative> values)
  
    public StreamingRecognitionResult.Builder addAllAlternatives(Iterable<? extends SpeechRecognitionAlternative> values)
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        values | 
        Iterable<? extends com.google.cloud.speech.v1beta1.SpeechRecognitionAlternative>
  | 
      
    
  
  
  
  addAlternatives(SpeechRecognitionAlternative value)
  
    public StreamingRecognitionResult.Builder addAlternatives(SpeechRecognitionAlternative value)
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
  
  
  addAlternatives(SpeechRecognitionAlternative.Builder builderForValue)
  
    public StreamingRecognitionResult.Builder addAlternatives(SpeechRecognitionAlternative.Builder builderForValue)
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
  
  
  addAlternatives(int index, SpeechRecognitionAlternative value)
  
    public StreamingRecognitionResult.Builder addAlternatives(int index, SpeechRecognitionAlternative value)
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
  
  
  addAlternatives(int index, SpeechRecognitionAlternative.Builder builderForValue)
  
    public StreamingRecognitionResult.Builder addAlternatives(int index, SpeechRecognitionAlternative.Builder builderForValue)
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
  
  
  addAlternativesBuilder()
  
    public SpeechRecognitionAlternative.Builder addAlternativesBuilder()
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
  
  addAlternativesBuilder(int index)
  
    public SpeechRecognitionAlternative.Builder addAlternativesBuilder(int index)
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value)
  
    public StreamingRecognitionResult.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  build()
  
    public StreamingRecognitionResult build()
   
  
  
  buildPartial()
  
    public StreamingRecognitionResult buildPartial()
   
  
  
  clear()
  
    public StreamingRecognitionResult.Builder clear()
   
  
  Overrides
  
  
  clearAlternatives()
  
    public StreamingRecognitionResult.Builder clearAlternatives()
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
  
  clearField(Descriptors.FieldDescriptor field)
  
    public StreamingRecognitionResult.Builder clearField(Descriptors.FieldDescriptor field)
   
  
  
  Overrides
  
  
  clearIsFinal()
  
    public StreamingRecognitionResult.Builder clearIsFinal()
   
   Output-only If false, this StreamingRecognitionResult represents an
 interim result that may change. If true, this is the final time the
 speech service will return this particular StreamingRecognitionResult,
 the recognizer will not return any further hypotheses for this portion of
 the transcript and corresponding audio.
 bool is_final = 2;
 
  
  
  clearOneof(Descriptors.OneofDescriptor oneof)
  
    public StreamingRecognitionResult.Builder clearOneof(Descriptors.OneofDescriptor oneof)
   
  
  
  Overrides
  
  
  clearStability()
  
    public StreamingRecognitionResult.Builder clearStability()
   
   Output-only An estimate of the likelihood that the recognizer will not
 change its guess about this interim result. Values range from 0.0
 (completely unstable) to 1.0 (completely stable).
 This field is only provided for interim results (is_final=false).
 The default of 0.0 is a sentinel value indicating stability was not set.
 float stability = 3;
 
  
  
  clone()
  
    public StreamingRecognitionResult.Builder clone()
   
  
  Overrides
  
  
  getAlternatives(int index)
  
    public SpeechRecognitionAlternative getAlternatives(int index)
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  getAlternativesBuilder(int index)
  
    public SpeechRecognitionAlternative.Builder getAlternativesBuilder(int index)
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  getAlternativesBuilderList()
  
    public List<SpeechRecognitionAlternative.Builder> getAlternativesBuilderList()
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
  
  getAlternativesCount()
  
    public int getAlternativesCount()
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        int | 
         | 
      
    
  
  
  getAlternativesList()
  
    public List<SpeechRecognitionAlternative> getAlternativesList()
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
  
  getAlternativesOrBuilder(int index)
  
    public SpeechRecognitionAlternativeOrBuilder getAlternativesOrBuilder(int index)
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  getAlternativesOrBuilderList()
  
    public List<? extends SpeechRecognitionAlternativeOrBuilder> getAlternativesOrBuilderList()
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        List<? extends com.google.cloud.speech.v1beta1.SpeechRecognitionAlternativeOrBuilder> | 
         | 
      
    
  
  
  getDefaultInstanceForType()
  
    public StreamingRecognitionResult getDefaultInstanceForType()
   
  
  
  getDescriptorForType()
  
    public Descriptors.Descriptor getDescriptorForType()
   
  
  Overrides
  
  
  getIsFinal()
  
    public boolean getIsFinal()
   
   Output-only If false, this StreamingRecognitionResult represents an
 interim result that may change. If true, this is the final time the
 speech service will return this particular StreamingRecognitionResult,
 the recognizer will not return any further hypotheses for this portion of
 the transcript and corresponding audio.
 bool is_final = 2;
 
  
  
  getStability()
  
    public float getStability()
   
   Output-only An estimate of the likelihood that the recognizer will not
 change its guess about this interim result. Values range from 0.0
 (completely unstable) to 1.0 (completely stable).
 This field is only provided for interim results (is_final=false).
 The default of 0.0 is a sentinel value indicating stability was not set.
 float stability = 3;
 
  
    
      
        | Returns | 
      
      
        | Type | 
        Description | 
      
      
        float | 
         | 
      
    
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  mergeFrom(StreamingRecognitionResult other)
  
    public StreamingRecognitionResult.Builder mergeFrom(StreamingRecognitionResult other)
   
  
  
  
  
  
    public StreamingRecognitionResult.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  Overrides
  
  
  
  mergeFrom(Message other)
  
    public StreamingRecognitionResult.Builder mergeFrom(Message other)
   
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        other | 
        Message
  | 
      
    
  
  
  Overrides
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields)
  
    public final StreamingRecognitionResult.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides
  
  
  removeAlternatives(int index)
  
    public StreamingRecognitionResult.Builder removeAlternatives(int index)
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        index | 
        int
  | 
      
    
  
  
  
  setAlternatives(int index, SpeechRecognitionAlternative value)
  
    public StreamingRecognitionResult.Builder setAlternatives(int index, SpeechRecognitionAlternative value)
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
  
  
  setAlternatives(int index, SpeechRecognitionAlternative.Builder builderForValue)
  
    public StreamingRecognitionResult.Builder setAlternatives(int index, SpeechRecognitionAlternative.Builder builderForValue)
   
   Output-only May contain one or more recognition hypotheses (up to the
 maximum specified in max_alternatives).
 repeated .google.cloud.speech.v1beta1.SpeechRecognitionAlternative alternatives = 1;
 
 
  
  
  
  setField(Descriptors.FieldDescriptor field, Object value)
  
    public StreamingRecognitionResult.Builder setField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  setIsFinal(boolean value)
  
    public StreamingRecognitionResult.Builder setIsFinal(boolean value)
   
   Output-only If false, this StreamingRecognitionResult represents an
 interim result that may change. If true, this is the final time the
 speech service will return this particular StreamingRecognitionResult,
 the recognizer will not return any further hypotheses for this portion of
 the transcript and corresponding audio.
 bool is_final = 2;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        boolean
  | 
      
    
  
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
  
    public StreamingRecognitionResult.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
   
  
  
  Overrides
  
  
  setStability(float value)
  
    public StreamingRecognitionResult.Builder setStability(float value)
   
   Output-only An estimate of the likelihood that the recognizer will not
 change its guess about this interim result. Values range from 0.0
 (completely unstable) to 1.0 (completely stable).
 This field is only provided for interim results (is_final=false).
 The default of 0.0 is a sentinel value indicating stability was not set.
 float stability = 3;
 
  
    
      
        | Parameter | 
      
      
        | Name | 
        Description | 
      
      
        value | 
        float
  | 
      
    
  
  
  
  setUnknownFields(UnknownFieldSet unknownFields)
  
    public final StreamingRecognitionResult.Builder setUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides