/*
 * Copyright 2019 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/v1beta1/cloud_speech.proto

package com.google.cloud.speech.v1beta1;

public final class SpeechProto {
  private SpeechProto() {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
  }

  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1beta1_SyncRecognizeRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1beta1_SyncRecognizeRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1beta1_AsyncRecognizeRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1beta1_AsyncRecognizeRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1beta1_StreamingRecognizeRequest_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1beta1_StreamingRecognizeRequest_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1beta1_StreamingRecognitionConfig_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1beta1_StreamingRecognitionConfig_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1beta1_RecognitionConfig_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1beta1_RecognitionConfig_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1beta1_SpeechContext_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1beta1_SpeechContext_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1beta1_RecognitionAudio_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1beta1_RecognitionAudio_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1beta1_SyncRecognizeResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1beta1_SyncRecognizeResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1beta1_AsyncRecognizeResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1beta1_AsyncRecognizeResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1beta1_AsyncRecognizeMetadata_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1beta1_AsyncRecognizeMetadata_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1beta1_StreamingRecognizeResponse_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1beta1_StreamingRecognizeResponse_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1beta1_StreamingRecognitionResult_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1beta1_StreamingRecognitionResult_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1beta1_SpeechRecognitionResult_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1beta1_SpeechRecognitionResult_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1beta1_SpeechRecognitionAlternative_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1beta1_SpeechRecognitionAlternative_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
    return descriptor;
  }

  private static com.google.protobuf.Descriptors.FileDescriptor descriptor;

  static {
    java.lang.String[] descriptorData = {
      "\n.google/cloud/speech/v1beta1/cloud_spee"
          + "ch.proto\022\033google.cloud.speech.v1beta1\032\034g"
          + "oogle/api/annotations.proto\032#google/long"
          + "running/operations.proto\032\036google/protobu"
          + "f/duration.proto\032\037google/protobuf/timest"
          + "amp.proto\032\027google/rpc/status.proto\"\224\001\n\024S"
          + "yncRecognizeRequest\022>\n\006config\030\001 \001(\0132..go"
          + "ogle.cloud.speech.v1beta1.RecognitionCon"
          + "fig\022<\n\005audio\030\002 \001(\0132-.google.cloud.speech"
          + ".v1beta1.RecognitionAudio\"\225\001\n\025AsyncRecog"
          + "nizeRequest\022>\n\006config\030\001 \001(\0132..google.clo"
          + "ud.speech.v1beta1.RecognitionConfig\022<\n\005a"
          + "udio\030\002 \001(\0132-.google.cloud.speech.v1beta1"
          + ".RecognitionAudio\"\236\001\n\031StreamingRecognize"
          + "Request\022S\n\020streaming_config\030\001 \001(\01327.goog"
          + "le.cloud.speech.v1beta1.StreamingRecogni"
          + "tionConfigH\000\022\027\n\raudio_content\030\002 \001(\014H\000B\023\n"
          + "\021streaming_request\"\217\001\n\032StreamingRecognit"
          + "ionConfig\022>\n\006config\030\001 \001(\0132..google.cloud"
          + ".speech.v1beta1.RecognitionConfig\022\030\n\020sin"
          + "gle_utterance\030\002 \001(\010\022\027\n\017interim_results\030\003"
          + " \001(\010\"\352\002\n\021RecognitionConfig\022N\n\010encoding\030\001"
          + " \001(\0162<.google.cloud.speech.v1beta1.Recog"
          + "nitionConfig.AudioEncoding\022\023\n\013sample_rat"
          + "e\030\002 \001(\005\022\025\n\rlanguage_code\030\003 \001(\t\022\030\n\020max_al"
          + "ternatives\030\004 \001(\005\022\030\n\020profanity_filter\030\005 \001"
          + "(\010\022B\n\016speech_context\030\006 \001(\0132*.google.clou"
          + "d.speech.v1beta1.SpeechContext\"a\n\rAudioE"
          + "ncoding\022\030\n\024ENCODING_UNSPECIFIED\020\000\022\014\n\010LIN"
          + "EAR16\020\001\022\010\n\004FLAC\020\002\022\t\n\005MULAW\020\003\022\007\n\003AMR\020\004\022\n\n"
          + "\006AMR_WB\020\005\" \n\rSpeechContext\022\017\n\007phrases\030\001 "
          + "\003(\t\"D\n\020RecognitionAudio\022\021\n\007content\030\001 \001(\014"
          + "H\000\022\r\n\003uri\030\002 \001(\tH\000B\016\n\014audio_source\"^\n\025Syn"
          + "cRecognizeResponse\022E\n\007results\030\002 \003(\01324.go"
          + "ogle.cloud.speech.v1beta1.SpeechRecognit"
          + "ionResult\"_\n\026AsyncRecognizeResponse\022E\n\007r"
          + "esults\030\002 \003(\01324.google.cloud.speech.v1bet"
          + "a1.SpeechRecognitionResult\"\230\001\n\026AsyncReco"
          + "gnizeMetadata\022\030\n\020progress_percent\030\001 \001(\005\022"
          + ".\n\nstart_time\030\002 \001(\0132\032.google.protobuf.Ti"
          + "mestamp\0224\n\020last_update_time\030\003 \001(\0132\032.goog"
          + "le.protobuf.Timestamp\"\205\003\n\032StreamingRecog"
          + "nizeResponse\022!\n\005error\030\001 \001(\0132\022.google.rpc"
          + ".Status\022H\n\007results\030\002 \003(\01327.google.cloud."
          + "speech.v1beta1.StreamingRecognitionResul"
          + "t\022\024\n\014result_index\030\003 \001(\005\022_\n\017endpointer_ty"
          + "pe\030\004 \001(\0162F.google.cloud.speech.v1beta1.S"
          + "treamingRecognizeResponse.EndpointerType"
          + "\"\202\001\n\016EndpointerType\022 \n\034ENDPOINTER_EVENT_"
          + "UNSPECIFIED\020\000\022\023\n\017START_OF_SPEECH\020\001\022\021\n\rEN"
          + "D_OF_SPEECH\020\002\022\020\n\014END_OF_AUDIO\020\003\022\024\n\020END_O"
          + "F_UTTERANCE\020\004\"\222\001\n\032StreamingRecognitionRe"
          + "sult\022O\n\014alternatives\030\001 \003(\01329.google.clou"
          + "d.speech.v1beta1.SpeechRecognitionAltern"
          + "ative\022\020\n\010is_final\030\002 \001(\010\022\021\n\tstability\030\003 \001"
          + "(\002\"j\n\027SpeechRecognitionResult\022O\n\014alterna"
          + "tives\030\001 \003(\01329.google.cloud.speech.v1beta"
          + "1.SpeechRecognitionAlternative\"F\n\034Speech"
          + "RecognitionAlternative\022\022\n\ntranscript\030\001 \001"
          + "(\t\022\022\n\nconfidence\030\002 \001(\0022\310\003\n\006Speech\022\240\001\n\rSy"
          + "ncRecognize\0221.google.cloud.speech.v1beta"
          + "1.SyncRecognizeRequest\0322.google.cloud.sp"
          + "eech.v1beta1.SyncRecognizeResponse\"(\202\323\344\223"
          + "\002\"\"\035/v1beta1/speech:syncrecognize:\001*\022\216\001\n"
          + "\016AsyncRecognize\0222.google.cloud.speech.v1"
          + "beta1.AsyncRecognizeRequest\032\035.google.lon"
          + "grunning.Operation\")\202\323\344\223\002#\"\036/v1beta1/spe"
          + "ech:asyncrecognize:\001*\022\211\001\n\022StreamingRecog"
          + "nize\0226.google.cloud.speech.v1beta1.Strea"
          + "mingRecognizeRequest\0327.google.cloud.spee"
          + "ch.v1beta1.StreamingRecognizeResponse(\0010"
          + "\001Bs\n\037com.google.cloud.speech.v1beta1B\013Sp"
          + "eechProtoP\001ZAgoogle.golang.org/genproto/"
          + "googleapis/cloud/speech/v1beta1;speechb\006"
          + "proto3"
    };
    com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
        new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
          public com.google.protobuf.ExtensionRegistry assignDescriptors(
              com.google.protobuf.Descriptors.FileDescriptor root) {
            descriptor = root;
            return null;
          }
        };
    com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
        descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          com.google.api.AnnotationsProto.getDescriptor(),
          com.google.longrunning.OperationsProto.getDescriptor(),
          com.google.protobuf.DurationProto.getDescriptor(),
          com.google.protobuf.TimestampProto.getDescriptor(),
          com.google.rpc.StatusProto.getDescriptor(),
        },
        assigner);
    internal_static_google_cloud_speech_v1beta1_SyncRecognizeRequest_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_speech_v1beta1_SyncRecognizeRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1beta1_SyncRecognizeRequest_descriptor,
            new java.lang.String[] {
              "Config", "Audio",
            });
    internal_static_google_cloud_speech_v1beta1_AsyncRecognizeRequest_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_cloud_speech_v1beta1_AsyncRecognizeRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1beta1_AsyncRecognizeRequest_descriptor,
            new java.lang.String[] {
              "Config", "Audio",
            });
    internal_static_google_cloud_speech_v1beta1_StreamingRecognizeRequest_descriptor =
        getDescriptor().getMessageTypes().get(2);
    internal_static_google_cloud_speech_v1beta1_StreamingRecognizeRequest_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1beta1_StreamingRecognizeRequest_descriptor,
            new java.lang.String[] {
              "StreamingConfig", "AudioContent", "StreamingRequest",
            });
    internal_static_google_cloud_speech_v1beta1_StreamingRecognitionConfig_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_google_cloud_speech_v1beta1_StreamingRecognitionConfig_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1beta1_StreamingRecognitionConfig_descriptor,
            new java.lang.String[] {
              "Config", "SingleUtterance", "InterimResults",
            });
    internal_static_google_cloud_speech_v1beta1_RecognitionConfig_descriptor =
        getDescriptor().getMessageTypes().get(4);
    internal_static_google_cloud_speech_v1beta1_RecognitionConfig_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1beta1_RecognitionConfig_descriptor,
            new java.lang.String[] {
              "Encoding",
              "SampleRate",
              "LanguageCode",
              "MaxAlternatives",
              "ProfanityFilter",
              "SpeechContext",
            });
    internal_static_google_cloud_speech_v1beta1_SpeechContext_descriptor =
        getDescriptor().getMessageTypes().get(5);
    internal_static_google_cloud_speech_v1beta1_SpeechContext_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1beta1_SpeechContext_descriptor,
            new java.lang.String[] {
              "Phrases",
            });
    internal_static_google_cloud_speech_v1beta1_RecognitionAudio_descriptor =
        getDescriptor().getMessageTypes().get(6);
    internal_static_google_cloud_speech_v1beta1_RecognitionAudio_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1beta1_RecognitionAudio_descriptor,
            new java.lang.String[] {
              "Content", "Uri", "AudioSource",
            });
    internal_static_google_cloud_speech_v1beta1_SyncRecognizeResponse_descriptor =
        getDescriptor().getMessageTypes().get(7);
    internal_static_google_cloud_speech_v1beta1_SyncRecognizeResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1beta1_SyncRecognizeResponse_descriptor,
            new java.lang.String[] {
              "Results",
            });
    internal_static_google_cloud_speech_v1beta1_AsyncRecognizeResponse_descriptor =
        getDescriptor().getMessageTypes().get(8);
    internal_static_google_cloud_speech_v1beta1_AsyncRecognizeResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1beta1_AsyncRecognizeResponse_descriptor,
            new java.lang.String[] {
              "Results",
            });
    internal_static_google_cloud_speech_v1beta1_AsyncRecognizeMetadata_descriptor =
        getDescriptor().getMessageTypes().get(9);
    internal_static_google_cloud_speech_v1beta1_AsyncRecognizeMetadata_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1beta1_AsyncRecognizeMetadata_descriptor,
            new java.lang.String[] {
              "ProgressPercent", "StartTime", "LastUpdateTime",
            });
    internal_static_google_cloud_speech_v1beta1_StreamingRecognizeResponse_descriptor =
        getDescriptor().getMessageTypes().get(10);
    internal_static_google_cloud_speech_v1beta1_StreamingRecognizeResponse_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1beta1_StreamingRecognizeResponse_descriptor,
            new java.lang.String[] {
              "Error", "Results", "ResultIndex", "EndpointerType",
            });
    internal_static_google_cloud_speech_v1beta1_StreamingRecognitionResult_descriptor =
        getDescriptor().getMessageTypes().get(11);
    internal_static_google_cloud_speech_v1beta1_StreamingRecognitionResult_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1beta1_StreamingRecognitionResult_descriptor,
            new java.lang.String[] {
              "Alternatives", "IsFinal", "Stability",
            });
    internal_static_google_cloud_speech_v1beta1_SpeechRecognitionResult_descriptor =
        getDescriptor().getMessageTypes().get(12);
    internal_static_google_cloud_speech_v1beta1_SpeechRecognitionResult_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1beta1_SpeechRecognitionResult_descriptor,
            new java.lang.String[] {
              "Alternatives",
            });
    internal_static_google_cloud_speech_v1beta1_SpeechRecognitionAlternative_descriptor =
        getDescriptor().getMessageTypes().get(13);
    internal_static_google_cloud_speech_v1beta1_SpeechRecognitionAlternative_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1beta1_SpeechRecognitionAlternative_descriptor,
            new java.lang.String[] {
              "Transcript", "Confidence",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.AnnotationsProto.http);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.AnnotationsProto.getDescriptor();
    com.google.longrunning.OperationsProto.getDescriptor();
    com.google.protobuf.DurationProto.getDescriptor();
    com.google.protobuf.TimestampProto.getDescriptor();
    com.google.rpc.StatusProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
