# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: cs3/auth/provider/v1beta1/resources.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from cs3.types.v1beta1 import types_pb2 as cs3_dot_types_dot_v1beta1_dot_types__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)cs3/auth/provider/v1beta1/resources.proto\x12\x19\x63s3.auth.provider.v1beta1\x1a\x1d\x63s3/types/v1beta1/types.proto\"h\n\x05Scope\x12\x30\n\x08resource\x18\x01 \x01(\x0b\x32\x1e.cs3.types.v1beta1.OpaqueEntry\x12-\n\x04role\x18\x02 \x01(\x0e\x32\x1f.cs3.auth.provider.v1beta1.Role*\x96\x01\n\x04Role\x12\x10\n\x0cROLE_INVALID\x10\x00\x12\x0e\n\nROLE_OWNER\x10\x01\x12\x0f\n\x0bROLE_LEGACY\x10\x02\x12\x0f\n\x0bROLE_VIEWER\x10\x03\x12\x0f\n\x0bROLE_EDITOR\x10\x04\x12\x14\n\x10ROLE_FILE_EDITOR\x10\x05\x12\x10\n\x0cROLE_COOWNER\x10\x06\x12\x11\n\rROLE_UPLOADER\x10\x07\x42\x80\x01\n\x1d\x63om.cs3.auth.provider.v1beta1B\x0eResourcesProtoP\x01Z\x0fproviderv1beta1\xa2\x02\x03\x43\x41P\xaa\x02\x19\x43s3.Auth.Provider.V1Beta1\xca\x02\x19\x43s3\\Auth\\Provider\\V1Beta1b\x06proto3')

_ROLE = DESCRIPTOR.enum_types_by_name['Role']
Role = enum_type_wrapper.EnumTypeWrapper(_ROLE)
ROLE_INVALID = 0
ROLE_OWNER = 1
ROLE_LEGACY = 2
ROLE_VIEWER = 3
ROLE_EDITOR = 4
ROLE_FILE_EDITOR = 5
ROLE_COOWNER = 6
ROLE_UPLOADER = 7


_SCOPE = DESCRIPTOR.message_types_by_name['Scope']
Scope = _reflection.GeneratedProtocolMessageType('Scope', (_message.Message,), {
  'DESCRIPTOR' : _SCOPE,
  '__module__' : 'cs3.auth.provider.v1beta1.resources_pb2'
  # @@protoc_insertion_point(class_scope:cs3.auth.provider.v1beta1.Scope)
  })
_sym_db.RegisterMessage(Scope)

if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\035com.cs3.auth.provider.v1beta1B\016ResourcesProtoP\001Z\017providerv1beta1\242\002\003CAP\252\002\031Cs3.Auth.Provider.V1Beta1\312\002\031Cs3\\Auth\\Provider\\V1Beta1'
  _ROLE._serialized_start=210
  _ROLE._serialized_end=360
  _SCOPE._serialized_start=103
  _SCOPE._serialized_end=207
# @@protoc_insertion_point(module_scope)
