/*
 * Copyright 2023 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/v1p1beta1/resource.proto

package com.google.cloud.speech.v1p1beta1;

public final class SpeechResourceProto {
  private SpeechResourceProto() {}

  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_v1p1beta1_CustomClass_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1p1beta1_CustomClass_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1p1beta1_CustomClass_ClassItem_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1p1beta1_CustomClass_ClassItem_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1p1beta1_PhraseSet_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1p1beta1_PhraseSet_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1p1beta1_PhraseSet_Phrase_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1p1beta1_PhraseSet_Phrase_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1p1beta1_SpeechAdaptation_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1p1beta1_SpeechAdaptation_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1p1beta1_SpeechAdaptation_ABNFGrammar_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1p1beta1_SpeechAdaptation_ABNFGrammar_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1p1beta1_TranscriptNormalization_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1p1beta1_TranscriptNormalization_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_speech_v1p1beta1_TranscriptNormalization_Entry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_cloud_speech_v1p1beta1_TranscriptNormalization_Entry_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/v1p1beta1/resource"
          + ".proto\022\035google.cloud.speech.v1p1beta1\032\031g"
          + "oogle/api/resource.proto\"\203\002\n\013CustomClass"
          + "\022\014\n\004name\030\001 \001(\t\022\027\n\017custom_class_id\030\002 \001(\t\022"
          + "C\n\005items\030\003 \003(\01324.google.cloud.speech.v1p"
          + "1beta1.CustomClass.ClassItem\032\032\n\tClassIte"
          + "m\022\r\n\005value\030\001 \001(\t:l\352Ai\n!speech.googleapis"
          + ".com/CustomClass\022Dprojects/{project}/loc"
          + "ations/{location}/customClasses/{custom_"
          + "class}\"\371\001\n\tPhraseSet\022\014\n\004name\030\001 \001(\t\022@\n\007ph"
          + "rases\030\002 \003(\0132/.google.cloud.speech.v1p1be"
          + "ta1.PhraseSet.Phrase\022\r\n\005boost\030\004 \001(\002\032&\n\006P"
          + "hrase\022\r\n\005value\030\001 \001(\t\022\r\n\005boost\030\002 \001(\002:e\352Ab"
          + "\n\037speech.googleapis.com/PhraseSet\022?proje"
          + "cts/{project}/locations/{location}/phras"
          + "eSets/{phrase_set}\"\322\002\n\020SpeechAdaptation\022"
          + "=\n\013phrase_sets\030\001 \003(\0132(.google.cloud.spee"
          + "ch.v1p1beta1.PhraseSet\022C\n\025phrase_set_ref"
          + "erences\030\002 \003(\tB$\372A!\n\037speech.googleapis.co"
          + "m/PhraseSet\022B\n\016custom_classes\030\003 \003(\0132*.go"
          + "ogle.cloud.speech.v1p1beta1.CustomClass\022"
          + "Q\n\014abnf_grammar\030\004 \001(\0132;.google.cloud.spe"
          + "ech.v1p1beta1.SpeechAdaptation.ABNFGramm"
          + "ar\032#\n\013ABNFGrammar\022\024\n\014abnf_strings\030\001 \003(\t\""
          + "\252\001\n\027TranscriptNormalization\022M\n\007entries\030\001"
          + " \003(\0132<.google.cloud.speech.v1p1beta1.Tra"
          + "nscriptNormalization.Entry\032@\n\005Entry\022\016\n\006s"
          + "earch\030\001 \001(\t\022\017\n\007replace\030\002 \001(\t\022\026\n\016case_sen"
          + "sitive\030\003 \001(\010B~\n!com.google.cloud.speech."
          + "v1p1beta1B\023SpeechResourceProtoP\001Z9cloud."
          + "google.com/go/speech/apiv1p1beta1/speech"
          + "pb;speechpb\370\001\001\242\002\003GCSb\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.ResourceProto.getDescriptor(),
            });
    internal_static_google_cloud_speech_v1p1beta1_CustomClass_descriptor =
        getDescriptor().getMessageTypes().get(0);
    internal_static_google_cloud_speech_v1p1beta1_CustomClass_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1p1beta1_CustomClass_descriptor,
            new java.lang.String[] {
              "Name", "CustomClassId", "Items",
            });
    internal_static_google_cloud_speech_v1p1beta1_CustomClass_ClassItem_descriptor =
        internal_static_google_cloud_speech_v1p1beta1_CustomClass_descriptor
            .getNestedTypes()
            .get(0);
    internal_static_google_cloud_speech_v1p1beta1_CustomClass_ClassItem_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1p1beta1_CustomClass_ClassItem_descriptor,
            new java.lang.String[] {
              "Value",
            });
    internal_static_google_cloud_speech_v1p1beta1_PhraseSet_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_cloud_speech_v1p1beta1_PhraseSet_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1p1beta1_PhraseSet_descriptor,
            new java.lang.String[] {
              "Name", "Phrases", "Boost",
            });
    internal_static_google_cloud_speech_v1p1beta1_PhraseSet_Phrase_descriptor =
        internal_static_google_cloud_speech_v1p1beta1_PhraseSet_descriptor.getNestedTypes().get(0);
    internal_static_google_cloud_speech_v1p1beta1_PhraseSet_Phrase_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1p1beta1_PhraseSet_Phrase_descriptor,
            new java.lang.String[] {
              "Value", "Boost",
            });
    internal_static_google_cloud_speech_v1p1beta1_SpeechAdaptation_descriptor =
        getDescriptor().getMessageTypes().get(2);
    internal_static_google_cloud_speech_v1p1beta1_SpeechAdaptation_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1p1beta1_SpeechAdaptation_descriptor,
            new java.lang.String[] {
              "PhraseSets", "PhraseSetReferences", "CustomClasses", "AbnfGrammar",
            });
    internal_static_google_cloud_speech_v1p1beta1_SpeechAdaptation_ABNFGrammar_descriptor =
        internal_static_google_cloud_speech_v1p1beta1_SpeechAdaptation_descriptor
            .getNestedTypes()
            .get(0);
    internal_static_google_cloud_speech_v1p1beta1_SpeechAdaptation_ABNFGrammar_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1p1beta1_SpeechAdaptation_ABNFGrammar_descriptor,
            new java.lang.String[] {
              "AbnfStrings",
            });
    internal_static_google_cloud_speech_v1p1beta1_TranscriptNormalization_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_google_cloud_speech_v1p1beta1_TranscriptNormalization_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1p1beta1_TranscriptNormalization_descriptor,
            new java.lang.String[] {
              "Entries",
            });
    internal_static_google_cloud_speech_v1p1beta1_TranscriptNormalization_Entry_descriptor =
        internal_static_google_cloud_speech_v1p1beta1_TranscriptNormalization_descriptor
            .getNestedTypes()
            .get(0);
    internal_static_google_cloud_speech_v1p1beta1_TranscriptNormalization_Entry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_cloud_speech_v1p1beta1_TranscriptNormalization_Entry_descriptor,
            new java.lang.String[] {
              "Search", "Replace", "CaseSensitive",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.ResourceProto.resource);
    registry.add(com.google.api.ResourceProto.resourceReference);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.ResourceProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
