/*
 * 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/api/apikeys/v2/resources.proto

package com.google.api.apikeys.v2;

public final class ResourcesProto {
  private ResourcesProto() {}

  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_api_apikeys_v2_Key_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_api_apikeys_v2_Key_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_api_apikeys_v2_Key_AnnotationsEntry_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_api_apikeys_v2_Key_AnnotationsEntry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_api_apikeys_v2_Restrictions_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_api_apikeys_v2_Restrictions_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_api_apikeys_v2_BrowserKeyRestrictions_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_api_apikeys_v2_BrowserKeyRestrictions_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_api_apikeys_v2_ServerKeyRestrictions_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_api_apikeys_v2_ServerKeyRestrictions_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_api_apikeys_v2_AndroidKeyRestrictions_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_api_apikeys_v2_AndroidKeyRestrictions_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_api_apikeys_v2_AndroidApplication_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_api_apikeys_v2_AndroidApplication_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_api_apikeys_v2_IosKeyRestrictions_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_api_apikeys_v2_IosKeyRestrictions_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_api_apikeys_v2_ApiTarget_descriptor;
  static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_api_apikeys_v2_ApiTarget_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/api/apikeys/v2/resources.proto\022"
          + "\025google.api.apikeys.v2\032\037google/api/field"
          + "_behavior.proto\032\031google/api/resource.pro"
          + "to\032\037google/protobuf/timestamp.proto\"\251\004\n\003"
          + "Key\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\022\021\n\003uid\030\005 \001(\tB\004\342A"
          + "\001\003\022\024\n\014display_name\030\002 \001(\t\022\030\n\nkey_string\030\003"
          + " \001(\tB\004\342A\001\003\0225\n\013create_time\030\004 \001(\0132\032.google"
          + ".protobuf.TimestampB\004\342A\001\003\0225\n\013update_time"
          + "\030\006 \001(\0132\032.google.protobuf.TimestampB\004\342A\001\003"
          + "\0225\n\013delete_time\030\007 \001(\0132\032.google.protobuf."
          + "TimestampB\004\342A\001\003\022@\n\013annotations\030\010 \003(\0132+.g"
          + "oogle.api.apikeys.v2.Key.AnnotationsEntr"
          + "y\0229\n\014restrictions\030\t \001(\0132#.google.api.api"
          + "keys.v2.Restrictions\022\022\n\004etag\030\013 \001(\tB\004\342A\001\003"
          + "\0322\n\020AnnotationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005val"
          + "ue\030\002 \001(\t:\0028\001:a\352A^\n\032apikeys.googleapis.co"
          + "m/Key\0222projects/{project}/locations/{loc"
          + "ation}/keys/{key}*\004keys2\003keyR\001\001\"\236\003\n\014Rest"
          + "rictions\022Q\n\030browser_key_restrictions\030\001 \001"
          + "(\0132-.google.api.apikeys.v2.BrowserKeyRes"
          + "trictionsH\000\022O\n\027server_key_restrictions\030\002"
          + " \001(\0132,.google.api.apikeys.v2.ServerKeyRe"
          + "strictionsH\000\022Q\n\030android_key_restrictions"
          + "\030\003 \001(\0132-.google.api.apikeys.v2.AndroidKe"
          + "yRestrictionsH\000\022I\n\024ios_key_restrictions\030"
          + "\004 \001(\0132).google.api.apikeys.v2.IosKeyRest"
          + "rictionsH\000\0225\n\013api_targets\030\005 \003(\0132 .google"
          + ".api.apikeys.v2.ApiTargetB\025\n\023client_rest"
          + "rictions\"3\n\026BrowserKeyRestrictions\022\031\n\021al"
          + "lowed_referrers\030\001 \003(\t\",\n\025ServerKeyRestri"
          + "ctions\022\023\n\013allowed_ips\030\001 \003(\t\"a\n\026AndroidKe"
          + "yRestrictions\022G\n\024allowed_applications\030\001 "
          + "\003(\0132).google.api.apikeys.v2.AndroidAppli"
          + "cation\"D\n\022AndroidApplication\022\030\n\020sha1_fin"
          + "gerprint\030\001 \001(\t\022\024\n\014package_name\030\002 \001(\t\"0\n\022"
          + "IosKeyRestrictions\022\032\n\022allowed_bundle_ids"
          + "\030\001 \003(\t\"3\n\tApiTarget\022\017\n\007service\030\001 \001(\t\022\025\n\007"
          + "methods\030\002 \003(\tB\004\342A\001\001B\265\001\n\031com.google.api.a"
          + "pikeys.v2B\016ResourcesProtoP\001Z5cloud.googl"
          + "e.com/go/apikeys/apiv2/apikeyspb;apikeys"
          + "pb\252\002\027Google.Cloud.ApiKeys.V2\312\002\027Google\\Cl"
          + "oud\\ApiKeys\\V2\352\002\032Google::Cloud::ApiKeys:"
          + ":V2b\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.api.ResourceProto.getDescriptor(),
              com.google.protobuf.TimestampProto.getDescriptor(),
            });
    internal_static_google_api_apikeys_v2_Key_descriptor = getDescriptor().getMessageTypes().get(0);
    internal_static_google_api_apikeys_v2_Key_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_api_apikeys_v2_Key_descriptor,
            new java.lang.String[] {
              "Name",
              "Uid",
              "DisplayName",
              "KeyString",
              "CreateTime",
              "UpdateTime",
              "DeleteTime",
              "Annotations",
              "Restrictions",
              "Etag",
            });
    internal_static_google_api_apikeys_v2_Key_AnnotationsEntry_descriptor =
        internal_static_google_api_apikeys_v2_Key_descriptor.getNestedTypes().get(0);
    internal_static_google_api_apikeys_v2_Key_AnnotationsEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_api_apikeys_v2_Key_AnnotationsEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    internal_static_google_api_apikeys_v2_Restrictions_descriptor =
        getDescriptor().getMessageTypes().get(1);
    internal_static_google_api_apikeys_v2_Restrictions_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_api_apikeys_v2_Restrictions_descriptor,
            new java.lang.String[] {
              "BrowserKeyRestrictions",
              "ServerKeyRestrictions",
              "AndroidKeyRestrictions",
              "IosKeyRestrictions",
              "ApiTargets",
              "ClientRestrictions",
            });
    internal_static_google_api_apikeys_v2_BrowserKeyRestrictions_descriptor =
        getDescriptor().getMessageTypes().get(2);
    internal_static_google_api_apikeys_v2_BrowserKeyRestrictions_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_api_apikeys_v2_BrowserKeyRestrictions_descriptor,
            new java.lang.String[] {
              "AllowedReferrers",
            });
    internal_static_google_api_apikeys_v2_ServerKeyRestrictions_descriptor =
        getDescriptor().getMessageTypes().get(3);
    internal_static_google_api_apikeys_v2_ServerKeyRestrictions_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_api_apikeys_v2_ServerKeyRestrictions_descriptor,
            new java.lang.String[] {
              "AllowedIps",
            });
    internal_static_google_api_apikeys_v2_AndroidKeyRestrictions_descriptor =
        getDescriptor().getMessageTypes().get(4);
    internal_static_google_api_apikeys_v2_AndroidKeyRestrictions_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_api_apikeys_v2_AndroidKeyRestrictions_descriptor,
            new java.lang.String[] {
              "AllowedApplications",
            });
    internal_static_google_api_apikeys_v2_AndroidApplication_descriptor =
        getDescriptor().getMessageTypes().get(5);
    internal_static_google_api_apikeys_v2_AndroidApplication_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_api_apikeys_v2_AndroidApplication_descriptor,
            new java.lang.String[] {
              "Sha1Fingerprint", "PackageName",
            });
    internal_static_google_api_apikeys_v2_IosKeyRestrictions_descriptor =
        getDescriptor().getMessageTypes().get(6);
    internal_static_google_api_apikeys_v2_IosKeyRestrictions_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_api_apikeys_v2_IosKeyRestrictions_descriptor,
            new java.lang.String[] {
              "AllowedBundleIds",
            });
    internal_static_google_api_apikeys_v2_ApiTarget_descriptor =
        getDescriptor().getMessageTypes().get(7);
    internal_static_google_api_apikeys_v2_ApiTarget_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
            internal_static_google_api_apikeys_v2_ApiTarget_descriptor,
            new java.lang.String[] {
              "Service", "Methods",
            });
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
    registry.add(com.google.api.ResourceProto.resource);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
    com.google.api.FieldBehaviorProto.getDescriptor();
    com.google.api.ResourceProto.getDescriptor();
    com.google.protobuf.TimestampProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
