/*
 * 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/cloud/audit/audit_log.proto
// Protobuf Java Version: 4.33.2

package com.google.cloud.audit;

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

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

  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_audit_AuditLog_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_cloud_audit_AuditLog_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_audit_AuthenticationInfo_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_cloud_audit_AuthenticationInfo_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_audit_AuthorizationInfo_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_cloud_audit_AuthorizationInfo_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_audit_RequestMetadata_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_cloud_audit_RequestMetadata_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_audit_ResourceLocation_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_cloud_audit_ResourceLocation_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_cloud_audit_ServiceAccountDelegationInfo_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_audit_PolicyViolationInfo_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_cloud_audit_PolicyViolationInfo_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_cloud_audit_OrgPolicyViolationInfo_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_fieldAccessorTable;
  static final com.google.protobuf.Descriptors.Descriptor
      internal_static_google_cloud_audit_ViolationInfo_descriptor;
  static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
      internal_static_google_cloud_audit_ViolationInfo_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/audit/audit_log.proto\022\022go"
          + "ogle.cloud.audit\032\037google/api/field_behav"
          + "ior.proto\032\031google/protobuf/any.proto\032\034go"
          + "ogle/protobuf/struct.proto\032*google/rpc/c"
          + "ontext/attribute_context.proto\032\027google/r"
          + "pc/status.proto\"\306\005\n\010AuditLog\022\024\n\014service_"
          + "name\030\007 \001(\t\022\023\n\013method_name\030\010 \001(\t\022\025\n\rresou"
          + "rce_name\030\013 \001(\t\022?\n\021resource_location\030\024 \001("
          + "\0132$.google.cloud.audit.ResourceLocation\022"
          + "8\n\027resource_original_state\030\023 \001(\0132\027.googl"
          + "e.protobuf.Struct\022\032\n\022num_response_items\030"
          + "\014 \001(\003\022\"\n\006status\030\002 \001(\0132\022.google.rpc.Statu"
          + "s\022C\n\023authentication_info\030\003 \001(\0132&.google."
          + "cloud.audit.AuthenticationInfo\022A\n\022author"
          + "ization_info\030\t \003(\0132%.google.cloud.audit."
          + "AuthorizationInfo\022F\n\025policy_violation_in"
          + "fo\030\031 \001(\0132\'.google.cloud.audit.PolicyViol"
          + "ationInfo\022=\n\020request_metadata\030\004 \001(\0132#.go"
          + "ogle.cloud.audit.RequestMetadata\022(\n\007requ"
          + "est\030\020 \001(\0132\027.google.protobuf.Struct\022)\n\010re"
          + "sponse\030\021 \001(\0132\027.google.protobuf.Struct\022)\n"
          + "\010metadata\030\022 \001(\0132\027.google.protobuf.Struct"
          + "\022.\n\014service_data\030\017 \001(\0132\024.google.protobuf"
          + ".AnyB\002\030\001\"\231\002\n\022AuthenticationInfo\022\027\n\017princ"
          + "ipal_email\030\001 \001(\t\022\032\n\022authority_selector\030\002"
          + " \001(\t\0226\n\025third_party_principal\030\004 \001(\0132\027.go"
          + "ogle.protobuf.Struct\022 \n\030service_account_"
          + "key_name\030\005 \001(\t\022Y\n\037service_account_delega"
          + "tion_info\030\006 \003(\01320.google.cloud.audit.Ser"
          + "viceAccountDelegationInfo\022\031\n\021principal_s"
          + "ubject\030\010 \001(\t\"\330\002\n\021AuthorizationInfo\022\020\n\010re"
          + "source\030\001 \001(\t\022\022\n\npermission\030\002 \001(\t\022\017\n\007gran"
          + "ted\030\003 \001(\010\022J\n\023resource_attributes\030\005 \001(\0132-"
          + ".google.rpc.context.AttributeContext.Res"
          + "ource\022M\n\017permission_type\030\007 \001(\01624.google."
          + "cloud.audit.AuthorizationInfo.Permission"
          + "Type\"q\n\016PermissionType\022\037\n\033PERMISSION_TYP"
          + "E_UNSPECIFIED\020\000\022\016\n\nADMIN_READ\020\001\022\017\n\013ADMIN"
          + "_WRITE\020\002\022\r\n\tDATA_READ\020\003\022\016\n\nDATA_WRITE\020\004\""
          + "\365\001\n\017RequestMetadata\022\021\n\tcaller_ip\030\001 \001(\t\022\""
          + "\n\032caller_supplied_user_agent\030\002 \001(\t\022\026\n\016ca"
          + "ller_network\030\003 \001(\t\022H\n\022request_attributes"
          + "\030\007 \001(\0132,.google.rpc.context.AttributeCon"
          + "text.Request\022I\n\026destination_attributes\030\010"
          + " \001(\0132).google.rpc.context.AttributeConte"
          + "xt.Peer\"I\n\020ResourceLocation\022\031\n\021current_l"
          + "ocations\030\001 \003(\t\022\032\n\022original_locations\030\002 \003"
          + "(\t\"\303\003\n\034ServiceAccountDelegationInfo\022\031\n\021p"
          + "rincipal_subject\030\003 \001(\t\022e\n\025first_party_pr"
          + "incipal\030\001 \001(\0132D.google.cloud.audit.Servi"
          + "ceAccountDelegationInfo.FirstPartyPrinci"
          + "palH\000\022e\n\025third_party_principal\030\002 \001(\0132D.g"
          + "oogle.cloud.audit.ServiceAccountDelegati"
          + "onInfo.ThirdPartyPrincipalH\000\032a\n\023FirstPar"
          + "tyPrincipal\022\027\n\017principal_email\030\001 \001(\t\0221\n\020"
          + "service_metadata\030\002 \001(\0132\027.google.protobuf"
          + ".Struct\032J\n\023ThirdPartyPrincipal\0223\n\022third_"
          + "party_claims\030\001 \001(\0132\027.google.protobuf.Str"
          + "uctB\013\n\tAuthority\"d\n\023PolicyViolationInfo\022"
          + "M\n\031org_policy_violation_info\030\001 \001(\0132*.goo"
          + "gle.cloud.audit.OrgPolicyViolationInfo\"\262"
          + "\002\n\026OrgPolicyViolationInfo\022-\n\007payload\030\001 \001"
          + "(\0132\027.google.protobuf.StructB\003\340A\001\022\032\n\rreso"
          + "urce_type\030\002 \001(\tB\003\340A\001\022X\n\rresource_tags\030\003 "
          + "\003(\0132<.google.cloud.audit.OrgPolicyViolat"
          + "ionInfo.ResourceTagsEntryB\003\340A\001\022>\n\016violat"
          + "ion_info\030\004 \003(\0132!.google.cloud.audit.Viol"
          + "ationInfoB\003\340A\001\0323\n\021ResourceTagsEntry\022\013\n\003k"
          + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\227\002\n\rViolatio"
          + "nInfo\022\027\n\nconstraint\030\001 \001(\tB\003\340A\001\022\032\n\rerror_"
          + "message\030\002 \001(\tB\003\340A\001\022\032\n\rchecked_value\030\003 \001("
          + "\tB\003\340A\001\022F\n\013policy_type\030\004 \001(\0162,.google.clo"
          + "ud.audit.ViolationInfo.PolicyTypeB\003\340A\001\"m"
          + "\n\nPolicyType\022\033\n\027POLICY_TYPE_UNSPECIFIED\020"
          + "\000\022\026\n\022BOOLEAN_CONSTRAINT\020\001\022\023\n\017LIST_CONSTR"
          + "AINT\020\002\022\025\n\021CUSTOM_CONSTRAINT\020\003Be\n\026com.goo"
          + "gle.cloud.auditB\rAuditLogProtoP\001Z7google"
          + ".golang.org/genproto/googleapis/cloud/au"
          + "dit;audit\370\001\001b\006proto3"
    };
    descriptor =
        com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
            descriptorData,
            new com.google.protobuf.Descriptors.FileDescriptor[] {
              com.google.api.FieldBehaviorProto.getDescriptor(),
              com.google.protobuf.AnyProto.getDescriptor(),
              com.google.protobuf.StructProto.getDescriptor(),
              com.google.rpc.context.AttributeContextProto.getDescriptor(),
              com.google.rpc.StatusProto.getDescriptor(),
            });
    internal_static_google_cloud_audit_AuditLog_descriptor = getDescriptor().getMessageType(0);
    internal_static_google_cloud_audit_AuditLog_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_cloud_audit_AuditLog_descriptor,
            new java.lang.String[] {
              "ServiceName",
              "MethodName",
              "ResourceName",
              "ResourceLocation",
              "ResourceOriginalState",
              "NumResponseItems",
              "Status",
              "AuthenticationInfo",
              "AuthorizationInfo",
              "PolicyViolationInfo",
              "RequestMetadata",
              "Request",
              "Response",
              "Metadata",
              "ServiceData",
            });
    internal_static_google_cloud_audit_AuthenticationInfo_descriptor =
        getDescriptor().getMessageType(1);
    internal_static_google_cloud_audit_AuthenticationInfo_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_cloud_audit_AuthenticationInfo_descriptor,
            new java.lang.String[] {
              "PrincipalEmail",
              "AuthoritySelector",
              "ThirdPartyPrincipal",
              "ServiceAccountKeyName",
              "ServiceAccountDelegationInfo",
              "PrincipalSubject",
            });
    internal_static_google_cloud_audit_AuthorizationInfo_descriptor =
        getDescriptor().getMessageType(2);
    internal_static_google_cloud_audit_AuthorizationInfo_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_cloud_audit_AuthorizationInfo_descriptor,
            new java.lang.String[] {
              "Resource", "Permission", "Granted", "ResourceAttributes", "PermissionType",
            });
    internal_static_google_cloud_audit_RequestMetadata_descriptor =
        getDescriptor().getMessageType(3);
    internal_static_google_cloud_audit_RequestMetadata_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_cloud_audit_RequestMetadata_descriptor,
            new java.lang.String[] {
              "CallerIp",
              "CallerSuppliedUserAgent",
              "CallerNetwork",
              "RequestAttributes",
              "DestinationAttributes",
            });
    internal_static_google_cloud_audit_ResourceLocation_descriptor =
        getDescriptor().getMessageType(4);
    internal_static_google_cloud_audit_ResourceLocation_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_cloud_audit_ResourceLocation_descriptor,
            new java.lang.String[] {
              "CurrentLocations", "OriginalLocations",
            });
    internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor =
        getDescriptor().getMessageType(5);
    internal_static_google_cloud_audit_ServiceAccountDelegationInfo_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor,
            new java.lang.String[] {
              "PrincipalSubject", "FirstPartyPrincipal", "ThirdPartyPrincipal", "Authority",
            });
    internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_descriptor =
        internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor.getNestedType(0);
    internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_cloud_audit_ServiceAccountDelegationInfo_FirstPartyPrincipal_descriptor,
            new java.lang.String[] {
              "PrincipalEmail", "ServiceMetadata",
            });
    internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_descriptor =
        internal_static_google_cloud_audit_ServiceAccountDelegationInfo_descriptor.getNestedType(1);
    internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_cloud_audit_ServiceAccountDelegationInfo_ThirdPartyPrincipal_descriptor,
            new java.lang.String[] {
              "ThirdPartyClaims",
            });
    internal_static_google_cloud_audit_PolicyViolationInfo_descriptor =
        getDescriptor().getMessageType(6);
    internal_static_google_cloud_audit_PolicyViolationInfo_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_cloud_audit_PolicyViolationInfo_descriptor,
            new java.lang.String[] {
              "OrgPolicyViolationInfo",
            });
    internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor =
        getDescriptor().getMessageType(7);
    internal_static_google_cloud_audit_OrgPolicyViolationInfo_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor,
            new java.lang.String[] {
              "Payload", "ResourceType", "ResourceTags", "ViolationInfo",
            });
    internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_descriptor =
        internal_static_google_cloud_audit_OrgPolicyViolationInfo_descriptor.getNestedType(0);
    internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_cloud_audit_OrgPolicyViolationInfo_ResourceTagsEntry_descriptor,
            new java.lang.String[] {
              "Key", "Value",
            });
    internal_static_google_cloud_audit_ViolationInfo_descriptor = getDescriptor().getMessageType(8);
    internal_static_google_cloud_audit_ViolationInfo_fieldAccessorTable =
        new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
            internal_static_google_cloud_audit_ViolationInfo_descriptor,
            new java.lang.String[] {
              "Constraint", "ErrorMessage", "CheckedValue", "PolicyType",
            });
    descriptor.resolveAllFeaturesImmutable();
    com.google.api.FieldBehaviorProto.getDescriptor();
    com.google.protobuf.AnyProto.getDescriptor();
    com.google.protobuf.StructProto.getDescriptor();
    com.google.rpc.context.AttributeContextProto.getDescriptor();
    com.google.rpc.StatusProto.getDescriptor();
    com.google.protobuf.ExtensionRegistry registry =
        com.google.protobuf.ExtensionRegistry.newInstance();
    registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
    com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
        descriptor, registry);
  }

  // @@protoc_insertion_point(outer_class_scope)
}
