# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: datasink.proto

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


import common_pb2 as common__pb2
import template_pb2 as template__pb2
import anonymize_pb2 as anonymize__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='datasink.proto',
  package='types',
  syntax='proto3',
  serialized_pb=_b('\n\x0e\x64\x61tasink.proto\x12\x05types\x1a\x0c\x63ommon.proto\x1a\x0etemplate.proto\x1a\x0f\x61nonymize.proto\"\x80\x01\n\x0f\x44\x61tasinkRequest\x12,\n\x0e\x61nalyzeResults\x18\x01 \x03(\x0b\x32\x14.types.AnalyzeResult\x12\x31\n\x0f\x61nonymizeResult\x18\x02 \x01(\x0b\x32\x18.types.AnonymizeResponse\x12\x0c\n\x04path\x18\x03 \x01(\t\"\x12\n\x10\x44\x61tasinkResponse\"\x13\n\x11\x43ompletionMessage*\x93\x01\n\x11\x44\x61tasinkTypesEnum\x12\t\n\x05mysql\x10\x00\x12\t\n\x05mssql\x10\x01\x12\x0c\n\x08postgres\x10\x02\x12\x0b\n\x07sqlite3\x10\x03\x12\n\n\x06oracle\x10\x04\x12\t\n\x05kafka\x10\x05\x12\x0c\n\x08\x65venthub\x10\x06\x12\x06\n\x02s3\x10\x07\x12\r\n\tazureblob\x10\x08\x12\x11\n\rgooglestorage\x10\t2\xcc\x01\n\x0f\x44\x61tasinkService\x12:\n\x05\x41pply\x12\x16.types.DatasinkRequest\x1a\x17.types.DatasinkResponse\"\x00\x12:\n\x04Init\x12\x17.types.DatasinkTemplate\x1a\x17.types.DatasinkResponse\"\x00\x12\x41\n\nCompletion\x12\x18.types.CompletionMessage\x1a\x17.types.DatasinkResponse\"\x00\x62\x06proto3')
  ,
  dependencies=[common__pb2.DESCRIPTOR,template__pb2.DESCRIPTOR,anonymize__pb2.DESCRIPTOR,])

_DATASINKTYPESENUM = _descriptor.EnumDescriptor(
  name='DatasinkTypesEnum',
  full_name='types.DatasinkTypesEnum',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='mysql', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='mssql', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='postgres', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='sqlite3', index=3, number=3,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='oracle', index=4, number=4,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='kafka', index=5, number=5,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='eventhub', index=6, number=6,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='s3', index=7, number=7,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='azureblob', index=8, number=8,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='googlestorage', index=9, number=9,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=245,
  serialized_end=392,
)
_sym_db.RegisterEnumDescriptor(_DATASINKTYPESENUM)

DatasinkTypesEnum = enum_type_wrapper.EnumTypeWrapper(_DATASINKTYPESENUM)
mysql = 0
mssql = 1
postgres = 2
sqlite3 = 3
oracle = 4
kafka = 5
eventhub = 6
s3 = 7
azureblob = 8
googlestorage = 9



_DATASINKREQUEST = _descriptor.Descriptor(
  name='DatasinkRequest',
  full_name='types.DatasinkRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='analyzeResults', full_name='types.DatasinkRequest.analyzeResults', index=0,
      number=1, type=11, cpp_type=10, 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),
    _descriptor.FieldDescriptor(
      name='anonymizeResult', full_name='types.DatasinkRequest.anonymizeResult', index=1,
      number=2, 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='path', full_name='types.DatasinkRequest.path', index=2,
      number=3, 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=73,
  serialized_end=201,
)


_DATASINKRESPONSE = _descriptor.Descriptor(
  name='DatasinkResponse',
  full_name='types.DatasinkResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=203,
  serialized_end=221,
)


_COMPLETIONMESSAGE = _descriptor.Descriptor(
  name='CompletionMessage',
  full_name='types.CompletionMessage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=223,
  serialized_end=242,
)

_DATASINKREQUEST.fields_by_name['analyzeResults'].message_type = common__pb2._ANALYZERESULT
_DATASINKREQUEST.fields_by_name['anonymizeResult'].message_type = anonymize__pb2._ANONYMIZERESPONSE
DESCRIPTOR.message_types_by_name['DatasinkRequest'] = _DATASINKREQUEST
DESCRIPTOR.message_types_by_name['DatasinkResponse'] = _DATASINKRESPONSE
DESCRIPTOR.message_types_by_name['CompletionMessage'] = _COMPLETIONMESSAGE
DESCRIPTOR.enum_types_by_name['DatasinkTypesEnum'] = _DATASINKTYPESENUM
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

DatasinkRequest = _reflection.GeneratedProtocolMessageType('DatasinkRequest', (_message.Message,), dict(
  DESCRIPTOR = _DATASINKREQUEST,
  __module__ = 'datasink_pb2'
  # @@protoc_insertion_point(class_scope:types.DatasinkRequest)
  ))
_sym_db.RegisterMessage(DatasinkRequest)

DatasinkResponse = _reflection.GeneratedProtocolMessageType('DatasinkResponse', (_message.Message,), dict(
  DESCRIPTOR = _DATASINKRESPONSE,
  __module__ = 'datasink_pb2'
  # @@protoc_insertion_point(class_scope:types.DatasinkResponse)
  ))
_sym_db.RegisterMessage(DatasinkResponse)

CompletionMessage = _reflection.GeneratedProtocolMessageType('CompletionMessage', (_message.Message,), dict(
  DESCRIPTOR = _COMPLETIONMESSAGE,
  __module__ = 'datasink_pb2'
  # @@protoc_insertion_point(class_scope:types.CompletionMessage)
  ))
_sym_db.RegisterMessage(CompletionMessage)



_DATASINKSERVICE = _descriptor.ServiceDescriptor(
  name='DatasinkService',
  full_name='types.DatasinkService',
  file=DESCRIPTOR,
  index=0,
  options=None,
  serialized_start=395,
  serialized_end=599,
  methods=[
  _descriptor.MethodDescriptor(
    name='Apply',
    full_name='types.DatasinkService.Apply',
    index=0,
    containing_service=None,
    input_type=_DATASINKREQUEST,
    output_type=_DATASINKRESPONSE,
    options=None,
  ),
  _descriptor.MethodDescriptor(
    name='Init',
    full_name='types.DatasinkService.Init',
    index=1,
    containing_service=None,
    input_type=template__pb2._DATASINKTEMPLATE,
    output_type=_DATASINKRESPONSE,
    options=None,
  ),
  _descriptor.MethodDescriptor(
    name='Completion',
    full_name='types.DatasinkService.Completion',
    index=2,
    containing_service=None,
    input_type=_COMPLETIONMESSAGE,
    output_type=_DATASINKRESPONSE,
    options=None,
  ),
])
_sym_db.RegisterServiceDescriptor(_DATASINKSERVICE)

DESCRIPTOR.services_by_name['DatasinkService'] = _DATASINKSERVICE

# @@protoc_insertion_point(module_scope)
