/*
 * Copyright 2026 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!
// NO CHECKED-IN PROTOBUF GENCODE
// source: google/api/visibility.proto
// Protobuf Java Version: 4.33.2

package com.google.api;

@com.google.protobuf.Generated
public final class VisibilityProto extends com.google.protobuf.GeneratedFile {
  private VisibilityProto() {}

  static {
    com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
        com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
        /* major= */ 4,
        /* minor= */ 33,
        /* patch= */ 2,
        /* suffix= */ "",
        "VisibilityProto");
  }

  public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {
    registry.add(com.google.api.VisibilityProto.enumVisibility);
    registry.add(com.google.api.VisibilityProto.valueVisibility);
    registry.add(com.google.api.VisibilityProto.fieldVisibility);
    registry.add(com.google.api.VisibilityProto.messageVisibility);
    registry.add(com.google.api.VisibilityProto.methodVisibility);
    registry.add(com.google.api.VisibilityProto.apiVisibility);
  }

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

  public static final int ENUM_VISIBILITY_FIELD_NUMBER = 72295727;

  /**
   *
   *
   * <pre>
   * See `VisibilityRule`.
   * </pre>
   *
   * <code>extend .google.protobuf.EnumOptions { ... }</code>
   */
  public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
          com.google.protobuf.DescriptorProtos.EnumOptions, com.google.api.VisibilityRule>
      enumVisibility =
          com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
              com.google.api.VisibilityRule.class,
              com.google.api.VisibilityRule.getDefaultInstance());

  public static final int VALUE_VISIBILITY_FIELD_NUMBER = 72295727;

  /**
   *
   *
   * <pre>
   * See `VisibilityRule`.
   * </pre>
   *
   * <code>extend .google.protobuf.EnumValueOptions { ... }</code>
   */
  public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
          com.google.protobuf.DescriptorProtos.EnumValueOptions, com.google.api.VisibilityRule>
      valueVisibility =
          com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
              com.google.api.VisibilityRule.class,
              com.google.api.VisibilityRule.getDefaultInstance());

  public static final int FIELD_VISIBILITY_FIELD_NUMBER = 72295727;

  /**
   *
   *
   * <pre>
   * See `VisibilityRule`.
   * </pre>
   *
   * <code>extend .google.protobuf.FieldOptions { ... }</code>
   */
  public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
          com.google.protobuf.DescriptorProtos.FieldOptions, com.google.api.VisibilityRule>
      fieldVisibility =
          com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
              com.google.api.VisibilityRule.class,
              com.google.api.VisibilityRule.getDefaultInstance());

  public static final int MESSAGE_VISIBILITY_FIELD_NUMBER = 72295727;

  /**
   *
   *
   * <pre>
   * See `VisibilityRule`.
   * </pre>
   *
   * <code>extend .google.protobuf.MessageOptions { ... }</code>
   */
  public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
          com.google.protobuf.DescriptorProtos.MessageOptions, com.google.api.VisibilityRule>
      messageVisibility =
          com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
              com.google.api.VisibilityRule.class,
              com.google.api.VisibilityRule.getDefaultInstance());

  public static final int METHOD_VISIBILITY_FIELD_NUMBER = 72295727;

  /**
   *
   *
   * <pre>
   * See `VisibilityRule`.
   * </pre>
   *
   * <code>extend .google.protobuf.MethodOptions { ... }</code>
   */
  public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
          com.google.protobuf.DescriptorProtos.MethodOptions, com.google.api.VisibilityRule>
      methodVisibility =
          com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
              com.google.api.VisibilityRule.class,
              com.google.api.VisibilityRule.getDefaultInstance());

  public static final int API_VISIBILITY_FIELD_NUMBER = 72295727;

  /**
   *
   *
   * <pre>
   * See `VisibilityRule`.
   * </pre>
   *
   * <code>extend .google.protobuf.ServiceOptions { ... }</code>
   */
  public static final com.google.protobuf.GeneratedMessage.GeneratedExtension<
          com.google.protobuf.DescriptorProtos.ServiceOptions, com.google.api.VisibilityRule>
      apiVisibility =
          com.google.protobuf.GeneratedMessage.newFileScopedGeneratedExtension(
              com.google.api.VisibilityRule.class,
              com.google.api.VisibilityRule.getDefaultInstance());

  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_api_Visibility_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_api_Visibility_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_api_VisibilityRule_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_api_VisibilityRule_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\033google/api/visibility.proto\022\ngoogle.ap"
          + "i\032 google/protobuf/descriptor.proto\"7\n\nV"
          + "isibility\022)\n\005rules\030\001 \003(\0132\032.google.api.Vi"
          + "sibilityRule\"7\n\016VisibilityRule\022\020\n\010select"
          + "or\030\001 \001(\t\022\023\n\013restriction\030\002 \001(\t:T\n\017enum_vi"
          + "sibility\022\034.google.protobuf.EnumOptions\030\257"
          + "\312\274\" \001(\0132\032.google.api.VisibilityRule:Z\n\020v"
          + "alue_visibility\022!.google.protobuf.EnumVa"
          + "lueOptions\030\257\312\274\" \001(\0132\032.google.api.Visibil"
          + "ityRule:V\n\020field_visibility\022\035.google.pro"
          + "tobuf.FieldOptions\030\257\312\274\" \001(\0132\032.google.api"
          + ".VisibilityRule:Z\n\022message_visibility\022\037."
          + "google.protobuf.MessageOptions\030\257\312\274\" \001(\0132"
          + "\032.google.api.VisibilityRule:X\n\021method_vi"
          + "sibility\022\036.google.protobuf.MethodOptions"
          + "\030\257\312\274\" \001(\0132\032.google.api.VisibilityRule:V\n"
          + "\016api_visibility\022\037.google.protobuf.Servic"
          + "eOptions\030\257\312\274\" \001(\0132\032.google.api.Visibilit"
          + "yRuleBk\n\016com.google.apiB\017VisibilityProto"
          + "P\001Z?google.golang.org/genproto/googleapi"
          + "s/api/visibility;visibility\242\002\004GAPIb\006prot"
          + "o3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.protobuf.DescriptorProtos.getDescriptor(),
            });
    internal_static_google_api_Visibility_descriptor = getDescriptor().getMessageType(0);
    internal_static_google_api_Visibility_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_api_Visibility_descriptor,
            new java.lang.String[] {
              "Rules",
            });
    internal_static_google_api_VisibilityRule_descriptor = getDescriptor().getMessageType(1);
    internal_static_google_api_VisibilityRule_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_api_VisibilityRule_descriptor,
            new java.lang.String[] {
              "Selector", "Restriction",
            });
    enumVisibility.internalInit(descriptor.getExtension(0));
    valueVisibility.internalInit(descriptor.getExtension(1));
    fieldVisibility.internalInit(descriptor.getExtension(2));
    messageVisibility.internalInit(descriptor.getExtension(3));
    methodVisibility.internalInit(descriptor.getExtension(4));
    apiVisibility.internalInit(descriptor.getExtension(5));
    descriptor.resolveAllFeaturesImmutable();
    com.google.protobuf.DescriptorProtos.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
