codekingpro/portable-devtools
114k
1# -*- coding: utf-8 -*-2 3# Copyright 2020 Google LLC4#5# Licensed under the Apache License, Version 2.0 (the "License");6# you may not use this file except in compliance with the License.7# You may obtain a copy of the License at8#9# http://www.apache.org/licenses/LICENSE-2.010#11# Unless required by applicable law or agreed to in writing, software12# distributed under the License is distributed on an "AS IS" BASIS,13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.14# See the License for the specific language governing permissions and15# limitations under the License.16 17# Generated by the protocol buffer compiler. DO NOT EDIT!18# source: google/api/error_reason.proto19"""Generated protocol buffer code."""20from google.protobuf.internal import enum_type_wrapper21from google.protobuf import descriptor as _descriptor22from google.protobuf import descriptor_pool as _descriptor_pool23from google.protobuf import message as _message24from google.protobuf import reflection as _reflection25from google.protobuf import symbol_database as _symbol_database26 27# @@protoc_insertion_point(imports)28 29_sym_db = _symbol_database.Default()30 31 32DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(33 b"\n\x1dgoogle/api/error_reason.proto\x12\ngoogle.api*\x8a\x07\n\x0b\x45rrorReason\x12\x1c\n\x18\x45RROR_REASON_UNSPECIFIED\x10\x00\x12\x14\n\x10SERVICE_DISABLED\x10\x01\x12\x14\n\x10\x42ILLING_DISABLED\x10\x02\x12\x13\n\x0f\x41PI_KEY_INVALID\x10\x03\x12\x1b\n\x17\x41PI_KEY_SERVICE_BLOCKED\x10\x04\x12!\n\x1d\x41PI_KEY_HTTP_REFERRER_BLOCKED\x10\x07\x12\x1e\n\x1a\x41PI_KEY_IP_ADDRESS_BLOCKED\x10\x08\x12\x1f\n\x1b\x41PI_KEY_ANDROID_APP_BLOCKED\x10\t\x12\x1b\n\x17\x41PI_KEY_IOS_APP_BLOCKED\x10\r\x12\x17\n\x13RATE_LIMIT_EXCEEDED\x10\x05\x12\x1b\n\x17RESOURCE_QUOTA_EXCEEDED\x10\x06\x12 \n\x1cLOCATION_TAX_POLICY_VIOLATED\x10\n\x12\x17\n\x13USER_PROJECT_DENIED\x10\x0b\x12\x16\n\x12\x43ONSUMER_SUSPENDED\x10\x0c\x12\x14\n\x10\x43ONSUMER_INVALID\x10\x0e\x12\x1c\n\x18SECURITY_POLICY_VIOLATED\x10\x0f\x12\x18\n\x14\x41\x43\x43\x45SS_TOKEN_EXPIRED\x10\x10\x12#\n\x1f\x41\x43\x43\x45SS_TOKEN_SCOPE_INSUFFICIENT\x10\x11\x12\x19\n\x15\x41\x43\x43OUNT_STATE_INVALID\x10\x12\x12!\n\x1d\x41\x43\x43\x45SS_TOKEN_TYPE_UNSUPPORTED\x10\x13\x12\x17\n\x13\x43REDENTIALS_MISSING\x10\x14\x12\x1c\n\x18RESOURCE_PROJECT_INVALID\x10\x15\x12\x1a\n\x16SESSION_COOKIE_INVALID\x10\x17\x12\x19\n\x15USER_BLOCKED_BY_ADMIN\x10\x18\x12'\n#RESOURCE_USAGE_RESTRICTION_VIOLATED\x10\x19\x12 \n\x1cSYSTEM_PARAMETER_UNSUPPORTED\x10\x1a\x12\x1d\n\x19ORG_RESTRICTION_VIOLATION\x10\x1b\x12\"\n\x1eORG_RESTRICTION_HEADER_INVALID\x10\x1c\x12\x17\n\x13SERVICE_NOT_VISIBLE\x10\x1d\x12\x11\n\rGCP_SUSPENDED\x10\x1e\x12\x1c\n\x18LOCATION_POLICY_VIOLATED\x10\x1f\x42p\n\x0e\x63om.google.apiB\x10\x45rrorReasonProtoP\x01ZCgoogle.golang.org/genproto/googleapis/api/error_reason;error_reason\xa2\x02\x04GAPIb\x06proto3"34)35 36_ERRORREASON = DESCRIPTOR.enum_types_by_name["ErrorReason"]37ErrorReason = enum_type_wrapper.EnumTypeWrapper(_ERRORREASON)38ERROR_REASON_UNSPECIFIED = 039SERVICE_DISABLED = 140BILLING_DISABLED = 241API_KEY_INVALID = 342API_KEY_SERVICE_BLOCKED = 443API_KEY_HTTP_REFERRER_BLOCKED = 744API_KEY_IP_ADDRESS_BLOCKED = 845API_KEY_ANDROID_APP_BLOCKED = 946API_KEY_IOS_APP_BLOCKED = 1347RATE_LIMIT_EXCEEDED = 548RESOURCE_QUOTA_EXCEEDED = 649LOCATION_TAX_POLICY_VIOLATED = 1050USER_PROJECT_DENIED = 1151CONSUMER_SUSPENDED = 1252CONSUMER_INVALID = 1453SECURITY_POLICY_VIOLATED = 1554ACCESS_TOKEN_EXPIRED = 1655ACCESS_TOKEN_SCOPE_INSUFFICIENT = 1756ACCOUNT_STATE_INVALID = 1857ACCESS_TOKEN_TYPE_UNSUPPORTED = 1958CREDENTIALS_MISSING = 2059RESOURCE_PROJECT_INVALID = 2160SESSION_COOKIE_INVALID = 2361USER_BLOCKED_BY_ADMIN = 2462RESOURCE_USAGE_RESTRICTION_VIOLATED = 2563SYSTEM_PARAMETER_UNSUPPORTED = 2664ORG_RESTRICTION_VIOLATION = 2765ORG_RESTRICTION_HEADER_INVALID = 2866SERVICE_NOT_VISIBLE = 2967GCP_SUSPENDED = 3068LOCATION_POLICY_VIOLATED = 3169 70 71if _descriptor._USE_C_DESCRIPTORS == False:72 73 DESCRIPTOR._options = None74 DESCRIPTOR._serialized_options = b"\n\016com.google.apiB\020ErrorReasonProtoP\001ZCgoogle.golang.org/genproto/googleapis/api/error_reason;error_reason\242\002\004GAPI"75 _ERRORREASON._serialized_start = 4676 _ERRORREASON._serialized_end = 95277# @@protoc_insertion_point(module_scope)78 