| 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/api/policy.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 descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 |
| 33 |
|
| 34 |
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile( |
| 35 |
b'\n\x17google/api/policy.proto\x12\ngoogle.api\x1a google/protobuf/descriptor.proto"S\n\x0b\x46ieldPolicy\x12\x10\n\x08selector\x18\x01 \x01(\t\x12\x1b\n\x13resource_permission\x18\x02 \x01(\t\x12\x15\n\rresource_type\x18\x03 \x01(\t"S\n\x0cMethodPolicy\x12\x10\n\x08selector\x18\t \x01(\t\x12\x31\n\x10request_policies\x18\x02 \x03(\x0b\x32\x17.google.api.FieldPolicy:O\n\x0c\x66ield_policy\x12\x1d.google.protobuf.FieldOptions\x18\xe8\xce\xc1K \x01(\x0b\x32\x17.google.api.FieldPolicy:R\n\rmethod_policy\x12\x1e.google.protobuf.MethodOptions\x18\xb5\x97\x99M \x01(\x0b\x32\x18.google.api.MethodPolicyBm\n\x0e\x63om.google.apiB\x0bPolicyProtoP\x01ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\xa2\x02\x04GAPIb\x06proto3' |
| 36 |
) |
| 37 |
|
| 38 |
_globals = globals() |
| 39 |
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) |
| 40 |
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, "google.api.policy_pb2", _globals) |
| 41 |
if _descriptor._USE_C_DESCRIPTORS == False: |
| 42 |
_globals["DESCRIPTOR"]._options = None |
| 43 |
_globals[ |
| 44 |
"DESCRIPTOR" |
| 45 |
]._serialized_options = b"\n\016com.google.apiB\013PolicyProtoP\001ZEgoogle.golang.org/genproto/googleapis/api/serviceconfig;serviceconfig\242\002\004GAPI" |
| 46 |
_globals["_FIELDPOLICY"]._serialized_start = 73 |
| 47 |
_globals["_FIELDPOLICY"]._serialized_end = 156 |
| 48 |
_globals["_METHODPOLICY"]._serialized_start = 158 |
| 49 |
_globals["_METHODPOLICY"]._serialized_end = 241 |
| 50 |
# @@protoc_insertion_point(module_scope) |