// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/api/resource.proto

package com.google.api;

public final class ResourceProto {
  private ResourceProto() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
    registry.add(ResourceProto.resourceReference);
    registry.add(ResourceProto.resourceDefinition);
    registry.add(ResourceProto.resource);
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public static final int RESOURCE_REFERENCE_FIELD_NUMBER = 1055;
  /**
   * <pre>
   * An annotation that describes a resource reference, see
   * [ResourceReference][].
   * </pre>
   *
   * <code>extend .google.protobuf.FieldOptions { ... }</code>
   */
  public static final
    com.google.protobuf.GeneratedMessage.GeneratedExtension<
      com.google.protobuf.DescriptorProtos.FieldOptions,
      com.google.api.ResourceReference> resourceReference = com.google.protobuf.GeneratedMessage
          .newFileScopedGeneratedExtension(
        com.google.api.ResourceReference.class,
        com.google.api.ResourceReference.getDefaultInstance());
  public static final int RESOURCE_DEFINITION_FIELD_NUMBER = 1053;
  /**
   * <pre>
   * An annotation that describes a resource definition without a corresponding
   * message; see [ResourceDescriptor][].
   * </pre>
   *
   * <code>extend .google.protobuf.FileOptions { ... }</code>
   */
  public static final
    com.google.protobuf.GeneratedMessage.GeneratedExtension<
      com.google.protobuf.DescriptorProtos.FileOptions,
      java.util.List<com.google.api.ResourceDescriptor>> resourceDefinition = com.google.protobuf.GeneratedMessage
          .newFileScopedGeneratedExtension(
        com.google.api.ResourceDescriptor.class,
        com.google.api.ResourceDescriptor.getDefaultInstance());
  public static final int RESOURCE_FIELD_NUMBER = 1053;
  /**
   * <pre>
   * An annotation that describes a resource definition, see
   * [ResourceDescriptor][].
   * </pre>
   *
   * <code>extend .google.protobuf.MessageOptions { ... }</code>
   */
  public static final
    com.google.protobuf.GeneratedMessage.GeneratedExtension<
      com.google.protobuf.DescriptorProtos.MessageOptions,
      com.google.api.ResourceDescriptor> resource = com.google.protobuf.GeneratedMessage
          .newFileScopedGeneratedExtension(
        com.google.api.ResourceDescriptor.class,
        com.google.api.ResourceDescriptor.getDefaultInstance());
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_google_api_ResourceDescriptor_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_api_ResourceDescriptor_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
    internal_static_google_api_ResourceReference_descriptor;
  static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_google_api_ResourceReference_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    String[] descriptorData = {
      "\n\031google/api/resource.proto\022\ngoogle.api\032" +
      " google/protobuf/descriptor.proto\"\377\001\n\022Re" +
      "sourceDescriptor\022\014\n\004type\030\001 \001(\t\022\017\n\007patter" +
      "n\030\002 \003(\t\022\022\n\nname_field\030\003 \001(\t\0227\n\007history\030\004" +
      " \001(\0162&.google.api.ResourceDescriptor.His" +
      "tory\022\016\n\006plural\030\005 \001(\t\022\020\n\010singular\030\006 \001(\t\"[" +
      "\n\007History\022\027\n\023HISTORY_UNSPECIFIED\020\000\022\035\n\031OR" +
      "IGINALLY_SINGLE_PATTERN\020\001\022\030\n\024FUTURE_MULT" +
      "I_PATTERN\020\002\"5\n\021ResourceReference\022\014\n\004type" +
      "\030\001 \001(\t\022\022\n\nchild_type\030\002 \001(\t:Y\n\022resource_r" +
      "eference\022\035.google.protobuf.FieldOptions\030" +
      "\237\010 \001(\0132\035.google.api.ResourceReference:Z\n" +
      "\023resource_definition\022\034.google.protobuf.F" +
      "ileOptions\030\235\010 \003(\0132\036.google.api.ResourceD" +
      "escriptor:R\n\010resource\022\037.google.protobuf." +
      "MessageOptions\030\235\010 \001(\0132\036.google.api.Resou" +
      "rceDescriptorBn\n\016com.google.apiB\rResourc" +
      "eProtoP\001ZAgoogle.golang.org/genproto/goo" +
      "gleapis/api/annotations;annotations\370\001\001\242\002" +
      "\004GAPIb\006proto3"
    };
    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.protobuf.DescriptorProtos.getDescriptor(),
        }, assigner);
    internal_static_google_api_ResourceDescriptor_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_google_api_ResourceDescriptor_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_google_api_ResourceDescriptor_descriptor,
        new String[] { "Type", "Pattern", "NameField", "History", "Plural", "Singular", });
    internal_static_google_api_ResourceReference_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_google_api_ResourceReference_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_google_api_ResourceReference_descriptor,
        new String[] { "Type", "ChildType", });
    resourceReference.internalInit(descriptor.getExtensions().get(0));
    resourceDefinition.internalInit(descriptor.getExtensions().get(1));
    resource.internalInit(descriptor.getExtensions().get(2));
    com.google.protobuf.DescriptorProtos.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
