/*
 * 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/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\"\242\004\n\003"
          + "Key\022\021\n\004name\030\001 \001(\tB\003\340A\003\022\020\n\003uid\030\005 \001(\tB\003\340A\003"
          + "\022\024\n\014display_name\030\002 \001(\t\022\027\n\nkey_string\030\003 \001"
          + "(\tB\003\340A\003\0224\n\013create_time\030\004 \001(\0132\032.google.pr"
          + "otobuf.TimestampB\003\340A\003\0224\n\013update_time\030\006 \001"
          + "(\0132\032.google.protobuf.TimestampB\003\340A\003\0224\n\013d"
          + "elete_time\030\007 \001(\0132\032.google.protobuf.Times"
          + "tampB\003\340A\003\022@\n\013annotations\030\010 \003(\0132+.google."
          + "api.apikeys.v2.Key.AnnotationsEntry\0229\n\014r"
          + "estrictions\030\t \001(\0132#.google.api.apikeys.v"
          + "2.Restrictions\022\021\n\004etag\030\013 \001(\tB\003\340A\003\0322\n\020Ann"
          + "otationsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001("
          + "\t:\0028\001:a\352A^\n\032apikeys.googleapis.com/Key\0222"
          + "projects/{project}/locations/{location}/"
          + "keys/{key}*\004keys2\003keyR\001\001\"\236\003\n\014Restriction"
          + "s\022Q\n\030browser_key_restrictions\030\001 \001(\0132-.go"
          + "ogle.api.apikeys.v2.BrowserKeyRestrictio"
          + "nsH\000\022O\n\027server_key_restrictions\030\002 \001(\0132,."
          + "google.api.apikeys.v2.ServerKeyRestricti"
          + "onsH\000\022Q\n\030android_key_restrictions\030\003 \001(\0132"
          + "-.google.api.apikeys.v2.AndroidKeyRestri"
          + "ctionsH\000\022I\n\024ios_key_restrictions\030\004 \001(\0132)"
          + ".google.api.apikeys.v2.IosKeyRestriction"
          + "sH\000\0225\n\013api_targets\030\005 \003(\0132 .google.api.ap"
          + "ikeys.v2.ApiTargetB\025\n\023client_restriction"
          + "s\"3\n\026BrowserKeyRestrictions\022\031\n\021allowed_r"
          + "eferrers\030\001 \003(\t\",\n\025ServerKeyRestrictions\022"
          + "\023\n\013allowed_ips\030\001 \003(\t\"a\n\026AndroidKeyRestri"
          + "ctions\022G\n\024allowed_applications\030\001 \003(\0132).g"
          + "oogle.api.apikeys.v2.AndroidApplication\""
          + "D\n\022AndroidApplication\022\030\n\020sha1_fingerprin"
          + "t\030\001 \001(\t\022\024\n\014package_name\030\002 \001(\t\"0\n\022IosKeyR"
          + "estrictions\022\032\n\022allowed_bundle_ids\030\001 \003(\t\""
          + "2\n\tApiTarget\022\017\n\007service\030\001 \001(\t\022\024\n\007methods"
          + "\030\002 \003(\tB\003\340A\001B\265\001\n\031com.google.api.apikeys.v"
          + "2B\016ResourcesProtoP\001Z5cloud.google.com/go"
          + "/apikeys/apiv2/apikeyspb;apikeyspb\252\002\027Goo"
          + "gle.Cloud.ApiKeys.V2\312\002\027Google\\Cloud\\ApiK"
          + "eys\\V2\352\002\032Google::Cloud::ApiKeys::V2b\006pro"
          + "to3"
    };
    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)
}
