/*
 * Copyright 2020 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/cloud/speech/v2/cloud_speech.proto

package com.google.cloud.speech.v2;

public interface BatchRecognizeResultsOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.cloud.speech.v2.BatchRecognizeResults)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * Sequential list of transcription results corresponding to sequential
   * portions of audio.
   * </pre>
   *
   * <code>repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;</code>
   */
  java.util.List<com.google.cloud.speech.v2.SpeechRecognitionResult> getResultsList();
  /**
   *
   *
   * <pre>
   * Sequential list of transcription results corresponding to sequential
   * portions of audio.
   * </pre>
   *
   * <code>repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;</code>
   */
  com.google.cloud.speech.v2.SpeechRecognitionResult getResults(int index);
  /**
   *
   *
   * <pre>
   * Sequential list of transcription results corresponding to sequential
   * portions of audio.
   * </pre>
   *
   * <code>repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;</code>
   */
  int getResultsCount();
  /**
   *
   *
   * <pre>
   * Sequential list of transcription results corresponding to sequential
   * portions of audio.
   * </pre>
   *
   * <code>repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;</code>
   */
  java.util.List<? extends com.google.cloud.speech.v2.SpeechRecognitionResultOrBuilder>
      getResultsOrBuilderList();
  /**
   *
   *
   * <pre>
   * Sequential list of transcription results corresponding to sequential
   * portions of audio.
   * </pre>
   *
   * <code>repeated .google.cloud.speech.v2.SpeechRecognitionResult results = 1;</code>
   */
  com.google.cloud.speech.v2.SpeechRecognitionResultOrBuilder getResultsOrBuilder(int index);

  /**
   *
   *
   * <pre>
   * Metadata about the recognition.
   * </pre>
   *
   * <code>.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 2;</code>
   *
   * @return Whether the metadata field is set.
   */
  boolean hasMetadata();
  /**
   *
   *
   * <pre>
   * Metadata about the recognition.
   * </pre>
   *
   * <code>.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 2;</code>
   *
   * @return The metadata.
   */
  com.google.cloud.speech.v2.RecognitionResponseMetadata getMetadata();
  /**
   *
   *
   * <pre>
   * Metadata about the recognition.
   * </pre>
   *
   * <code>.google.cloud.speech.v2.RecognitionResponseMetadata metadata = 2;</code>
   */
  com.google.cloud.speech.v2.RecognitionResponseMetadataOrBuilder getMetadataOrBuilder();
}
