...

Source file src/google.golang.org/genproto/googleapis/api/error_reason/error_reason.pb.go

Documentation: google.golang.org/genproto/googleapis/api/error_reason

     1  // Copyright 2024 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v4.24.4
    19  // source: google/api/error_reason.proto
    20  
    21  package error_reason
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    28  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    29  )
    30  
    31  const (
    32  	// Verify that this generated code is sufficiently up-to-date.
    33  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    34  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    36  )
    37  
    38  // Defines the supported values for `google.rpc.ErrorInfo.reason` for the
    39  // `googleapis.com` error domain. This error domain is reserved for [Service
    40  // Infrastructure](https://cloud.google.com/service-infrastructure/docs/overview).
    41  // For each error info of this domain, the metadata key "service" refers to the
    42  // logical identifier of an API service, such as "pubsub.googleapis.com". The
    43  // "consumer" refers to the entity that consumes an API Service. It typically is
    44  // a Google project that owns the client application or the server resource,
    45  // such as "projects/123". Other metadata keys are specific to each error
    46  // reason. For more information, see the definition of the specific error
    47  // reason.
    48  type ErrorReason int32
    49  
    50  const (
    51  	// Do not use this default value.
    52  	ErrorReason_ERROR_REASON_UNSPECIFIED ErrorReason = 0
    53  	// The request is calling a disabled service for a consumer.
    54  	//
    55  	// Example of an ErrorInfo when the consumer "projects/123" contacting
    56  	// "pubsub.googleapis.com" service which is disabled:
    57  	//
    58  	//	{ "reason": "SERVICE_DISABLED",
    59  	//	  "domain": "googleapis.com",
    60  	//	  "metadata": {
    61  	//	    "consumer": "projects/123",
    62  	//	    "service": "pubsub.googleapis.com"
    63  	//	  }
    64  	//	}
    65  	//
    66  	// This response indicates the "pubsub.googleapis.com" has been disabled in
    67  	// "projects/123".
    68  	ErrorReason_SERVICE_DISABLED ErrorReason = 1
    69  	// The request whose associated billing account is disabled.
    70  	//
    71  	// Example of an ErrorInfo when the consumer "projects/123" fails to contact
    72  	// "pubsub.googleapis.com" service because the associated billing account is
    73  	// disabled:
    74  	//
    75  	//	{ "reason": "BILLING_DISABLED",
    76  	//	  "domain": "googleapis.com",
    77  	//	  "metadata": {
    78  	//	    "consumer": "projects/123",
    79  	//	    "service": "pubsub.googleapis.com"
    80  	//	  }
    81  	//	}
    82  	//
    83  	// This response indicates the billing account associated has been disabled.
    84  	ErrorReason_BILLING_DISABLED ErrorReason = 2
    85  	// The request is denied because the provided [API
    86  	// key](https://cloud.google.com/docs/authentication/api-keys) is invalid. It
    87  	// may be in a bad format, cannot be found, or has been expired).
    88  	//
    89  	// Example of an ErrorInfo when the request is contacting
    90  	// "storage.googleapis.com" service with an invalid API key:
    91  	//
    92  	//	{ "reason": "API_KEY_INVALID",
    93  	//	  "domain": "googleapis.com",
    94  	//	  "metadata": {
    95  	//	    "service": "storage.googleapis.com",
    96  	//	  }
    97  	//	}
    98  	ErrorReason_API_KEY_INVALID ErrorReason = 3
    99  	// The request is denied because it violates [API key API
   100  	// restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_api_restrictions).
   101  	//
   102  	// Example of an ErrorInfo when the consumer "projects/123" fails to call the
   103  	// "storage.googleapis.com" service because this service is restricted in the
   104  	// API key:
   105  	//
   106  	//	{ "reason": "API_KEY_SERVICE_BLOCKED",
   107  	//	  "domain": "googleapis.com",
   108  	//	  "metadata": {
   109  	//	    "consumer": "projects/123",
   110  	//	    "service": "storage.googleapis.com"
   111  	//	  }
   112  	//	}
   113  	ErrorReason_API_KEY_SERVICE_BLOCKED ErrorReason = 4
   114  	// The request is denied because it violates [API key HTTP
   115  	// restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_http_restrictions).
   116  	//
   117  	// Example of an ErrorInfo when the consumer "projects/123" fails to call
   118  	// "storage.googleapis.com" service because the http referrer of the request
   119  	// violates API key HTTP restrictions:
   120  	//
   121  	//	{ "reason": "API_KEY_HTTP_REFERRER_BLOCKED",
   122  	//	  "domain": "googleapis.com",
   123  	//	  "metadata": {
   124  	//	    "consumer": "projects/123",
   125  	//	    "service": "storage.googleapis.com",
   126  	//	  }
   127  	//	}
   128  	ErrorReason_API_KEY_HTTP_REFERRER_BLOCKED ErrorReason = 7
   129  	// The request is denied because it violates [API key IP address
   130  	// restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
   131  	//
   132  	// Example of an ErrorInfo when the consumer "projects/123" fails to call
   133  	// "storage.googleapis.com" service because the caller IP of the request
   134  	// violates API key IP address restrictions:
   135  	//
   136  	//	{ "reason": "API_KEY_IP_ADDRESS_BLOCKED",
   137  	//	  "domain": "googleapis.com",
   138  	//	  "metadata": {
   139  	//	    "consumer": "projects/123",
   140  	//	    "service": "storage.googleapis.com",
   141  	//	  }
   142  	//	}
   143  	ErrorReason_API_KEY_IP_ADDRESS_BLOCKED ErrorReason = 8
   144  	// The request is denied because it violates [API key Android application
   145  	// restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
   146  	//
   147  	// Example of an ErrorInfo when the consumer "projects/123" fails to call
   148  	// "storage.googleapis.com" service because the request from the Android apps
   149  	// violates the API key Android application restrictions:
   150  	//
   151  	//	{ "reason": "API_KEY_ANDROID_APP_BLOCKED",
   152  	//	  "domain": "googleapis.com",
   153  	//	  "metadata": {
   154  	//	    "consumer": "projects/123",
   155  	//	    "service": "storage.googleapis.com"
   156  	//	  }
   157  	//	}
   158  	ErrorReason_API_KEY_ANDROID_APP_BLOCKED ErrorReason = 9
   159  	// The request is denied because it violates [API key iOS application
   160  	// restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions).
   161  	//
   162  	// Example of an ErrorInfo when the consumer "projects/123" fails to call
   163  	// "storage.googleapis.com" service because the request from the iOS apps
   164  	// violates the API key iOS application restrictions:
   165  	//
   166  	//	{ "reason": "API_KEY_IOS_APP_BLOCKED",
   167  	//	  "domain": "googleapis.com",
   168  	//	  "metadata": {
   169  	//	    "consumer": "projects/123",
   170  	//	    "service": "storage.googleapis.com"
   171  	//	  }
   172  	//	}
   173  	ErrorReason_API_KEY_IOS_APP_BLOCKED ErrorReason = 13
   174  	// The request is denied because there is not enough rate quota for the
   175  	// consumer.
   176  	//
   177  	// Example of an ErrorInfo when the consumer "projects/123" fails to contact
   178  	// "pubsub.googleapis.com" service because consumer's rate quota usage has
   179  	// reached the maximum value set for the quota limit
   180  	// "ReadsPerMinutePerProject" on the quota metric
   181  	// "pubsub.googleapis.com/read_requests":
   182  	//
   183  	//	{ "reason": "RATE_LIMIT_EXCEEDED",
   184  	//	  "domain": "googleapis.com",
   185  	//	  "metadata": {
   186  	//	    "consumer": "projects/123",
   187  	//	    "service": "pubsub.googleapis.com",
   188  	//	    "quota_metric": "pubsub.googleapis.com/read_requests",
   189  	//	    "quota_limit": "ReadsPerMinutePerProject"
   190  	//	  }
   191  	//	}
   192  	//
   193  	// Example of an ErrorInfo when the consumer "projects/123" checks quota on
   194  	// the service "dataflow.googleapis.com" and hits the organization quota
   195  	// limit "DefaultRequestsPerMinutePerOrganization" on the metric
   196  	// "dataflow.googleapis.com/default_requests".
   197  	//
   198  	//	{ "reason": "RATE_LIMIT_EXCEEDED",
   199  	//	  "domain": "googleapis.com",
   200  	//	  "metadata": {
   201  	//	    "consumer": "projects/123",
   202  	//	    "service": "dataflow.googleapis.com",
   203  	//	    "quota_metric": "dataflow.googleapis.com/default_requests",
   204  	//	    "quota_limit": "DefaultRequestsPerMinutePerOrganization"
   205  	//	  }
   206  	//	}
   207  	ErrorReason_RATE_LIMIT_EXCEEDED ErrorReason = 5
   208  	// The request is denied because there is not enough resource quota for the
   209  	// consumer.
   210  	//
   211  	// Example of an ErrorInfo when the consumer "projects/123" fails to contact
   212  	// "compute.googleapis.com" service because consumer's resource quota usage
   213  	// has reached the maximum value set for the quota limit "VMsPerProject"
   214  	// on the quota metric "compute.googleapis.com/vms":
   215  	//
   216  	//	{ "reason": "RESOURCE_QUOTA_EXCEEDED",
   217  	//	  "domain": "googleapis.com",
   218  	//	  "metadata": {
   219  	//	    "consumer": "projects/123",
   220  	//	    "service": "compute.googleapis.com",
   221  	//	    "quota_metric": "compute.googleapis.com/vms",
   222  	//	    "quota_limit": "VMsPerProject"
   223  	//	  }
   224  	//	}
   225  	//
   226  	// Example of an ErrorInfo when the consumer "projects/123" checks resource
   227  	// quota on the service "dataflow.googleapis.com" and hits the organization
   228  	// quota limit "jobs-per-organization" on the metric
   229  	// "dataflow.googleapis.com/job_count".
   230  	//
   231  	//	{ "reason": "RESOURCE_QUOTA_EXCEEDED",
   232  	//	  "domain": "googleapis.com",
   233  	//	  "metadata": {
   234  	//	    "consumer": "projects/123",
   235  	//	    "service": "dataflow.googleapis.com",
   236  	//	    "quota_metric": "dataflow.googleapis.com/job_count",
   237  	//	    "quota_limit": "jobs-per-organization"
   238  	//	  }
   239  	//	}
   240  	ErrorReason_RESOURCE_QUOTA_EXCEEDED ErrorReason = 6
   241  	// The request whose associated billing account address is in a tax restricted
   242  	// location, violates the local tax restrictions when creating resources in
   243  	// the restricted region.
   244  	//
   245  	// Example of an ErrorInfo when creating the Cloud Storage Bucket in the
   246  	// container "projects/123" under a tax restricted region
   247  	// "locations/asia-northeast3":
   248  	//
   249  	//	{ "reason": "LOCATION_TAX_POLICY_VIOLATED",
   250  	//	  "domain": "googleapis.com",
   251  	//	  "metadata": {
   252  	//	    "consumer": "projects/123",
   253  	//	    "service": "storage.googleapis.com",
   254  	//	    "location": "locations/asia-northeast3"
   255  	//	  }
   256  	//	}
   257  	//
   258  	// This response indicates creating the Cloud Storage Bucket in
   259  	// "locations/asia-northeast3" violates the location tax restriction.
   260  	ErrorReason_LOCATION_TAX_POLICY_VIOLATED ErrorReason = 10
   261  	// The request is denied because the caller does not have required permission
   262  	// on the user project "projects/123" or the user project is invalid. For more
   263  	// information, check the [userProject System
   264  	// Parameters](https://cloud.google.com/apis/docs/system-parameters).
   265  	//
   266  	// Example of an ErrorInfo when the caller is calling Cloud Storage service
   267  	// with insufficient permissions on the user project:
   268  	//
   269  	//	{ "reason": "USER_PROJECT_DENIED",
   270  	//	  "domain": "googleapis.com",
   271  	//	  "metadata": {
   272  	//	    "consumer": "projects/123",
   273  	//	    "service": "storage.googleapis.com"
   274  	//	  }
   275  	//	}
   276  	ErrorReason_USER_PROJECT_DENIED ErrorReason = 11
   277  	// The request is denied because the consumer "projects/123" is suspended due
   278  	// to Terms of Service(Tos) violations. Check [Project suspension
   279  	// guidelines](https://cloud.google.com/resource-manager/docs/project-suspension-guidelines)
   280  	// for more information.
   281  	//
   282  	// Example of an ErrorInfo when calling Cloud Storage service with the
   283  	// suspended consumer "projects/123":
   284  	//
   285  	//	{ "reason": "CONSUMER_SUSPENDED",
   286  	//	  "domain": "googleapis.com",
   287  	//	  "metadata": {
   288  	//	    "consumer": "projects/123",
   289  	//	    "service": "storage.googleapis.com"
   290  	//	  }
   291  	//	}
   292  	ErrorReason_CONSUMER_SUSPENDED ErrorReason = 12
   293  	// The request is denied because the associated consumer is invalid. It may be
   294  	// in a bad format, cannot be found, or have been deleted.
   295  	//
   296  	// Example of an ErrorInfo when calling Cloud Storage service with the
   297  	// invalid consumer "projects/123":
   298  	//
   299  	//	{ "reason": "CONSUMER_INVALID",
   300  	//	  "domain": "googleapis.com",
   301  	//	  "metadata": {
   302  	//	    "consumer": "projects/123",
   303  	//	    "service": "storage.googleapis.com"
   304  	//	  }
   305  	//	}
   306  	ErrorReason_CONSUMER_INVALID ErrorReason = 14
   307  	// The request is denied because it violates [VPC Service
   308  	// Controls](https://cloud.google.com/vpc-service-controls/docs/overview).
   309  	// The 'uid' field is a random generated identifier that customer can use it
   310  	// to search the audit log for a request rejected by VPC Service Controls. For
   311  	// more information, please refer [VPC Service Controls
   312  	// Troubleshooting](https://cloud.google.com/vpc-service-controls/docs/troubleshooting#unique-id)
   313  	//
   314  	// Example of an ErrorInfo when the consumer "projects/123" fails to call
   315  	// Cloud Storage service because the request is prohibited by the VPC Service
   316  	// Controls.
   317  	//
   318  	//	{ "reason": "SECURITY_POLICY_VIOLATED",
   319  	//	  "domain": "googleapis.com",
   320  	//	  "metadata": {
   321  	//	    "uid": "123456789abcde",
   322  	//	    "consumer": "projects/123",
   323  	//	    "service": "storage.googleapis.com"
   324  	//	  }
   325  	//	}
   326  	ErrorReason_SECURITY_POLICY_VIOLATED ErrorReason = 15
   327  	// The request is denied because the provided access token has expired.
   328  	//
   329  	// Example of an ErrorInfo when the request is calling Cloud Storage service
   330  	// with an expired access token:
   331  	//
   332  	//	{ "reason": "ACCESS_TOKEN_EXPIRED",
   333  	//	  "domain": "googleapis.com",
   334  	//	  "metadata": {
   335  	//	    "service": "storage.googleapis.com",
   336  	//	    "method": "google.storage.v1.Storage.GetObject"
   337  	//	  }
   338  	//	}
   339  	ErrorReason_ACCESS_TOKEN_EXPIRED ErrorReason = 16
   340  	// The request is denied because the provided access token doesn't have at
   341  	// least one of the acceptable scopes required for the API. Please check
   342  	// [OAuth 2.0 Scopes for Google
   343  	// APIs](https://developers.google.com/identity/protocols/oauth2/scopes) for
   344  	// the list of the OAuth 2.0 scopes that you might need to request to access
   345  	// the API.
   346  	//
   347  	// Example of an ErrorInfo when the request is calling Cloud Storage service
   348  	// with an access token that is missing required scopes:
   349  	//
   350  	//	{ "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT",
   351  	//	  "domain": "googleapis.com",
   352  	//	  "metadata": {
   353  	//	    "service": "storage.googleapis.com",
   354  	//	    "method": "google.storage.v1.Storage.GetObject"
   355  	//	  }
   356  	//	}
   357  	ErrorReason_ACCESS_TOKEN_SCOPE_INSUFFICIENT ErrorReason = 17
   358  	// The request is denied because the account associated with the provided
   359  	// access token is in an invalid state, such as disabled or deleted.
   360  	// For more information, see https://cloud.google.com/docs/authentication.
   361  	//
   362  	// Warning: For privacy reasons, the server may not be able to disclose the
   363  	// email address for some accounts. The client MUST NOT depend on the
   364  	// availability of the `email` attribute.
   365  	//
   366  	// Example of an ErrorInfo when the request is to the Cloud Storage API with
   367  	// an access token that is associated with a disabled or deleted [service
   368  	// account](http://cloud/iam/docs/service-accounts):
   369  	//
   370  	//	{ "reason": "ACCOUNT_STATE_INVALID",
   371  	//	  "domain": "googleapis.com",
   372  	//	  "metadata": {
   373  	//	    "service": "storage.googleapis.com",
   374  	//	    "method": "google.storage.v1.Storage.GetObject",
   375  	//	    "email": "user@123.iam.gserviceaccount.com"
   376  	//	  }
   377  	//	}
   378  	ErrorReason_ACCOUNT_STATE_INVALID ErrorReason = 18
   379  	// The request is denied because the type of the provided access token is not
   380  	// supported by the API being called.
   381  	//
   382  	// Example of an ErrorInfo when the request is to the Cloud Storage API with
   383  	// an unsupported token type.
   384  	//
   385  	//	{ "reason": "ACCESS_TOKEN_TYPE_UNSUPPORTED",
   386  	//	  "domain": "googleapis.com",
   387  	//	  "metadata": {
   388  	//	    "service": "storage.googleapis.com",
   389  	//	    "method": "google.storage.v1.Storage.GetObject"
   390  	//	  }
   391  	//	}
   392  	ErrorReason_ACCESS_TOKEN_TYPE_UNSUPPORTED ErrorReason = 19
   393  	// The request is denied because the request doesn't have any authentication
   394  	// credentials. For more information regarding the supported authentication
   395  	// strategies for Google Cloud APIs, see
   396  	// https://cloud.google.com/docs/authentication.
   397  	//
   398  	// Example of an ErrorInfo when the request is to the Cloud Storage API
   399  	// without any authentication credentials.
   400  	//
   401  	//	{ "reason": "CREDENTIALS_MISSING",
   402  	//	  "domain": "googleapis.com",
   403  	//	  "metadata": {
   404  	//	    "service": "storage.googleapis.com",
   405  	//	    "method": "google.storage.v1.Storage.GetObject"
   406  	//	  }
   407  	//	}
   408  	ErrorReason_CREDENTIALS_MISSING ErrorReason = 20
   409  	// The request is denied because the provided project owning the resource
   410  	// which acts as the [API
   411  	// consumer](https://cloud.google.com/apis/design/glossary#api_consumer) is
   412  	// invalid. It may be in a bad format or empty.
   413  	//
   414  	// Example of an ErrorInfo when the request is to the Cloud Functions API,
   415  	// but the offered resource project in the request in a bad format which can't
   416  	// perform the ListFunctions method.
   417  	//
   418  	//	{ "reason": "RESOURCE_PROJECT_INVALID",
   419  	//	  "domain": "googleapis.com",
   420  	//	  "metadata": {
   421  	//	    "service": "cloudfunctions.googleapis.com",
   422  	//	    "method":
   423  	//	    "google.cloud.functions.v1.CloudFunctionsService.ListFunctions"
   424  	//	  }
   425  	//	}
   426  	ErrorReason_RESOURCE_PROJECT_INVALID ErrorReason = 21
   427  	// The request is denied because the provided session cookie is missing,
   428  	// invalid or failed to decode.
   429  	//
   430  	// Example of an ErrorInfo when the request is calling Cloud Storage service
   431  	// with a SID cookie which can't be decoded.
   432  	//
   433  	//	{ "reason": "SESSION_COOKIE_INVALID",
   434  	//	  "domain": "googleapis.com",
   435  	//	  "metadata": {
   436  	//	    "service": "storage.googleapis.com",
   437  	//	    "method": "google.storage.v1.Storage.GetObject",
   438  	//	    "cookie": "SID"
   439  	//	  }
   440  	//	}
   441  	ErrorReason_SESSION_COOKIE_INVALID ErrorReason = 23
   442  	// The request is denied because the user is from a Google Workspace customer
   443  	// that blocks their users from accessing a particular service.
   444  	//
   445  	// Example scenario: https://support.google.com/a/answer/9197205?hl=en
   446  	//
   447  	// Example of an ErrorInfo when access to Google Cloud Storage service is
   448  	// blocked by the Google Workspace administrator:
   449  	//
   450  	//	{ "reason": "USER_BLOCKED_BY_ADMIN",
   451  	//	  "domain": "googleapis.com",
   452  	//	  "metadata": {
   453  	//	    "service": "storage.googleapis.com",
   454  	//	    "method": "google.storage.v1.Storage.GetObject",
   455  	//	  }
   456  	//	}
   457  	ErrorReason_USER_BLOCKED_BY_ADMIN ErrorReason = 24
   458  	// The request is denied because the resource service usage is restricted
   459  	// by administrators according to the organization policy constraint.
   460  	// For more information see
   461  	// https://cloud.google.com/resource-manager/docs/organization-policy/restricting-services.
   462  	//
   463  	// Example of an ErrorInfo when access to Google Cloud Storage service is
   464  	// restricted by Resource Usage Restriction policy:
   465  	//
   466  	//	{ "reason": "RESOURCE_USAGE_RESTRICTION_VIOLATED",
   467  	//	  "domain": "googleapis.com",
   468  	//	  "metadata": {
   469  	//	    "consumer": "projects/project-123",
   470  	//	    "service": "storage.googleapis.com"
   471  	//	  }
   472  	//	}
   473  	ErrorReason_RESOURCE_USAGE_RESTRICTION_VIOLATED ErrorReason = 25
   474  	// Unimplemented. Do not use.
   475  	//
   476  	// The request is denied because it contains unsupported system parameters in
   477  	// URL query parameters or HTTP headers. For more information,
   478  	// see https://cloud.google.com/apis/docs/system-parameters
   479  	//
   480  	// Example of an ErrorInfo when access "pubsub.googleapis.com" service with
   481  	// a request header of "x-goog-user-ip":
   482  	//
   483  	//	{ "reason": "SYSTEM_PARAMETER_UNSUPPORTED",
   484  	//	  "domain": "googleapis.com",
   485  	//	  "metadata": {
   486  	//	    "service": "pubsub.googleapis.com"
   487  	//	    "parameter": "x-goog-user-ip"
   488  	//	  }
   489  	//	}
   490  	ErrorReason_SYSTEM_PARAMETER_UNSUPPORTED ErrorReason = 26
   491  	// The request is denied because it violates Org Restriction: the requested
   492  	// resource does not belong to allowed organizations specified in
   493  	// "X-Goog-Allowed-Resources" header.
   494  	//
   495  	// Example of an ErrorInfo when accessing a GCP resource that is restricted by
   496  	// Org Restriction for "pubsub.googleapis.com" service.
   497  	//
   498  	//	{
   499  	//	  reason: "ORG_RESTRICTION_VIOLATION"
   500  	//	  domain: "googleapis.com"
   501  	//	  metadata {
   502  	//	    "consumer":"projects/123456"
   503  	//	    "service": "pubsub.googleapis.com"
   504  	//	  }
   505  	//	}
   506  	ErrorReason_ORG_RESTRICTION_VIOLATION ErrorReason = 27
   507  	// The request is denied because "X-Goog-Allowed-Resources" header is in a bad
   508  	// format.
   509  	//
   510  	// Example of an ErrorInfo when
   511  	// accessing "pubsub.googleapis.com" service with an invalid
   512  	// "X-Goog-Allowed-Resources" request header.
   513  	//
   514  	//	{
   515  	//	  reason: "ORG_RESTRICTION_HEADER_INVALID"
   516  	//	  domain: "googleapis.com"
   517  	//	  metadata {
   518  	//	    "consumer":"projects/123456"
   519  	//	    "service": "pubsub.googleapis.com"
   520  	//	  }
   521  	//	}
   522  	ErrorReason_ORG_RESTRICTION_HEADER_INVALID ErrorReason = 28
   523  	// Unimplemented. Do not use.
   524  	//
   525  	// The request is calling a service that is not visible to the consumer.
   526  	//
   527  	// Example of an ErrorInfo when the consumer "projects/123" contacting
   528  	//
   529  	//	"pubsub.googleapis.com" service which is not visible to the consumer.
   530  	//
   531  	//	   { "reason": "SERVICE_NOT_VISIBLE",
   532  	//	     "domain": "googleapis.com",
   533  	//	     "metadata": {
   534  	//	       "consumer": "projects/123",
   535  	//	       "service": "pubsub.googleapis.com"
   536  	//	     }
   537  	//	   }
   538  	//
   539  	// This response indicates the "pubsub.googleapis.com" is not visible to
   540  	// "projects/123" (or it may not exist).
   541  	ErrorReason_SERVICE_NOT_VISIBLE ErrorReason = 29
   542  	// The request is related to a project for which GCP access is suspended.
   543  	//
   544  	// Example of an ErrorInfo when the consumer "projects/123" fails to contact
   545  	// "pubsub.googleapis.com" service because GCP access is suspended:
   546  	//
   547  	//	{ "reason": "GCP_SUSPENDED",
   548  	//	  "domain": "googleapis.com",
   549  	//	  "metadata": {
   550  	//	    "consumer": "projects/123",
   551  	//	    "service": "pubsub.googleapis.com"
   552  	//	  }
   553  	//	}
   554  	//
   555  	// This response indicates the associated GCP account has been suspended.
   556  	ErrorReason_GCP_SUSPENDED ErrorReason = 30
   557  	// The request violates the location policies when creating resources in
   558  	// the restricted region.
   559  	//
   560  	// Example of an ErrorInfo when creating the Cloud Storage Bucket by
   561  	// "projects/123" for service storage.googleapis.com:
   562  	//
   563  	//	{ "reason": "LOCATION_POLICY_VIOLATED",
   564  	//	  "domain": "googleapis.com",
   565  	//	  "metadata": {
   566  	//	    "consumer": "projects/123",
   567  	//	    "service": "storage.googleapis.com",
   568  	//	  }
   569  	//	}
   570  	//
   571  	// This response indicates creating the Cloud Storage Bucket in
   572  	// "locations/asia-northeast3" violates at least one location policy.
   573  	// The troubleshooting guidance is provided in the Help links.
   574  	ErrorReason_LOCATION_POLICY_VIOLATED ErrorReason = 31
   575  )
   576  
   577  // Enum value maps for ErrorReason.
   578  var (
   579  	ErrorReason_name = map[int32]string{
   580  		0:  "ERROR_REASON_UNSPECIFIED",
   581  		1:  "SERVICE_DISABLED",
   582  		2:  "BILLING_DISABLED",
   583  		3:  "API_KEY_INVALID",
   584  		4:  "API_KEY_SERVICE_BLOCKED",
   585  		7:  "API_KEY_HTTP_REFERRER_BLOCKED",
   586  		8:  "API_KEY_IP_ADDRESS_BLOCKED",
   587  		9:  "API_KEY_ANDROID_APP_BLOCKED",
   588  		13: "API_KEY_IOS_APP_BLOCKED",
   589  		5:  "RATE_LIMIT_EXCEEDED",
   590  		6:  "RESOURCE_QUOTA_EXCEEDED",
   591  		10: "LOCATION_TAX_POLICY_VIOLATED",
   592  		11: "USER_PROJECT_DENIED",
   593  		12: "CONSUMER_SUSPENDED",
   594  		14: "CONSUMER_INVALID",
   595  		15: "SECURITY_POLICY_VIOLATED",
   596  		16: "ACCESS_TOKEN_EXPIRED",
   597  		17: "ACCESS_TOKEN_SCOPE_INSUFFICIENT",
   598  		18: "ACCOUNT_STATE_INVALID",
   599  		19: "ACCESS_TOKEN_TYPE_UNSUPPORTED",
   600  		20: "CREDENTIALS_MISSING",
   601  		21: "RESOURCE_PROJECT_INVALID",
   602  		23: "SESSION_COOKIE_INVALID",
   603  		24: "USER_BLOCKED_BY_ADMIN",
   604  		25: "RESOURCE_USAGE_RESTRICTION_VIOLATED",
   605  		26: "SYSTEM_PARAMETER_UNSUPPORTED",
   606  		27: "ORG_RESTRICTION_VIOLATION",
   607  		28: "ORG_RESTRICTION_HEADER_INVALID",
   608  		29: "SERVICE_NOT_VISIBLE",
   609  		30: "GCP_SUSPENDED",
   610  		31: "LOCATION_POLICY_VIOLATED",
   611  	}
   612  	ErrorReason_value = map[string]int32{
   613  		"ERROR_REASON_UNSPECIFIED":            0,
   614  		"SERVICE_DISABLED":                    1,
   615  		"BILLING_DISABLED":                    2,
   616  		"API_KEY_INVALID":                     3,
   617  		"API_KEY_SERVICE_BLOCKED":             4,
   618  		"API_KEY_HTTP_REFERRER_BLOCKED":       7,
   619  		"API_KEY_IP_ADDRESS_BLOCKED":          8,
   620  		"API_KEY_ANDROID_APP_BLOCKED":         9,
   621  		"API_KEY_IOS_APP_BLOCKED":             13,
   622  		"RATE_LIMIT_EXCEEDED":                 5,
   623  		"RESOURCE_QUOTA_EXCEEDED":             6,
   624  		"LOCATION_TAX_POLICY_VIOLATED":        10,
   625  		"USER_PROJECT_DENIED":                 11,
   626  		"CONSUMER_SUSPENDED":                  12,
   627  		"CONSUMER_INVALID":                    14,
   628  		"SECURITY_POLICY_VIOLATED":            15,
   629  		"ACCESS_TOKEN_EXPIRED":                16,
   630  		"ACCESS_TOKEN_SCOPE_INSUFFICIENT":     17,
   631  		"ACCOUNT_STATE_INVALID":               18,
   632  		"ACCESS_TOKEN_TYPE_UNSUPPORTED":       19,
   633  		"CREDENTIALS_MISSING":                 20,
   634  		"RESOURCE_PROJECT_INVALID":            21,
   635  		"SESSION_COOKIE_INVALID":              23,
   636  		"USER_BLOCKED_BY_ADMIN":               24,
   637  		"RESOURCE_USAGE_RESTRICTION_VIOLATED": 25,
   638  		"SYSTEM_PARAMETER_UNSUPPORTED":        26,
   639  		"ORG_RESTRICTION_VIOLATION":           27,
   640  		"ORG_RESTRICTION_HEADER_INVALID":      28,
   641  		"SERVICE_NOT_VISIBLE":                 29,
   642  		"GCP_SUSPENDED":                       30,
   643  		"LOCATION_POLICY_VIOLATED":            31,
   644  	}
   645  )
   646  
   647  func (x ErrorReason) Enum() *ErrorReason {
   648  	p := new(ErrorReason)
   649  	*p = x
   650  	return p
   651  }
   652  
   653  func (x ErrorReason) String() string {
   654  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   655  }
   656  
   657  func (ErrorReason) Descriptor() protoreflect.EnumDescriptor {
   658  	return file_google_api_error_reason_proto_enumTypes[0].Descriptor()
   659  }
   660  
   661  func (ErrorReason) Type() protoreflect.EnumType {
   662  	return &file_google_api_error_reason_proto_enumTypes[0]
   663  }
   664  
   665  func (x ErrorReason) Number() protoreflect.EnumNumber {
   666  	return protoreflect.EnumNumber(x)
   667  }
   668  
   669  // Deprecated: Use ErrorReason.Descriptor instead.
   670  func (ErrorReason) EnumDescriptor() ([]byte, []int) {
   671  	return file_google_api_error_reason_proto_rawDescGZIP(), []int{0}
   672  }
   673  
   674  var File_google_api_error_reason_proto protoreflect.FileDescriptor
   675  
   676  var file_google_api_error_reason_proto_rawDesc = []byte{
   677  	0x0a, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x72, 0x72,
   678  	0x6f, 0x72, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
   679  	0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2a, 0x8a, 0x07, 0x0a, 0x0b,
   680  	0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x18, 0x45,
   681  	0x52, 0x52, 0x4f, 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50,
   682  	0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x45, 0x52,
   683  	0x56, 0x49, 0x43, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12,
   684  	0x14, 0x0a, 0x10, 0x42, 0x49, 0x4c, 0x4c, 0x49, 0x4e, 0x47, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42,
   685  	0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59,
   686  	0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x03, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x50,
   687  	0x49, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x42, 0x4c,
   688  	0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x04, 0x12, 0x21, 0x0a, 0x1d, 0x41, 0x50, 0x49, 0x5f, 0x4b,
   689  	0x45, 0x59, 0x5f, 0x48, 0x54, 0x54, 0x50, 0x5f, 0x52, 0x45, 0x46, 0x45, 0x52, 0x52, 0x45, 0x52,
   690  	0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x07, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x50,
   691  	0x49, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x49, 0x50, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53,
   692  	0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x08, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x50,
   693  	0x49, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x41, 0x4e, 0x44, 0x52, 0x4f, 0x49, 0x44, 0x5f, 0x41, 0x50,
   694  	0x50, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x09, 0x12, 0x1b, 0x0a, 0x17, 0x41,
   695  	0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x49, 0x4f, 0x53, 0x5f, 0x41, 0x50, 0x50, 0x5f, 0x42,
   696  	0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x0d, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x41, 0x54, 0x45,
   697  	0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10,
   698  	0x05, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x51, 0x55,
   699  	0x4f, 0x54, 0x41, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x06, 0x12, 0x20,
   700  	0x0a, 0x1c, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x41, 0x58, 0x5f, 0x50,
   701  	0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x56, 0x49, 0x4f, 0x4c, 0x41, 0x54, 0x45, 0x44, 0x10, 0x0a,
   702  	0x12, 0x17, 0x0a, 0x13, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54,
   703  	0x5f, 0x44, 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4f, 0x4e,
   704  	0x53, 0x55, 0x4d, 0x45, 0x52, 0x5f, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10,
   705  	0x0c, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4e, 0x53, 0x55, 0x4d, 0x45, 0x52, 0x5f, 0x49, 0x4e,
   706  	0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x0e, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x45, 0x43, 0x55, 0x52,
   707  	0x49, 0x54, 0x59, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x56, 0x49, 0x4f, 0x4c, 0x41,
   708  	0x54, 0x45, 0x44, 0x10, 0x0f, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f,
   709  	0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x10, 0x12,
   710  	0x23, 0x0a, 0x1f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f,
   711  	0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x53, 0x55, 0x46, 0x46, 0x49, 0x43, 0x49, 0x45,
   712  	0x4e, 0x54, 0x10, 0x11, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f,
   713  	0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x12, 0x12,
   714  	0x21, 0x0a, 0x1d, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f,
   715  	0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44,
   716  	0x10, 0x13, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x52, 0x45, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x41, 0x4c,
   717  	0x53, 0x5f, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x14, 0x12, 0x1c, 0x0a, 0x18, 0x52,
   718  	0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f,
   719  	0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x15, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x53,
   720  	0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4f, 0x4b, 0x49, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41,
   721  	0x4c, 0x49, 0x44, 0x10, 0x17, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x42, 0x4c,
   722  	0x4f, 0x43, 0x4b, 0x45, 0x44, 0x5f, 0x42, 0x59, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x18,
   723  	0x12, 0x27, 0x0a, 0x23, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x55, 0x53, 0x41,
   724  	0x47, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x52, 0x49, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x56,
   725  	0x49, 0x4f, 0x4c, 0x41, 0x54, 0x45, 0x44, 0x10, 0x19, 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x59, 0x53,
   726  	0x54, 0x45, 0x4d, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x45, 0x54, 0x45, 0x52, 0x5f, 0x55, 0x4e,
   727  	0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x1a, 0x12, 0x1d, 0x0a, 0x19, 0x4f,
   728  	0x52, 0x47, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x52, 0x49, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x56,
   729  	0x49, 0x4f, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x1b, 0x12, 0x22, 0x0a, 0x1e, 0x4f, 0x52,
   730  	0x47, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x52, 0x49, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x48, 0x45,
   731  	0x41, 0x44, 0x45, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x1c, 0x12, 0x17,
   732  	0x0a, 0x13, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x56, 0x49,
   733  	0x53, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x1d, 0x12, 0x11, 0x0a, 0x0d, 0x47, 0x43, 0x50, 0x5f, 0x53,
   734  	0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x1e, 0x12, 0x1c, 0x0a, 0x18, 0x4c, 0x4f,
   735  	0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x56, 0x49,
   736  	0x4f, 0x4c, 0x41, 0x54, 0x45, 0x44, 0x10, 0x1f, 0x42, 0x70, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e,
   737  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x10, 0x45, 0x72, 0x72, 0x6f,
   738  	0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43,
   739  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72,
   740  	0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   741  	0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f,
   742  	0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x3b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x61,
   743  	0x73, 0x6f, 0x6e, 0xa2, 0x02, 0x04, 0x47, 0x41, 0x50, 0x49, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
   744  	0x6f, 0x33,
   745  }
   746  
   747  var (
   748  	file_google_api_error_reason_proto_rawDescOnce sync.Once
   749  	file_google_api_error_reason_proto_rawDescData = file_google_api_error_reason_proto_rawDesc
   750  )
   751  
   752  func file_google_api_error_reason_proto_rawDescGZIP() []byte {
   753  	file_google_api_error_reason_proto_rawDescOnce.Do(func() {
   754  		file_google_api_error_reason_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_error_reason_proto_rawDescData)
   755  	})
   756  	return file_google_api_error_reason_proto_rawDescData
   757  }
   758  
   759  var file_google_api_error_reason_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   760  var file_google_api_error_reason_proto_goTypes = []interface{}{
   761  	(ErrorReason)(0), // 0: google.api.ErrorReason
   762  }
   763  var file_google_api_error_reason_proto_depIdxs = []int32{
   764  	0, // [0:0] is the sub-list for method output_type
   765  	0, // [0:0] is the sub-list for method input_type
   766  	0, // [0:0] is the sub-list for extension type_name
   767  	0, // [0:0] is the sub-list for extension extendee
   768  	0, // [0:0] is the sub-list for field type_name
   769  }
   770  
   771  func init() { file_google_api_error_reason_proto_init() }
   772  func file_google_api_error_reason_proto_init() {
   773  	if File_google_api_error_reason_proto != nil {
   774  		return
   775  	}
   776  	type x struct{}
   777  	out := protoimpl.TypeBuilder{
   778  		File: protoimpl.DescBuilder{
   779  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   780  			RawDescriptor: file_google_api_error_reason_proto_rawDesc,
   781  			NumEnums:      1,
   782  			NumMessages:   0,
   783  			NumExtensions: 0,
   784  			NumServices:   0,
   785  		},
   786  		GoTypes:           file_google_api_error_reason_proto_goTypes,
   787  		DependencyIndexes: file_google_api_error_reason_proto_depIdxs,
   788  		EnumInfos:         file_google_api_error_reason_proto_enumTypes,
   789  	}.Build()
   790  	File_google_api_error_reason_proto = out.File
   791  	file_google_api_error_reason_proto_rawDesc = nil
   792  	file_google_api_error_reason_proto_goTypes = nil
   793  	file_google_api_error_reason_proto_depIdxs = nil
   794  }
   795  

View as plain text