# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: kessel/inventory/v1beta1/authz/check.proto
# Protobuf Python Version: 6.31.0
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    6,
    31,
    0,
    '',
    'kessel/inventory/v1beta1/authz/check.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
from kessel.inventory.v1beta1.authz import common_pb2 as kessel_dot_inventory_dot_v1beta1_dot_authz_dot_common__pb2
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*kessel/inventory/v1beta1/authz/check.proto\x12\x1ekessel.inventory.v1beta1.authz\x1a\x1cgoogle/api/annotations.proto\x1a+kessel/inventory/v1beta1/authz/common.proto\x1a\x1b\x62uf/validate/validate.proto\"\xbd\x01\n\x0c\x43heckRequest\x12G\n\x06parent\x18\x01 \x01(\x0b\x32/.kessel.inventory.v1beta1.authz.ObjectReferenceB\x06\xbaH\x03\xc8\x01\x01\x12\x19\n\x08relation\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12I\n\x07subject\x18\x03 \x01(\x0b\x32\x30.kessel.inventory.v1beta1.authz.SubjectReferenceB\x06\xbaH\x03\xc8\x01\x01\"\xa0\x01\n\rCheckResponse\x12\x46\n\x07\x61llowed\x18\x01 \x01(\x0e\x32\x35.kessel.inventory.v1beta1.authz.CheckResponse.Allowed\"G\n\x07\x41llowed\x12\x17\n\x13\x41LLOWED_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x41LLOWED_TRUE\x10\x01\x12\x11\n\rALLOWED_FALSE\x10\x02\"\xc6\x01\n\x15\x43heckForUpdateRequest\x12G\n\x06parent\x18\x01 \x01(\x0b\x32/.kessel.inventory.v1beta1.authz.ObjectReferenceB\x06\xbaH\x03\xc8\x01\x01\x12\x19\n\x08relation\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12I\n\x07subject\x18\x03 \x01(\x0b\x32\x30.kessel.inventory.v1beta1.authz.SubjectReferenceB\x06\xbaH\x03\xc8\x01\x01\"\xb2\x01\n\x16\x43heckForUpdateResponse\x12O\n\x07\x61llowed\x18\x01 \x01(\x0e\x32>.kessel.inventory.v1beta1.authz.CheckForUpdateResponse.Allowed\"G\n\x07\x41llowed\x12\x17\n\x13\x41LLOWED_UNSPECIFIED\x10\x00\x12\x10\n\x0c\x41LLOWED_TRUE\x10\x01\x12\x11\n\rALLOWED_FALSE\x10\x02\x32\xe4\x02\n\x12KesselCheckService\x12\x93\x01\n\x05\x43heck\x12,.kessel.inventory.v1beta1.authz.CheckRequest\x1a-.kessel.inventory.v1beta1.authz.CheckResponse\"-\x82\xd3\xe4\x93\x02\'\"\"/api/inventory/v1beta1/authz/check:\x01*\x12\xb7\x01\n\x0e\x43heckForUpdate\x12\x35.kessel.inventory.v1beta1.authz.CheckForUpdateRequest\x1a\x36.kessel.inventory.v1beta1.authz.CheckForUpdateResponse\"6\x82\xd3\xe4\x93\x02\x30\"+/api/inventory/v1beta1/authz/checkforupdate:\x01*B~\n.org.project_kessel.api.inventory.v1beta1.authzP\x01ZJgithub.com/project-kessel/inventory-api/api/kessel/inventory/v1beta1/authzb\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'kessel.inventory.v1beta1.authz.check_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'\n.org.project_kessel.api.inventory.v1beta1.authzP\001ZJgithub.com/project-kessel/inventory-api/api/kessel/inventory/v1beta1/authz'
  _globals['_CHECKREQUEST'].fields_by_name['parent']._loaded_options = None
  _globals['_CHECKREQUEST'].fields_by_name['parent']._serialized_options = b'\272H\003\310\001\001'
  _globals['_CHECKREQUEST'].fields_by_name['relation']._loaded_options = None
  _globals['_CHECKREQUEST'].fields_by_name['relation']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_CHECKREQUEST'].fields_by_name['subject']._loaded_options = None
  _globals['_CHECKREQUEST'].fields_by_name['subject']._serialized_options = b'\272H\003\310\001\001'
  _globals['_CHECKFORUPDATEREQUEST'].fields_by_name['parent']._loaded_options = None
  _globals['_CHECKFORUPDATEREQUEST'].fields_by_name['parent']._serialized_options = b'\272H\003\310\001\001'
  _globals['_CHECKFORUPDATEREQUEST'].fields_by_name['relation']._loaded_options = None
  _globals['_CHECKFORUPDATEREQUEST'].fields_by_name['relation']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_CHECKFORUPDATEREQUEST'].fields_by_name['subject']._loaded_options = None
  _globals['_CHECKFORUPDATEREQUEST'].fields_by_name['subject']._serialized_options = b'\272H\003\310\001\001'
  _globals['_KESSELCHECKSERVICE'].methods_by_name['Check']._loaded_options = None
  _globals['_KESSELCHECKSERVICE'].methods_by_name['Check']._serialized_options = b'\202\323\344\223\002\'\"\"/api/inventory/v1beta1/authz/check:\001*'
  _globals['_KESSELCHECKSERVICE'].methods_by_name['CheckForUpdate']._loaded_options = None
  _globals['_KESSELCHECKSERVICE'].methods_by_name['CheckForUpdate']._serialized_options = b'\202\323\344\223\0020\"+/api/inventory/v1beta1/authz/checkforupdate:\001*'
  _globals['_CHECKREQUEST']._serialized_start=183
  _globals['_CHECKREQUEST']._serialized_end=372
  _globals['_CHECKRESPONSE']._serialized_start=375
  _globals['_CHECKRESPONSE']._serialized_end=535
  _globals['_CHECKRESPONSE_ALLOWED']._serialized_start=464
  _globals['_CHECKRESPONSE_ALLOWED']._serialized_end=535
  _globals['_CHECKFORUPDATEREQUEST']._serialized_start=538
  _globals['_CHECKFORUPDATEREQUEST']._serialized_end=736
  _globals['_CHECKFORUPDATERESPONSE']._serialized_start=739
  _globals['_CHECKFORUPDATERESPONSE']._serialized_end=917
  _globals['_CHECKFORUPDATERESPONSE_ALLOWED']._serialized_start=464
  _globals['_CHECKFORUPDATERESPONSE_ALLOWED']._serialized_end=535
  _globals['_KESSELCHECKSERVICE']._serialized_start=920
  _globals['_KESSELCHECKSERVICE']._serialized_end=1276
# @@protoc_insertion_point(module_scope)
