// Copyright 2024 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 // // http://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. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.26.0 // protoc v4.24.4 // source: google/api/error_reason.proto package error_reason import ( reflect "reflect" sync "sync" protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // Defines the supported values for `google.rpc.ErrorInfo.reason` for the // `googleapis.com` error domain. This error domain is reserved for [Service // Infrastructure](https://cloud.google.com/service-infrastructure/docs/overview). // For each error info of this domain, the metadata key "service" refers to the // logical identifier of an API service, such as "pubsub.googleapis.com". The // "consumer" refers to the entity that consumes an API Service. It typically is // a Google project that owns the client application or the server resource, // such as "projects/123". Other metadata keys are specific to each error // reason. For more information, see the definition of the specific error // reason. type ErrorReason int32 const ( // Do not use this default value. ErrorReason_ERROR_REASON_UNSPECIFIED ErrorReason = 0 // The request is calling a disabled service for a consumer. // // Example of an ErrorInfo when the consumer "projects/123" contacting // "pubsub.googleapis.com" service which is disabled: // // { "reason": "SERVICE_DISABLED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "pubsub.googleapis.com" // } // } // // This response indicates the "pubsub.googleapis.com" has been disabled in // "projects/123". ErrorReason_SERVICE_DISABLED ErrorReason = 1 // The request whose associated billing account is disabled. // // Example of an ErrorInfo when the consumer "projects/123" fails to contact // "pubsub.googleapis.com" service because the associated billing account is // disabled: // // { "reason": "BILLING_DISABLED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "pubsub.googleapis.com" // } // } // // This response indicates the billing account associated has been disabled. ErrorReason_BILLING_DISABLED ErrorReason = 2 // The request is denied because the provided [API // key](https://cloud.google.com/docs/authentication/api-keys) is invalid. It // may be in a bad format, cannot be found, or has been expired). // // Example of an ErrorInfo when the request is contacting // "storage.googleapis.com" service with an invalid API key: // // { "reason": "API_KEY_INVALID", // "domain": "googleapis.com", // "metadata": { // "service": "storage.googleapis.com", // } // } ErrorReason_API_KEY_INVALID ErrorReason = 3 // The request is denied because it violates [API key API // restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_api_restrictions). // // Example of an ErrorInfo when the consumer "projects/123" fails to call the // "storage.googleapis.com" service because this service is restricted in the // API key: // // { "reason": "API_KEY_SERVICE_BLOCKED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com" // } // } ErrorReason_API_KEY_SERVICE_BLOCKED ErrorReason = 4 // The request is denied because it violates [API key HTTP // restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_http_restrictions). // // Example of an ErrorInfo when the consumer "projects/123" fails to call // "storage.googleapis.com" service because the http referrer of the request // violates API key HTTP restrictions: // // { "reason": "API_KEY_HTTP_REFERRER_BLOCKED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com", // } // } ErrorReason_API_KEY_HTTP_REFERRER_BLOCKED ErrorReason = 7 // The request is denied because it violates [API key IP address // restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions). // // Example of an ErrorInfo when the consumer "projects/123" fails to call // "storage.googleapis.com" service because the caller IP of the request // violates API key IP address restrictions: // // { "reason": "API_KEY_IP_ADDRESS_BLOCKED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com", // } // } ErrorReason_API_KEY_IP_ADDRESS_BLOCKED ErrorReason = 8 // The request is denied because it violates [API key Android application // restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions). // // Example of an ErrorInfo when the consumer "projects/123" fails to call // "storage.googleapis.com" service because the request from the Android apps // violates the API key Android application restrictions: // // { "reason": "API_KEY_ANDROID_APP_BLOCKED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com" // } // } ErrorReason_API_KEY_ANDROID_APP_BLOCKED ErrorReason = 9 // The request is denied because it violates [API key iOS application // restrictions](https://cloud.google.com/docs/authentication/api-keys#adding_application_restrictions). // // Example of an ErrorInfo when the consumer "projects/123" fails to call // "storage.googleapis.com" service because the request from the iOS apps // violates the API key iOS application restrictions: // // { "reason": "API_KEY_IOS_APP_BLOCKED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com" // } // } ErrorReason_API_KEY_IOS_APP_BLOCKED ErrorReason = 13 // The request is denied because there is not enough rate quota for the // consumer. // // Example of an ErrorInfo when the consumer "projects/123" fails to contact // "pubsub.googleapis.com" service because consumer's rate quota usage has // reached the maximum value set for the quota limit // "ReadsPerMinutePerProject" on the quota metric // "pubsub.googleapis.com/read_requests": // // { "reason": "RATE_LIMIT_EXCEEDED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "pubsub.googleapis.com", // "quota_metric": "pubsub.googleapis.com/read_requests", // "quota_limit": "ReadsPerMinutePerProject" // } // } // // Example of an ErrorInfo when the consumer "projects/123" checks quota on // the service "dataflow.googleapis.com" and hits the organization quota // limit "DefaultRequestsPerMinutePerOrganization" on the metric // "dataflow.googleapis.com/default_requests". // // { "reason": "RATE_LIMIT_EXCEEDED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "dataflow.googleapis.com", // "quota_metric": "dataflow.googleapis.com/default_requests", // "quota_limit": "DefaultRequestsPerMinutePerOrganization" // } // } ErrorReason_RATE_LIMIT_EXCEEDED ErrorReason = 5 // The request is denied because there is not enough resource quota for the // consumer. // // Example of an ErrorInfo when the consumer "projects/123" fails to contact // "compute.googleapis.com" service because consumer's resource quota usage // has reached the maximum value set for the quota limit "VMsPerProject" // on the quota metric "compute.googleapis.com/vms": // // { "reason": "RESOURCE_QUOTA_EXCEEDED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "compute.googleapis.com", // "quota_metric": "compute.googleapis.com/vms", // "quota_limit": "VMsPerProject" // } // } // // Example of an ErrorInfo when the consumer "projects/123" checks resource // quota on the service "dataflow.googleapis.com" and hits the organization // quota limit "jobs-per-organization" on the metric // "dataflow.googleapis.com/job_count". // // { "reason": "RESOURCE_QUOTA_EXCEEDED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "dataflow.googleapis.com", // "quota_metric": "dataflow.googleapis.com/job_count", // "quota_limit": "jobs-per-organization" // } // } ErrorReason_RESOURCE_QUOTA_EXCEEDED ErrorReason = 6 // The request whose associated billing account address is in a tax restricted // location, violates the local tax restrictions when creating resources in // the restricted region. // // Example of an ErrorInfo when creating the Cloud Storage Bucket in the // container "projects/123" under a tax restricted region // "locations/asia-northeast3": // // { "reason": "LOCATION_TAX_POLICY_VIOLATED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com", // "location": "locations/asia-northeast3" // } // } // // This response indicates creating the Cloud Storage Bucket in // "locations/asia-northeast3" violates the location tax restriction. ErrorReason_LOCATION_TAX_POLICY_VIOLATED ErrorReason = 10 // The request is denied because the caller does not have required permission // on the user project "projects/123" or the user project is invalid. For more // information, check the [userProject System // Parameters](https://cloud.google.com/apis/docs/system-parameters). // // Example of an ErrorInfo when the caller is calling Cloud Storage service // with insufficient permissions on the user project: // // { "reason": "USER_PROJECT_DENIED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com" // } // } ErrorReason_USER_PROJECT_DENIED ErrorReason = 11 // The request is denied because the consumer "projects/123" is suspended due // to Terms of Service(Tos) violations. Check [Project suspension // guidelines](https://cloud.google.com/resource-manager/docs/project-suspension-guidelines) // for more information. // // Example of an ErrorInfo when calling Cloud Storage service with the // suspended consumer "projects/123": // // { "reason": "CONSUMER_SUSPENDED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com" // } // } ErrorReason_CONSUMER_SUSPENDED ErrorReason = 12 // The request is denied because the associated consumer is invalid. It may be // in a bad format, cannot be found, or have been deleted. // // Example of an ErrorInfo when calling Cloud Storage service with the // invalid consumer "projects/123": // // { "reason": "CONSUMER_INVALID", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com" // } // } ErrorReason_CONSUMER_INVALID ErrorReason = 14 // The request is denied because it violates [VPC Service // Controls](https://cloud.google.com/vpc-service-controls/docs/overview). // The 'uid' field is a random generated identifier that customer can use it // to search the audit log for a request rejected by VPC Service Controls. For // more information, please refer [VPC Service Controls // Troubleshooting](https://cloud.google.com/vpc-service-controls/docs/troubleshooting#unique-id) // // Example of an ErrorInfo when the consumer "projects/123" fails to call // Cloud Storage service because the request is prohibited by the VPC Service // Controls. // // { "reason": "SECURITY_POLICY_VIOLATED", // "domain": "googleapis.com", // "metadata": { // "uid": "123456789abcde", // "consumer": "projects/123", // "service": "storage.googleapis.com" // } // } ErrorReason_SECURITY_POLICY_VIOLATED ErrorReason = 15 // The request is denied because the provided access token has expired. // // Example of an ErrorInfo when the request is calling Cloud Storage service // with an expired access token: // // { "reason": "ACCESS_TOKEN_EXPIRED", // "domain": "googleapis.com", // "metadata": { // "service": "storage.googleapis.com", // "method": "google.storage.v1.Storage.GetObject" // } // } ErrorReason_ACCESS_TOKEN_EXPIRED ErrorReason = 16 // The request is denied because the provided access token doesn't have at // least one of the acceptable scopes required for the API. Please check // [OAuth 2.0 Scopes for Google // APIs](https://developers.google.com/identity/protocols/oauth2/scopes) for // the list of the OAuth 2.0 scopes that you might need to request to access // the API. // // Example of an ErrorInfo when the request is calling Cloud Storage service // with an access token that is missing required scopes: // // { "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT", // "domain": "googleapis.com", // "metadata": { // "service": "storage.googleapis.com", // "method": "google.storage.v1.Storage.GetObject" // } // } ErrorReason_ACCESS_TOKEN_SCOPE_INSUFFICIENT ErrorReason = 17 // The request is denied because the account associated with the provided // access token is in an invalid state, such as disabled or deleted. // For more information, see https://cloud.google.com/docs/authentication. // // Warning: For privacy reasons, the server may not be able to disclose the // email address for some accounts. The client MUST NOT depend on the // availability of the `email` attribute. // // Example of an ErrorInfo when the request is to the Cloud Storage API with // an access token that is associated with a disabled or deleted [service // account](http://cloud/iam/docs/service-accounts): // // { "reason": "ACCOUNT_STATE_INVALID", // "domain": "googleapis.com", // "metadata": { // "service": "storage.googleapis.com", // "method": "google.storage.v1.Storage.GetObject", // "email": "user@123.iam.gserviceaccount.com" // } // } ErrorReason_ACCOUNT_STATE_INVALID ErrorReason = 18 // The request is denied because the type of the provided access token is not // supported by the API being called. // // Example of an ErrorInfo when the request is to the Cloud Storage API with // an unsupported token type. // // { "reason": "ACCESS_TOKEN_TYPE_UNSUPPORTED", // "domain": "googleapis.com", // "metadata": { // "service": "storage.googleapis.com", // "method": "google.storage.v1.Storage.GetObject" // } // } ErrorReason_ACCESS_TOKEN_TYPE_UNSUPPORTED ErrorReason = 19 // The request is denied because the request doesn't have any authentication // credentials. For more information regarding the supported authentication // strategies for Google Cloud APIs, see // https://cloud.google.com/docs/authentication. // // Example of an ErrorInfo when the request is to the Cloud Storage API // without any authentication credentials. // // { "reason": "CREDENTIALS_MISSING", // "domain": "googleapis.com", // "metadata": { // "service": "storage.googleapis.com", // "method": "google.storage.v1.Storage.GetObject" // } // } ErrorReason_CREDENTIALS_MISSING ErrorReason = 20 // The request is denied because the provided project owning the resource // which acts as the [API // consumer](https://cloud.google.com/apis/design/glossary#api_consumer) is // invalid. It may be in a bad format or empty. // // Example of an ErrorInfo when the request is to the Cloud Functions API, // but the offered resource project in the request in a bad format which can't // perform the ListFunctions method. // // { "reason": "RESOURCE_PROJECT_INVALID", // "domain": "googleapis.com", // "metadata": { // "service": "cloudfunctions.googleapis.com", // "method": // "google.cloud.functions.v1.CloudFunctionsService.ListFunctions" // } // } ErrorReason_RESOURCE_PROJECT_INVALID ErrorReason = 21 // The request is denied because the provided session cookie is missing, // invalid or failed to decode. // // Example of an ErrorInfo when the request is calling Cloud Storage service // with a SID cookie which can't be decoded. // // { "reason": "SESSION_COOKIE_INVALID", // "domain": "googleapis.com", // "metadata": { // "service": "storage.googleapis.com", // "method": "google.storage.v1.Storage.GetObject", // "cookie": "SID" // } // } ErrorReason_SESSION_COOKIE_INVALID ErrorReason = 23 // The request is denied because the user is from a Google Workspace customer // that blocks their users from accessing a particular service. // // Example scenario: https://support.google.com/a/answer/9197205?hl=en // // Example of an ErrorInfo when access to Google Cloud Storage service is // blocked by the Google Workspace administrator: // // { "reason": "USER_BLOCKED_BY_ADMIN", // "domain": "googleapis.com", // "metadata": { // "service": "storage.googleapis.com", // "method": "google.storage.v1.Storage.GetObject", // } // } ErrorReason_USER_BLOCKED_BY_ADMIN ErrorReason = 24 // The request is denied because the resource service usage is restricted // by administrators according to the organization policy constraint. // For more information see // https://cloud.google.com/resource-manager/docs/organization-policy/restricting-services. // // Example of an ErrorInfo when access to Google Cloud Storage service is // restricted by Resource Usage Restriction policy: // // { "reason": "RESOURCE_USAGE_RESTRICTION_VIOLATED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/project-123", // "service": "storage.googleapis.com" // } // } ErrorReason_RESOURCE_USAGE_RESTRICTION_VIOLATED ErrorReason = 25 // Unimplemented. Do not use. // // The request is denied because it contains unsupported system parameters in // URL query parameters or HTTP headers. For more information, // see https://cloud.google.com/apis/docs/system-parameters // // Example of an ErrorInfo when access "pubsub.googleapis.com" service with // a request header of "x-goog-user-ip": // // { "reason": "SYSTEM_PARAMETER_UNSUPPORTED", // "domain": "googleapis.com", // "metadata": { // "service": "pubsub.googleapis.com" // "parameter": "x-goog-user-ip" // } // } ErrorReason_SYSTEM_PARAMETER_UNSUPPORTED ErrorReason = 26 // The request is denied because it violates Org Restriction: the requested // resource does not belong to allowed organizations specified in // "X-Goog-Allowed-Resources" header. // // Example of an ErrorInfo when accessing a GCP resource that is restricted by // Org Restriction for "pubsub.googleapis.com" service. // // { // reason: "ORG_RESTRICTION_VIOLATION" // domain: "googleapis.com" // metadata { // "consumer":"projects/123456" // "service": "pubsub.googleapis.com" // } // } ErrorReason_ORG_RESTRICTION_VIOLATION ErrorReason = 27 // The request is denied because "X-Goog-Allowed-Resources" header is in a bad // format. // // Example of an ErrorInfo when // accessing "pubsub.googleapis.com" service with an invalid // "X-Goog-Allowed-Resources" request header. // // { // reason: "ORG_RESTRICTION_HEADER_INVALID" // domain: "googleapis.com" // metadata { // "consumer":"projects/123456" // "service": "pubsub.googleapis.com" // } // } ErrorReason_ORG_RESTRICTION_HEADER_INVALID ErrorReason = 28 // Unimplemented. Do not use. // // The request is calling a service that is not visible to the consumer. // // Example of an ErrorInfo when the consumer "projects/123" contacting // // "pubsub.googleapis.com" service which is not visible to the consumer. // // { "reason": "SERVICE_NOT_VISIBLE", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "pubsub.googleapis.com" // } // } // // This response indicates the "pubsub.googleapis.com" is not visible to // "projects/123" (or it may not exist). ErrorReason_SERVICE_NOT_VISIBLE ErrorReason = 29 // The request is related to a project for which GCP access is suspended. // // Example of an ErrorInfo when the consumer "projects/123" fails to contact // "pubsub.googleapis.com" service because GCP access is suspended: // // { "reason": "GCP_SUSPENDED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "pubsub.googleapis.com" // } // } // // This response indicates the associated GCP account has been suspended. ErrorReason_GCP_SUSPENDED ErrorReason = 30 // The request violates the location policies when creating resources in // the restricted region. // // Example of an ErrorInfo when creating the Cloud Storage Bucket by // "projects/123" for service storage.googleapis.com: // // { "reason": "LOCATION_POLICY_VIOLATED", // "domain": "googleapis.com", // "metadata": { // "consumer": "projects/123", // "service": "storage.googleapis.com", // } // } // // This response indicates creating the Cloud Storage Bucket in // "locations/asia-northeast3" violates at least one location policy. // The troubleshooting guidance is provided in the Help links. ErrorReason_LOCATION_POLICY_VIOLATED ErrorReason = 31 ) // Enum value maps for ErrorReason. var ( ErrorReason_name = map[int32]string{ 0: "ERROR_REASON_UNSPECIFIED", 1: "SERVICE_DISABLED", 2: "BILLING_DISABLED", 3: "API_KEY_INVALID", 4: "API_KEY_SERVICE_BLOCKED", 7: "API_KEY_HTTP_REFERRER_BLOCKED", 8: "API_KEY_IP_ADDRESS_BLOCKED", 9: "API_KEY_ANDROID_APP_BLOCKED", 13: "API_KEY_IOS_APP_BLOCKED", 5: "RATE_LIMIT_EXCEEDED", 6: "RESOURCE_QUOTA_EXCEEDED", 10: "LOCATION_TAX_POLICY_VIOLATED", 11: "USER_PROJECT_DENIED", 12: "CONSUMER_SUSPENDED", 14: "CONSUMER_INVALID", 15: "SECURITY_POLICY_VIOLATED", 16: "ACCESS_TOKEN_EXPIRED", 17: "ACCESS_TOKEN_SCOPE_INSUFFICIENT", 18: "ACCOUNT_STATE_INVALID", 19: "ACCESS_TOKEN_TYPE_UNSUPPORTED", 20: "CREDENTIALS_MISSING", 21: "RESOURCE_PROJECT_INVALID", 23: "SESSION_COOKIE_INVALID", 24: "USER_BLOCKED_BY_ADMIN", 25: "RESOURCE_USAGE_RESTRICTION_VIOLATED", 26: "SYSTEM_PARAMETER_UNSUPPORTED", 27: "ORG_RESTRICTION_VIOLATION", 28: "ORG_RESTRICTION_HEADER_INVALID", 29: "SERVICE_NOT_VISIBLE", 30: "GCP_SUSPENDED", 31: "LOCATION_POLICY_VIOLATED", } ErrorReason_value = map[string]int32{ "ERROR_REASON_UNSPECIFIED": 0, "SERVICE_DISABLED": 1, "BILLING_DISABLED": 2, "API_KEY_INVALID": 3, "API_KEY_SERVICE_BLOCKED": 4, "API_KEY_HTTP_REFERRER_BLOCKED": 7, "API_KEY_IP_ADDRESS_BLOCKED": 8, "API_KEY_ANDROID_APP_BLOCKED": 9, "API_KEY_IOS_APP_BLOCKED": 13, "RATE_LIMIT_EXCEEDED": 5, "RESOURCE_QUOTA_EXCEEDED": 6, "LOCATION_TAX_POLICY_VIOLATED": 10, "USER_PROJECT_DENIED": 11, "CONSUMER_SUSPENDED": 12, "CONSUMER_INVALID": 14, "SECURITY_POLICY_VIOLATED": 15, "ACCESS_TOKEN_EXPIRED": 16, "ACCESS_TOKEN_SCOPE_INSUFFICIENT": 17, "ACCOUNT_STATE_INVALID": 18, "ACCESS_TOKEN_TYPE_UNSUPPORTED": 19, "CREDENTIALS_MISSING": 20, "RESOURCE_PROJECT_INVALID": 21, "SESSION_COOKIE_INVALID": 23, "USER_BLOCKED_BY_ADMIN": 24, "RESOURCE_USAGE_RESTRICTION_VIOLATED": 25, "SYSTEM_PARAMETER_UNSUPPORTED": 26, "ORG_RESTRICTION_VIOLATION": 27, "ORG_RESTRICTION_HEADER_INVALID": 28, "SERVICE_NOT_VISIBLE": 29, "GCP_SUSPENDED": 30, "LOCATION_POLICY_VIOLATED": 31, } ) func (x ErrorReason) Enum() *ErrorReason { p := new(ErrorReason) *p = x return p } func (x ErrorReason) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (ErrorReason) Descriptor() protoreflect.EnumDescriptor { return file_google_api_error_reason_proto_enumTypes[0].Descriptor() } func (ErrorReason) Type() protoreflect.EnumType { return &file_google_api_error_reason_proto_enumTypes[0] } func (x ErrorReason) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use ErrorReason.Descriptor instead. func (ErrorReason) EnumDescriptor() ([]byte, []int) { return file_google_api_error_reason_proto_rawDescGZIP(), []int{0} } var File_google_api_error_reason_proto protoreflect.FileDescriptor var file_google_api_error_reason_proto_rawDesc = []byte{ 0x0a, 0x1d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2a, 0x8a, 0x07, 0x0a, 0x0b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x52, 0x45, 0x41, 0x53, 0x4f, 0x4e, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x42, 0x49, 0x4c, 0x4c, 0x49, 0x4e, 0x47, 0x5f, 0x44, 0x49, 0x53, 0x41, 0x42, 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x03, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x04, 0x12, 0x21, 0x0a, 0x1d, 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x48, 0x54, 0x54, 0x50, 0x5f, 0x52, 0x45, 0x46, 0x45, 0x52, 0x52, 0x45, 0x52, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x07, 0x12, 0x1e, 0x0a, 0x1a, 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x49, 0x50, 0x5f, 0x41, 0x44, 0x44, 0x52, 0x45, 0x53, 0x53, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x08, 0x12, 0x1f, 0x0a, 0x1b, 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x41, 0x4e, 0x44, 0x52, 0x4f, 0x49, 0x44, 0x5f, 0x41, 0x50, 0x50, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x09, 0x12, 0x1b, 0x0a, 0x17, 0x41, 0x50, 0x49, 0x5f, 0x4b, 0x45, 0x59, 0x5f, 0x49, 0x4f, 0x53, 0x5f, 0x41, 0x50, 0x50, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x10, 0x0d, 0x12, 0x17, 0x0a, 0x13, 0x52, 0x41, 0x54, 0x45, 0x5f, 0x4c, 0x49, 0x4d, 0x49, 0x54, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x05, 0x12, 0x1b, 0x0a, 0x17, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x51, 0x55, 0x4f, 0x54, 0x41, 0x5f, 0x45, 0x58, 0x43, 0x45, 0x45, 0x44, 0x45, 0x44, 0x10, 0x06, 0x12, 0x20, 0x0a, 0x1c, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x54, 0x41, 0x58, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x56, 0x49, 0x4f, 0x4c, 0x41, 0x54, 0x45, 0x44, 0x10, 0x0a, 0x12, 0x17, 0x0a, 0x13, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x44, 0x45, 0x4e, 0x49, 0x45, 0x44, 0x10, 0x0b, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x4f, 0x4e, 0x53, 0x55, 0x4d, 0x45, 0x52, 0x5f, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x0c, 0x12, 0x14, 0x0a, 0x10, 0x43, 0x4f, 0x4e, 0x53, 0x55, 0x4d, 0x45, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x0e, 0x12, 0x1c, 0x0a, 0x18, 0x53, 0x45, 0x43, 0x55, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x56, 0x49, 0x4f, 0x4c, 0x41, 0x54, 0x45, 0x44, 0x10, 0x0f, 0x12, 0x18, 0x0a, 0x14, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x45, 0x58, 0x50, 0x49, 0x52, 0x45, 0x44, 0x10, 0x10, 0x12, 0x23, 0x0a, 0x1f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x53, 0x43, 0x4f, 0x50, 0x45, 0x5f, 0x49, 0x4e, 0x53, 0x55, 0x46, 0x46, 0x49, 0x43, 0x49, 0x45, 0x4e, 0x54, 0x10, 0x11, 0x12, 0x19, 0x0a, 0x15, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x12, 0x12, 0x21, 0x0a, 0x1d, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x13, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x52, 0x45, 0x44, 0x45, 0x4e, 0x54, 0x49, 0x41, 0x4c, 0x53, 0x5f, 0x4d, 0x49, 0x53, 0x53, 0x49, 0x4e, 0x47, 0x10, 0x14, 0x12, 0x1c, 0x0a, 0x18, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x50, 0x52, 0x4f, 0x4a, 0x45, 0x43, 0x54, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x15, 0x12, 0x1a, 0x0a, 0x16, 0x53, 0x45, 0x53, 0x53, 0x49, 0x4f, 0x4e, 0x5f, 0x43, 0x4f, 0x4f, 0x4b, 0x49, 0x45, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x17, 0x12, 0x19, 0x0a, 0x15, 0x55, 0x53, 0x45, 0x52, 0x5f, 0x42, 0x4c, 0x4f, 0x43, 0x4b, 0x45, 0x44, 0x5f, 0x42, 0x59, 0x5f, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x10, 0x18, 0x12, 0x27, 0x0a, 0x23, 0x52, 0x45, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x55, 0x53, 0x41, 0x47, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x52, 0x49, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x56, 0x49, 0x4f, 0x4c, 0x41, 0x54, 0x45, 0x44, 0x10, 0x19, 0x12, 0x20, 0x0a, 0x1c, 0x53, 0x59, 0x53, 0x54, 0x45, 0x4d, 0x5f, 0x50, 0x41, 0x52, 0x41, 0x4d, 0x45, 0x54, 0x45, 0x52, 0x5f, 0x55, 0x4e, 0x53, 0x55, 0x50, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x44, 0x10, 0x1a, 0x12, 0x1d, 0x0a, 0x19, 0x4f, 0x52, 0x47, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x52, 0x49, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x56, 0x49, 0x4f, 0x4c, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x1b, 0x12, 0x22, 0x0a, 0x1e, 0x4f, 0x52, 0x47, 0x5f, 0x52, 0x45, 0x53, 0x54, 0x52, 0x49, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x48, 0x45, 0x41, 0x44, 0x45, 0x52, 0x5f, 0x49, 0x4e, 0x56, 0x41, 0x4c, 0x49, 0x44, 0x10, 0x1c, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x5f, 0x4e, 0x4f, 0x54, 0x5f, 0x56, 0x49, 0x53, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x1d, 0x12, 0x11, 0x0a, 0x0d, 0x47, 0x43, 0x50, 0x5f, 0x53, 0x55, 0x53, 0x50, 0x45, 0x4e, 0x44, 0x45, 0x44, 0x10, 0x1e, 0x12, 0x1c, 0x0a, 0x18, 0x4c, 0x4f, 0x43, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x59, 0x5f, 0x56, 0x49, 0x4f, 0x4c, 0x41, 0x54, 0x45, 0x44, 0x10, 0x1f, 0x42, 0x70, 0x0a, 0x0e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x42, 0x10, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x43, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0x3b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x61, 0x73, 0x6f, 0x6e, 0xa2, 0x02, 0x04, 0x47, 0x41, 0x50, 0x49, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_google_api_error_reason_proto_rawDescOnce sync.Once file_google_api_error_reason_proto_rawDescData = file_google_api_error_reason_proto_rawDesc ) func file_google_api_error_reason_proto_rawDescGZIP() []byte { file_google_api_error_reason_proto_rawDescOnce.Do(func() { file_google_api_error_reason_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_api_error_reason_proto_rawDescData) }) return file_google_api_error_reason_proto_rawDescData } var file_google_api_error_reason_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_google_api_error_reason_proto_goTypes = []interface{}{ (ErrorReason)(0), // 0: google.api.ErrorReason } var file_google_api_error_reason_proto_depIdxs = []int32{ 0, // [0:0] is the sub-list for method output_type 0, // [0:0] is the sub-list for method input_type 0, // [0:0] is the sub-list for extension type_name 0, // [0:0] is the sub-list for extension extendee 0, // [0:0] is the sub-list for field type_name } func init() { file_google_api_error_reason_proto_init() } func file_google_api_error_reason_proto_init() { if File_google_api_error_reason_proto != nil { return } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_google_api_error_reason_proto_rawDesc, NumEnums: 1, NumMessages: 0, NumExtensions: 0, NumServices: 0, }, GoTypes: file_google_api_error_reason_proto_goTypes, DependencyIndexes: file_google_api_error_reason_proto_depIdxs, EnumInfos: file_google_api_error_reason_proto_enumTypes, }.Build() File_google_api_error_reason_proto = out.File file_google_api_error_reason_proto_rawDesc = nil file_google_api_error_reason_proto_goTypes = nil file_google_api_error_reason_proto_depIdxs = nil }