# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: capsule8/api/v0/nyql_service.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
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
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from capsule8.api.v0 import subscription_pb2 as capsule8_dot_api_dot_v0_dot_subscription__pb2
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='capsule8/api/v0/nyql_service.proto',
  package='capsule8.api.v0',
  syntax='proto3',
  serialized_pb=_b('\n\"capsule8/api/v0/nyql_service.proto\x12\x0f\x63\x61psule8.api.v0\x1a\"capsule8/api/v0/subscription.proto\x1a\x1cgoogle/api/annotations.proto\"*\n\x19\x43reateSubscriptionRequest\x12\r\n\x05query\x18\x01 \x01(\t\"a\n\x1a\x43reateSubscriptionResponse\x12\x33\n\x0csubscription\x18\x01 \x01(\x0b\x32\x1d.capsule8.api.v0.Subscription\x12\x0e\n\x06\x65rrors\x18\x02 \x03(\t2\x9f\x01\n\x0bNYQLService\x12\x8f\x01\n\x12\x43reateSubscription\x12*.capsule8.api.v0.CreateSubscriptionRequest\x1a+.capsule8.api.v0.CreateSubscriptionResponse\" \x82\xd3\xe4\x93\x02\x1a\"\x15/v0/nyql/subscription:\x01*B\x1cZ\x1agithub.com/capsule8/api/v0b\x06proto3')
  ,
  dependencies=[capsule8_dot_api_dot_v0_dot_subscription__pb2.DESCRIPTOR,google_dot_api_dot_annotations__pb2.DESCRIPTOR,])




_CREATESUBSCRIPTIONREQUEST = _descriptor.Descriptor(
  name='CreateSubscriptionRequest',
  full_name='capsule8.api.v0.CreateSubscriptionRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='query', full_name='capsule8.api.v0.CreateSubscriptionRequest.query', 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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=121,
  serialized_end=163,
)


_CREATESUBSCRIPTIONRESPONSE = _descriptor.Descriptor(
  name='CreateSubscriptionResponse',
  full_name='capsule8.api.v0.CreateSubscriptionResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='subscription', full_name='capsule8.api.v0.CreateSubscriptionResponse.subscription', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='errors', full_name='capsule8.api.v0.CreateSubscriptionResponse.errors', index=1,
      number=2, type=9, cpp_type=9, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=165,
  serialized_end=262,
)

_CREATESUBSCRIPTIONRESPONSE.fields_by_name['subscription'].message_type = capsule8_dot_api_dot_v0_dot_subscription__pb2._SUBSCRIPTION
DESCRIPTOR.message_types_by_name['CreateSubscriptionRequest'] = _CREATESUBSCRIPTIONREQUEST
DESCRIPTOR.message_types_by_name['CreateSubscriptionResponse'] = _CREATESUBSCRIPTIONRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

CreateSubscriptionRequest = _reflection.GeneratedProtocolMessageType('CreateSubscriptionRequest', (_message.Message,), dict(
  DESCRIPTOR = _CREATESUBSCRIPTIONREQUEST,
  __module__ = 'capsule8.api.v0.nyql_service_pb2'
  # @@protoc_insertion_point(class_scope:capsule8.api.v0.CreateSubscriptionRequest)
  ))
_sym_db.RegisterMessage(CreateSubscriptionRequest)

CreateSubscriptionResponse = _reflection.GeneratedProtocolMessageType('CreateSubscriptionResponse', (_message.Message,), dict(
  DESCRIPTOR = _CREATESUBSCRIPTIONRESPONSE,
  __module__ = 'capsule8.api.v0.nyql_service_pb2'
  # @@protoc_insertion_point(class_scope:capsule8.api.v0.CreateSubscriptionResponse)
  ))
_sym_db.RegisterMessage(CreateSubscriptionResponse)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('Z\032github.com/capsule8/api/v0'))

_NYQLSERVICE = _descriptor.ServiceDescriptor(
  name='NYQLService',
  full_name='capsule8.api.v0.NYQLService',
  file=DESCRIPTOR,
  index=0,
  options=None,
  serialized_start=265,
  serialized_end=424,
  methods=[
  _descriptor.MethodDescriptor(
    name='CreateSubscription',
    full_name='capsule8.api.v0.NYQLService.CreateSubscription',
    index=0,
    containing_service=None,
    input_type=_CREATESUBSCRIPTIONREQUEST,
    output_type=_CREATESUBSCRIPTIONRESPONSE,
    options=_descriptor._ParseOptions(descriptor_pb2.MethodOptions(), _b('\202\323\344\223\002\032\"\025/v0/nyql/subscription:\001*')),
  ),
])
_sym_db.RegisterServiceDescriptor(_NYQLSERVICE)

DESCRIPTOR.services_by_name['NYQLService'] = _NYQLSERVICE

# @@protoc_insertion_point(module_scope)
