# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: authzed/api/v1/schema.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
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 validate import validate_pb2 as validate_dot_validate__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='authzed/api/v1/schema.proto',
  package='authzed.api.v1',
  syntax='proto3',
  serialized_options=b'\n\022com.authzed.api.v1Z2github.com/authzed/authzed-go/proto/authzed/api/v1',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x1b\x61uthzed/api/v1/schema.proto\x12\x0e\x61uthzed.api.v1\x1a\x17validate/validate.proto\"\x13\n\x11ReadSchemaRequest\"5\n\x12ReadSchemaResponse\x12\x1f\n\x0bschema_text\x18\x01 \x01(\tR\nschemaText\"7\n\x12WriteSchemaRequest\x12!\n\x06schema\x18\x01 \x01(\tB\t\xfa\x42\x06r\x04(\x80\x80\x10R\x06schema\"\x15\n\x13WriteSchemaResponse2\xc0\x01\n\rSchemaService\x12U\n\nReadSchema\x12!.authzed.api.v1.ReadSchemaRequest\x1a\".authzed.api.v1.ReadSchemaResponse\"\x00\x12X\n\x0bWriteSchema\x12\".authzed.api.v1.WriteSchemaRequest\x1a#.authzed.api.v1.WriteSchemaResponse\"\x00\x42H\n\x12\x63om.authzed.api.v1Z2github.com/authzed/authzed-go/proto/authzed/api/v1b\x06proto3'
  ,
  dependencies=[validate_dot_validate__pb2.DESCRIPTOR,])




_READSCHEMAREQUEST = _descriptor.Descriptor(
  name='ReadSchemaRequest',
  full_name='authzed.api.v1.ReadSchemaRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=72,
  serialized_end=91,
)


_READSCHEMARESPONSE = _descriptor.Descriptor(
  name='ReadSchemaResponse',
  full_name='authzed.api.v1.ReadSchemaResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='schema_text', full_name='authzed.api.v1.ReadSchemaResponse.schema_text', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='schemaText', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=93,
  serialized_end=146,
)


_WRITESCHEMAREQUEST = _descriptor.Descriptor(
  name='WriteSchemaRequest',
  full_name='authzed.api.v1.WriteSchemaRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='schema', full_name='authzed.api.v1.WriteSchemaRequest.schema', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\372B\006r\004(\200\200\020', json_name='schema', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=148,
  serialized_end=203,
)


_WRITESCHEMARESPONSE = _descriptor.Descriptor(
  name='WriteSchemaResponse',
  full_name='authzed.api.v1.WriteSchemaResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=205,
  serialized_end=226,
)

DESCRIPTOR.message_types_by_name['ReadSchemaRequest'] = _READSCHEMAREQUEST
DESCRIPTOR.message_types_by_name['ReadSchemaResponse'] = _READSCHEMARESPONSE
DESCRIPTOR.message_types_by_name['WriteSchemaRequest'] = _WRITESCHEMAREQUEST
DESCRIPTOR.message_types_by_name['WriteSchemaResponse'] = _WRITESCHEMARESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ReadSchemaRequest = _reflection.GeneratedProtocolMessageType('ReadSchemaRequest', (_message.Message,), {
  'DESCRIPTOR' : _READSCHEMAREQUEST,
  '__module__' : 'authzed.api.v1.schema_pb2'
  # @@protoc_insertion_point(class_scope:authzed.api.v1.ReadSchemaRequest)
  })
_sym_db.RegisterMessage(ReadSchemaRequest)

ReadSchemaResponse = _reflection.GeneratedProtocolMessageType('ReadSchemaResponse', (_message.Message,), {
  'DESCRIPTOR' : _READSCHEMARESPONSE,
  '__module__' : 'authzed.api.v1.schema_pb2'
  # @@protoc_insertion_point(class_scope:authzed.api.v1.ReadSchemaResponse)
  })
_sym_db.RegisterMessage(ReadSchemaResponse)

WriteSchemaRequest = _reflection.GeneratedProtocolMessageType('WriteSchemaRequest', (_message.Message,), {
  'DESCRIPTOR' : _WRITESCHEMAREQUEST,
  '__module__' : 'authzed.api.v1.schema_pb2'
  # @@protoc_insertion_point(class_scope:authzed.api.v1.WriteSchemaRequest)
  })
_sym_db.RegisterMessage(WriteSchemaRequest)

WriteSchemaResponse = _reflection.GeneratedProtocolMessageType('WriteSchemaResponse', (_message.Message,), {
  'DESCRIPTOR' : _WRITESCHEMARESPONSE,
  '__module__' : 'authzed.api.v1.schema_pb2'
  # @@protoc_insertion_point(class_scope:authzed.api.v1.WriteSchemaResponse)
  })
_sym_db.RegisterMessage(WriteSchemaResponse)


DESCRIPTOR._options = None
_WRITESCHEMAREQUEST.fields_by_name['schema']._options = None

_SCHEMASERVICE = _descriptor.ServiceDescriptor(
  name='SchemaService',
  full_name='authzed.api.v1.SchemaService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=229,
  serialized_end=421,
  methods=[
  _descriptor.MethodDescriptor(
    name='ReadSchema',
    full_name='authzed.api.v1.SchemaService.ReadSchema',
    index=0,
    containing_service=None,
    input_type=_READSCHEMAREQUEST,
    output_type=_READSCHEMARESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='WriteSchema',
    full_name='authzed.api.v1.SchemaService.WriteSchema',
    index=1,
    containing_service=None,
    input_type=_WRITESCHEMAREQUEST,
    output_type=_WRITESCHEMARESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_SCHEMASERVICE)

DESCRIPTOR.services_by_name['SchemaService'] = _SCHEMASERVICE

# @@protoc_insertion_point(module_scope)

# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: authzed/api/v1/schema.proto
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
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 validate import validate_pb2 as validate_dot_validate__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='authzed/api/v1/schema.proto',
  package='authzed.api.v1',
  syntax='proto3',
  serialized_options=b'\n\022com.authzed.api.v1Z2github.com/authzed/authzed-go/proto/authzed/api/v1',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x1b\x61uthzed/api/v1/schema.proto\x12\x0e\x61uthzed.api.v1\x1a\x17validate/validate.proto\"\x13\n\x11ReadSchemaRequest\"5\n\x12ReadSchemaResponse\x12\x1f\n\x0bschema_text\x18\x01 \x01(\tR\nschemaText\"7\n\x12WriteSchemaRequest\x12!\n\x06schema\x18\x01 \x01(\tB\t\xfa\x42\x06r\x04(\x80\x80\x10R\x06schema\"\x15\n\x13WriteSchemaResponse2\xc0\x01\n\rSchemaService\x12U\n\nReadSchema\x12!.authzed.api.v1.ReadSchemaRequest\x1a\".authzed.api.v1.ReadSchemaResponse\"\x00\x12X\n\x0bWriteSchema\x12\".authzed.api.v1.WriteSchemaRequest\x1a#.authzed.api.v1.WriteSchemaResponse\"\x00\x42H\n\x12\x63om.authzed.api.v1Z2github.com/authzed/authzed-go/proto/authzed/api/v1b\x06proto3'
  ,
  dependencies=[validate_dot_validate__pb2.DESCRIPTOR,])




_READSCHEMAREQUEST = _descriptor.Descriptor(
  name='ReadSchemaRequest',
  full_name='authzed.api.v1.ReadSchemaRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=72,
  serialized_end=91,
)


_READSCHEMARESPONSE = _descriptor.Descriptor(
  name='ReadSchemaResponse',
  full_name='authzed.api.v1.ReadSchemaResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='schema_text', full_name='authzed.api.v1.ReadSchemaResponse.schema_text', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, json_name='schemaText', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=93,
  serialized_end=146,
)


_WRITESCHEMAREQUEST = _descriptor.Descriptor(
  name='WriteSchemaRequest',
  full_name='authzed.api.v1.WriteSchemaRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='schema', full_name='authzed.api.v1.WriteSchemaRequest.schema', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=b'\372B\006r\004(\200\200\020', json_name='schema', file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=148,
  serialized_end=203,
)


_WRITESCHEMARESPONSE = _descriptor.Descriptor(
  name='WriteSchemaResponse',
  full_name='authzed.api.v1.WriteSchemaResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=205,
  serialized_end=226,
)

DESCRIPTOR.message_types_by_name['ReadSchemaRequest'] = _READSCHEMAREQUEST
DESCRIPTOR.message_types_by_name['ReadSchemaResponse'] = _READSCHEMARESPONSE
DESCRIPTOR.message_types_by_name['WriteSchemaRequest'] = _WRITESCHEMAREQUEST
DESCRIPTOR.message_types_by_name['WriteSchemaResponse'] = _WRITESCHEMARESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ReadSchemaRequest = _reflection.GeneratedProtocolMessageType('ReadSchemaRequest', (_message.Message,), {
  'DESCRIPTOR' : _READSCHEMAREQUEST,
  '__module__' : 'authzed.api.v1.schema_pb2'
  # @@protoc_insertion_point(class_scope:authzed.api.v1.ReadSchemaRequest)
  })
_sym_db.RegisterMessage(ReadSchemaRequest)

ReadSchemaResponse = _reflection.GeneratedProtocolMessageType('ReadSchemaResponse', (_message.Message,), {
  'DESCRIPTOR' : _READSCHEMARESPONSE,
  '__module__' : 'authzed.api.v1.schema_pb2'
  # @@protoc_insertion_point(class_scope:authzed.api.v1.ReadSchemaResponse)
  })
_sym_db.RegisterMessage(ReadSchemaResponse)

WriteSchemaRequest = _reflection.GeneratedProtocolMessageType('WriteSchemaRequest', (_message.Message,), {
  'DESCRIPTOR' : _WRITESCHEMAREQUEST,
  '__module__' : 'authzed.api.v1.schema_pb2'
  # @@protoc_insertion_point(class_scope:authzed.api.v1.WriteSchemaRequest)
  })
_sym_db.RegisterMessage(WriteSchemaRequest)

WriteSchemaResponse = _reflection.GeneratedProtocolMessageType('WriteSchemaResponse', (_message.Message,), {
  'DESCRIPTOR' : _WRITESCHEMARESPONSE,
  '__module__' : 'authzed.api.v1.schema_pb2'
  # @@protoc_insertion_point(class_scope:authzed.api.v1.WriteSchemaResponse)
  })
_sym_db.RegisterMessage(WriteSchemaResponse)


DESCRIPTOR._options = None
_WRITESCHEMAREQUEST.fields_by_name['schema']._options = None

_SCHEMASERVICE = _descriptor.ServiceDescriptor(
  name='SchemaService',
  full_name='authzed.api.v1.SchemaService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=229,
  serialized_end=421,
  methods=[
  _descriptor.MethodDescriptor(
    name='ReadSchema',
    full_name='authzed.api.v1.SchemaService.ReadSchema',
    index=0,
    containing_service=None,
    input_type=_READSCHEMAREQUEST,
    output_type=_READSCHEMARESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='WriteSchema',
    full_name='authzed.api.v1.SchemaService.WriteSchema',
    index=1,
    containing_service=None,
    input_type=_WRITESCHEMAREQUEST,
    output_type=_WRITESCHEMARESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_SCHEMASERVICE)

DESCRIPTOR.services_by_name['SchemaService'] = _SCHEMASERVICE

# @@protoc_insertion_point(module_scope)

# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler.  DO NOT EDIT! # source: authzed/api/v1/schema.proto Generated protocol buffer code. # @@protoc_insertion_point(imports) #.authzed.api.v1.WriteSchemaResponse\"\x00\x42H\n\x12\x63om.authzed.api.v1Z2github.com/authzed/authzed-go/proto/authzed/api/v1b\x06proto3' # @@protoc_insertion_point(class_scope:authzed.api.v1.ReadSchemaRequest) # @@protoc_insertion_point(class_scope:authzed.api.v1.ReadSchemaResponse) # @@protoc_insertion_point(class_scope:authzed.api.v1.WriteSchemaRequest) # @@protoc_insertion_point(class_scope:authzed.api.v1.WriteSchemaResponse) # @@protoc_insertion_point(module_scope)