# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: video/coordinator/permissions/permissions.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/video/coordinator/permissions/permissions.proto\x12$stream.video.coordinator.permissions\x1a\x1fgoogle/protobuf/timestamp.proto\"9\n\x06\x41\x63tion\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04tags\x18\x03 \x03(\t\"\xb6\x01\n\nPermission\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x0e\n\x06\x61\x63tion\x18\x04 \x01(\t\x12G\n\x06simple\x18\x05 \x01(\x0b\x32\x35.stream.video.coordinator.permissions.SimpleConditionH\x00\x12\x13\n\tcustom_mq\x18\x06 \x01(\x0cH\x00\x42\x0b\n\tcondition\"3\n\x0fSimpleCondition\x12\r\n\x05owner\x18\x01 \x01(\x08\x12\x11\n\tsame_team\x18\x02 \x01(\x08\"D\n\x04Role\x12\x0c\n\x04name\x18\x01 \x01(\t\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xce\x01\n\x05Scope\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12G\n\x06grants\x18\x03 \x03(\x0b\x32\x37.stream.video.coordinator.permissions.Scope.GrantsEntry\x1a[\n\x0bGrantsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12;\n\x05value\x18\x02 \x01(\x0b\x32,.stream.video.coordinator.permissions.Grants:\x02\x38\x01\"+\n\x06Grants\x12\x0c\n\x04role\x18\x01 \x01(\t\x12\x13\n\x0bpermissions\x18\x02 \x03(\tB:B\x0bPermissionsP\x01Z\x0bpermissions\xaa\x02\x1bStream.Video.v1.Coordinatorb\x06proto3')

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'video.coordinator.permissions.permissions_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'B\013PermissionsP\001Z\013permissions\252\002\033Stream.Video.v1.Coordinator'
  _SCOPE_GRANTSENTRY._options = None
  _SCOPE_GRANTSENTRY._serialized_options = b'8\001'
  _ACTION._serialized_start=122
  _ACTION._serialized_end=179
  _PERMISSION._serialized_start=182
  _PERMISSION._serialized_end=364
  _SIMPLECONDITION._serialized_start=366
  _SIMPLECONDITION._serialized_end=417
  _ROLE._serialized_start=419
  _ROLE._serialized_end=487
  _SCOPE._serialized_start=490
  _SCOPE._serialized_end=696
  _SCOPE_GRANTSENTRY._serialized_start=605
  _SCOPE_GRANTSENTRY._serialized_end=696
  _GRANTS._serialized_start=698
  _GRANTS._serialized_end=741
# @@protoc_insertion_point(module_scope)
