# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: kessel/inventory/v1beta1/authz/common.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/common.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+kessel/inventory/v1beta1/authz/common.proto\x12\x1ekessel.inventory.v1beta1.authz\x1a\x1b\x62uf/validate/validate.proto\"\xbf\x01\n\x0cRelationship\x12I\n\x08resource\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\"\x80\x01\n\x10SubjectReference\x12\x15\n\x08relation\x18\x01 \x01(\tH\x00\x88\x01\x01\x12H\n\x07subject\x18\x02 \x01(\x0b\x32/.kessel.inventory.v1beta1.authz.ObjectReferenceB\x06\xbaH\x03\xc8\x01\x01\x42\x0b\n\t_relation\"c\n\x11RequestPagination\x12\x16\n\x05limit\x18\x01 \x01(\rB\x07\xbaH\x04*\x02 \x00\x12\x1f\n\x12\x63ontinuation_token\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x15\n\x13_continuation_token\"0\n\x12ResponsePagination\x12\x1a\n\x12\x63ontinuation_token\x18\x01 \x01(\t\"h\n\x0fObjectReference\x12@\n\x04type\x18\x01 \x01(\x0b\x32*.kessel.inventory.v1beta1.authz.ObjectTypeB\x06\xbaH\x03\xc8\x01\x01\x12\x13\n\x02id\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\"?\n\nObjectType\x12\x1a\n\tnamespace\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x12\x15\n\x04name\x18\x02 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\"\x97\x01\n\x0b\x43onsistency\x12#\n\x10minimize_latency\x18\x01 \x01(\x08\x42\x07\xbaH\x04j\x02\x08\x01H\x00\x12M\n\x11\x61t_least_as_fresh\x18\x02 \x01(\x0b\x32\x30.kessel.inventory.v1beta1.authz.ConsistencyTokenH\x00\x42\x14\n\x0brequirement\x12\x05\xbaH\x02\x08\x01\"*\n\x10\x43onsistencyToken\x12\x16\n\x05token\x18\x01 \x01(\tB\x07\xbaH\x04r\x02\x10\x01\x42~\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.common_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['_RELATIONSHIP'].fields_by_name['resource']._loaded_options = None
  _globals['_RELATIONSHIP'].fields_by_name['resource']._serialized_options = b'\272H\003\310\001\001'
  _globals['_RELATIONSHIP'].fields_by_name['relation']._loaded_options = None
  _globals['_RELATIONSHIP'].fields_by_name['relation']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_RELATIONSHIP'].fields_by_name['subject']._loaded_options = None
  _globals['_RELATIONSHIP'].fields_by_name['subject']._serialized_options = b'\272H\003\310\001\001'
  _globals['_SUBJECTREFERENCE'].fields_by_name['subject']._loaded_options = None
  _globals['_SUBJECTREFERENCE'].fields_by_name['subject']._serialized_options = b'\272H\003\310\001\001'
  _globals['_REQUESTPAGINATION'].fields_by_name['limit']._loaded_options = None
  _globals['_REQUESTPAGINATION'].fields_by_name['limit']._serialized_options = b'\272H\004*\002 \000'
  _globals['_OBJECTREFERENCE'].fields_by_name['type']._loaded_options = None
  _globals['_OBJECTREFERENCE'].fields_by_name['type']._serialized_options = b'\272H\003\310\001\001'
  _globals['_OBJECTREFERENCE'].fields_by_name['id']._loaded_options = None
  _globals['_OBJECTREFERENCE'].fields_by_name['id']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_OBJECTTYPE'].fields_by_name['namespace']._loaded_options = None
  _globals['_OBJECTTYPE'].fields_by_name['namespace']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_OBJECTTYPE'].fields_by_name['name']._loaded_options = None
  _globals['_OBJECTTYPE'].fields_by_name['name']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_CONSISTENCY'].oneofs_by_name['requirement']._loaded_options = None
  _globals['_CONSISTENCY'].oneofs_by_name['requirement']._serialized_options = b'\272H\002\010\001'
  _globals['_CONSISTENCY'].fields_by_name['minimize_latency']._loaded_options = None
  _globals['_CONSISTENCY'].fields_by_name['minimize_latency']._serialized_options = b'\272H\004j\002\010\001'
  _globals['_CONSISTENCYTOKEN'].fields_by_name['token']._loaded_options = None
  _globals['_CONSISTENCYTOKEN'].fields_by_name['token']._serialized_options = b'\272H\004r\002\020\001'
  _globals['_RELATIONSHIP']._serialized_start=109
  _globals['_RELATIONSHIP']._serialized_end=300
  _globals['_SUBJECTREFERENCE']._serialized_start=303
  _globals['_SUBJECTREFERENCE']._serialized_end=431
  _globals['_REQUESTPAGINATION']._serialized_start=433
  _globals['_REQUESTPAGINATION']._serialized_end=532
  _globals['_RESPONSEPAGINATION']._serialized_start=534
  _globals['_RESPONSEPAGINATION']._serialized_end=582
  _globals['_OBJECTREFERENCE']._serialized_start=584
  _globals['_OBJECTREFERENCE']._serialized_end=688
  _globals['_OBJECTTYPE']._serialized_start=690
  _globals['_OBJECTTYPE']._serialized_end=753
  _globals['_CONSISTENCY']._serialized_start=756
  _globals['_CONSISTENCY']._serialized_end=907
  _globals['_CONSISTENCYTOKEN']._serialized_start=909
  _globals['_CONSISTENCYTOKEN']._serialized_end=951
# @@protoc_insertion_point(module_scope)
