| 1 |
# -*- coding: utf-8 -*- |
| 2 |
|
| 3 |
# Copyright 2025 Google LLC |
| 4 |
# |
| 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 at |
| 8 |
# |
| 9 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 10 |
# |
| 11 |
# Unless required by applicable law or agreed to in writing, software |
| 12 |
# 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 and |
| 15 |
# limitations under the License. |
| 16 |
|
| 17 |
# Generated by the protocol buffer compiler. DO NOT EDIT! |
| 18 |
# source: google/rpc/error_details.proto |
| 19 |
# Protobuf Python Version: 4.25.3 |
| 20 |
"""Generated protocol buffer code.""" |
| 21 |
|
| 22 |
from google.protobuf import descriptor as _descriptor |
| 23 |
from google.protobuf import descriptor_pool as _descriptor_pool |
| 24 |
from google.protobuf import symbol_database as _symbol_database |
| 25 |
from google.protobuf.internal import builder as _builder |
| 26 |
|
| 27 |
# @@protoc_insertion_point(imports) |
| 28 |
|
| 29 |
_sym_db = _symbol_database.Default() |
| 30 |
|
| 31 |
|
| 32 |
from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb2 |
| 33 |
|
| 34 |
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( |
| 35 |
b'\n\x1egoogle/rpc/error_details.proto\x12\ngoogle.rpc\x1a\x1egoogle/protobuf/duration.proto"\x93\x01\n\tErrorInfo\x12\x0e\n\x06reason\x18\x01 \x01(\t\x12\x0e\n\x06\x64omain\x18\x02 \x01(\t\x12\x35\n\x08metadata\x18\x03 \x03(\x0b\x32#.google.rpc.ErrorInfo.MetadataEntry\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01";\n\tRetryInfo\x12.\n\x0bretry_delay\x18\x01 \x01(\x0b\x32\x19.google.protobuf.Duration"2\n\tDebugInfo\x12\x15\n\rstack_entries\x18\x01 \x03(\t\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\t"\x8f\x03\n\x0cQuotaFailure\x12\x36\n\nviolations\x18\x01 \x03(\x0b\x32".google.rpc.QuotaFailure.Violation\x1a\xc6\x02\n\tViolation\x12\x0f\n\x07subject\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x13\n\x0b\x61pi_service\x18\x03 \x01(\t\x12\x14\n\x0cquota_metric\x18\x04 \x01(\t\x12\x10\n\x08quota_id\x18\x05 \x01(\t\x12Q\n\x10quota_dimensions\x18\x06 \x03(\x0b\x32\x37.google.rpc.QuotaFailure.Violation.QuotaDimensionsEntry\x12\x13\n\x0bquota_value\x18\x07 \x01(\x03\x12\x1f\n\x12\x66uture_quota_value\x18\x08 \x01(\x03H\x00\x88\x01\x01\x1a\x36\n\x14QuotaDimensionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x15\n\x13_future_quota_value"\x95\x01\n\x13PreconditionFailure\x12=\n\nviolations\x18\x01 \x03(\x0b\x32).google.rpc.PreconditionFailure.Violation\x1a?\n\tViolation\x12\x0c\n\x04type\x18\x01 \x01(\t\x12\x0f\n\x07subject\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t"\xcc\x01\n\nBadRequest\x12?\n\x10\x66ield_violations\x18\x01 \x03(\x0b\x32%.google.rpc.BadRequest.FieldViolation\x1a}\n\x0e\x46ieldViolation\x12\r\n\x05\x66ield\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0e\n\x06reason\x18\x03 \x01(\t\x12\x37\n\x11localized_message\x18\x04 \x01(\x0b\x32\x1c.google.rpc.LocalizedMessage"7\n\x0bRequestInfo\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x14\n\x0cserving_data\x18\x02 \x01(\t"`\n\x0cResourceInfo\x12\x15\n\rresource_type\x18\x01 \x01(\t\x12\x15\n\rresource_name\x18\x02 \x01(\t\x12\r\n\x05owner\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t"V\n\x04Help\x12$\n\x05links\x18\x01 \x03(\x0b\x32\x15.google.rpc.Help.Link\x1a(\n\x04Link\x12\x13\n\x0b\x64\x65scription\x18\x01 \x01(\t\x12\x0b\n\x03url\x18\x02 \x01(\t"3\n\x10LocalizedMessage\x12\x0e\n\x06locale\x18\x01 \x01(\t\x12\x0f\n\x07message\x18\x02 \x01(\tBl\n\x0e\x63om.google.rpcB\x11\x45rrorDetailsProtoP\x01Z?google.golang.org/genproto/googleapis/rpc/errdetails;errdetails\xa2\x02\x03RPCb\x06proto3' |
| 36 |
) |
| 37 |
|
| 38 |
_globals = globals() |
| 39 |
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) |
| 40 |
_builder.BuildTopDescriptorsAndMessages( |
| 41 |
DESCRIPTOR, "google.rpc.error_details_pb2", _globals |
| 42 |
) |
| 43 |
if _descriptor._USE_C_DESCRIPTORS == False: |
| 44 |
_globals["DESCRIPTOR"]._options = None |
| 45 |
_globals[ |
| 46 |
"DESCRIPTOR" |
| 47 |
]._serialized_options = b"\n\016com.google.rpcB\021ErrorDetailsProtoP\001Z?google.golang.org/genproto/googleapis/rpc/errdetails;errdetails\242\002\003RPC" |
| 48 |
_globals["_ERRORINFO_METADATAENTRY"]._options = None |
| 49 |
_globals["_ERRORINFO_METADATAENTRY"]._serialized_options = b"8\001" |
| 50 |
_globals["_QUOTAFAILURE_VIOLATION_QUOTADIMENSIONSENTRY"]._options = None |
| 51 |
_globals[ |
| 52 |
"_QUOTAFAILURE_VIOLATION_QUOTADIMENSIONSENTRY" |
| 53 |
]._serialized_options = b"8\001" |
| 54 |
_globals["_ERRORINFO"]._serialized_start = 79 |
| 55 |
_globals["_ERRORINFO"]._serialized_end = 226 |
| 56 |
_globals["_ERRORINFO_METADATAENTRY"]._serialized_start = 179 |
| 57 |
_globals["_ERRORINFO_METADATAENTRY"]._serialized_end = 226 |
| 58 |
_globals["_RETRYINFO"]._serialized_start = 228 |
| 59 |
_globals["_RETRYINFO"]._serialized_end = 287 |
| 60 |
_globals["_DEBUGINFO"]._serialized_start = 289 |
| 61 |
_globals["_DEBUGINFO"]._serialized_end = 339 |
| 62 |
_globals["_QUOTAFAILURE"]._serialized_start = 342 |
| 63 |
_globals["_QUOTAFAILURE"]._serialized_end = 741 |
| 64 |
_globals["_QUOTAFAILURE_VIOLATION"]._serialized_start = 415 |
| 65 |
_globals["_QUOTAFAILURE_VIOLATION"]._serialized_end = 741 |
| 66 |
_globals["_QUOTAFAILURE_VIOLATION_QUOTADIMENSIONSENTRY"]._serialized_start = 664 |
| 67 |
_globals["_QUOTAFAILURE_VIOLATION_QUOTADIMENSIONSENTRY"]._serialized_end = 718 |
| 68 |
_globals["_PRECONDITIONFAILURE"]._serialized_start = 744 |
| 69 |
_globals["_PRECONDITIONFAILURE"]._serialized_end = 893 |
| 70 |
_globals["_PRECONDITIONFAILURE_VIOLATION"]._serialized_start = 830 |
| 71 |
_globals["_PRECONDITIONFAILURE_VIOLATION"]._serialized_end = 893 |
| 72 |
_globals["_BADREQUEST"]._serialized_start = 896 |
| 73 |
_globals["_BADREQUEST"]._serialized_end = 1100 |
| 74 |
_globals["_BADREQUEST_FIELDVIOLATION"]._serialized_start = 975 |
| 75 |
_globals["_BADREQUEST_FIELDVIOLATION"]._serialized_end = 1100 |
| 76 |
_globals["_REQUESTINFO"]._serialized_start = 1102 |
| 77 |
_globals["_REQUESTINFO"]._serialized_end = 1157 |
| 78 |
_globals["_RESOURCEINFO"]._serialized_start = 1159 |
| 79 |
_globals["_RESOURCEINFO"]._serialized_end = 1255 |
| 80 |
_globals["_HELP"]._serialized_start = 1257 |
| 81 |
_globals["_HELP"]._serialized_end = 1343 |
| 82 |
_globals["_HELP_LINK"]._serialized_start = 1303 |
| 83 |
_globals["_HELP_LINK"]._serialized_end = 1343 |
| 84 |
_globals["_LOCALIZEDMESSAGE"]._serialized_start = 1345 |
| 85 |
_globals["_LOCALIZEDMESSAGE"]._serialized_end = 1396 |
| 86 |
# @@protoc_insertion_point(module_scope) |