# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: kikimr/public/api/protos/ydb_scripting.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
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from kikimr.public.api.protos import ydb_operation_pb2 as kikimr_dot_public_dot_api_dot_protos_dot_ydb__operation__pb2
from kikimr.public.api.protos import ydb_value_pb2 as kikimr_dot_public_dot_api_dot_protos_dot_ydb__value__pb2
from kikimr.public.api.protos import ydb_table_pb2 as kikimr_dot_public_dot_api_dot_protos_dot_ydb__table__pb2
from kikimr.public.api.protos import ydb_query_stats_pb2 as kikimr_dot_public_dot_api_dot_protos_dot_ydb__query__stats__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='kikimr/public/api/protos/ydb_scripting.proto',
  package='Ydb.Scripting',
  syntax='proto3',
  serialized_options=_b('\n\030com.yandex.ydb.scriptingB\017ScriptingProtos\370\001\001'),
  serialized_pb=_b('\n,kikimr/public/api/protos/ydb_scripting.proto\x12\rYdb.Scripting\x1a,kikimr/public/api/protos/ydb_operation.proto\x1a(kikimr/public/api/protos/ydb_value.proto\x1a(kikimr/public/api/protos/ydb_table.proto\x1a.kikimr/public/api/protos/ydb_query_stats.proto\"\xa5\x02\n\x11\x45xecuteYqlRequest\x12\x39\n\x10operation_params\x18\x01 \x01(\x0b\x32\x1f.Ydb.Operations.OperationParams\x12\x0e\n\x06script\x18\x02 \x01(\t\x12\x44\n\nparameters\x18\x03 \x03(\x0b\x32\x30.Ydb.Scripting.ExecuteYqlRequest.ParametersEntry\x12;\n\rcollect_stats\x18\x04 \x01(\x0e\x32$.Ydb.Table.QueryStatsCollection.Mode\x1a\x42\n\x0fParametersEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x1e\n\x05value\x18\x02 \x01(\x0b\x32\x0f.Ydb.TypedValue:\x02\x38\x01\"B\n\x12\x45xecuteYqlResponse\x12,\n\toperation\x18\x01 \x01(\x0b\x32\x19.Ydb.Operations.Operation\"h\n\x10\x45xecuteYqlResult\x12#\n\x0bresult_sets\x18\x01 \x03(\x0b\x32\x0e.Ydb.ResultSet\x12/\n\x0bquery_stats\x18\x02 \x01(\x0b\x32\x1a.Ydb.TableStats.QueryStatsB.\n\x18\x63om.yandex.ydb.scriptingB\x0fScriptingProtos\xf8\x01\x01\x62\x06proto3')
  ,
  dependencies=[kikimr_dot_public_dot_api_dot_protos_dot_ydb__operation__pb2.DESCRIPTOR,kikimr_dot_public_dot_api_dot_protos_dot_ydb__value__pb2.DESCRIPTOR,kikimr_dot_public_dot_api_dot_protos_dot_ydb__table__pb2.DESCRIPTOR,kikimr_dot_public_dot_api_dot_protos_dot_ydb__query__stats__pb2.DESCRIPTOR,])




_EXECUTEYQLREQUEST_PARAMETERSENTRY = _descriptor.Descriptor(
  name='ParametersEntry',
  full_name='Ydb.Scripting.ExecuteYqlRequest.ParametersEntry',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='Ydb.Scripting.ExecuteYqlRequest.ParametersEntry.key', 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, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='value', full_name='Ydb.Scripting.ExecuteYqlRequest.ParametersEntry.value', 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,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=_b('8\001'),
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=469,
  serialized_end=535,
)

_EXECUTEYQLREQUEST = _descriptor.Descriptor(
  name='ExecuteYqlRequest',
  full_name='Ydb.Scripting.ExecuteYqlRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='operation_params', full_name='Ydb.Scripting.ExecuteYqlRequest.operation_params', 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='script', full_name='Ydb.Scripting.ExecuteYqlRequest.script', index=1,
      number=2, 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, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='parameters', full_name='Ydb.Scripting.ExecuteYqlRequest.parameters', index=2,
      number=3, 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='collect_stats', full_name='Ydb.Scripting.ExecuteYqlRequest.collect_stats', index=3,
      number=4, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[_EXECUTEYQLREQUEST_PARAMETERSENTRY, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=242,
  serialized_end=535,
)


_EXECUTEYQLRESPONSE = _descriptor.Descriptor(
  name='ExecuteYqlResponse',
  full_name='Ydb.Scripting.ExecuteYqlResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='operation', full_name='Ydb.Scripting.ExecuteYqlResponse.operation', 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,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=537,
  serialized_end=603,
)


_EXECUTEYQLRESULT = _descriptor.Descriptor(
  name='ExecuteYqlResult',
  full_name='Ydb.Scripting.ExecuteYqlResult',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='result_sets', full_name='Ydb.Scripting.ExecuteYqlResult.result_sets', 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,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='query_stats', full_name='Ydb.Scripting.ExecuteYqlResult.query_stats', 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,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=605,
  serialized_end=709,
)

_EXECUTEYQLREQUEST_PARAMETERSENTRY.fields_by_name['value'].message_type = kikimr_dot_public_dot_api_dot_protos_dot_ydb__value__pb2._TYPEDVALUE
_EXECUTEYQLREQUEST_PARAMETERSENTRY.containing_type = _EXECUTEYQLREQUEST
_EXECUTEYQLREQUEST.fields_by_name['operation_params'].message_type = kikimr_dot_public_dot_api_dot_protos_dot_ydb__operation__pb2._OPERATIONPARAMS
_EXECUTEYQLREQUEST.fields_by_name['parameters'].message_type = _EXECUTEYQLREQUEST_PARAMETERSENTRY
_EXECUTEYQLREQUEST.fields_by_name['collect_stats'].enum_type = kikimr_dot_public_dot_api_dot_protos_dot_ydb__table__pb2._QUERYSTATSCOLLECTION_MODE
_EXECUTEYQLRESPONSE.fields_by_name['operation'].message_type = kikimr_dot_public_dot_api_dot_protos_dot_ydb__operation__pb2._OPERATION
_EXECUTEYQLRESULT.fields_by_name['result_sets'].message_type = kikimr_dot_public_dot_api_dot_protos_dot_ydb__value__pb2._RESULTSET
_EXECUTEYQLRESULT.fields_by_name['query_stats'].message_type = kikimr_dot_public_dot_api_dot_protos_dot_ydb__query__stats__pb2._QUERYSTATS
DESCRIPTOR.message_types_by_name['ExecuteYqlRequest'] = _EXECUTEYQLREQUEST
DESCRIPTOR.message_types_by_name['ExecuteYqlResponse'] = _EXECUTEYQLRESPONSE
DESCRIPTOR.message_types_by_name['ExecuteYqlResult'] = _EXECUTEYQLRESULT
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

ExecuteYqlRequest = _reflection.GeneratedProtocolMessageType('ExecuteYqlRequest', (_message.Message,), dict(

  ParametersEntry = _reflection.GeneratedProtocolMessageType('ParametersEntry', (_message.Message,), dict(
    DESCRIPTOR = _EXECUTEYQLREQUEST_PARAMETERSENTRY,
    __module__ = 'kikimr.public.api.protos.ydb_scripting_pb2'
    # @@protoc_insertion_point(class_scope:Ydb.Scripting.ExecuteYqlRequest.ParametersEntry)
    ))
  ,
  DESCRIPTOR = _EXECUTEYQLREQUEST,
  __module__ = 'kikimr.public.api.protos.ydb_scripting_pb2'
  # @@protoc_insertion_point(class_scope:Ydb.Scripting.ExecuteYqlRequest)
  ))
_sym_db.RegisterMessage(ExecuteYqlRequest)
_sym_db.RegisterMessage(ExecuteYqlRequest.ParametersEntry)

ExecuteYqlResponse = _reflection.GeneratedProtocolMessageType('ExecuteYqlResponse', (_message.Message,), dict(
  DESCRIPTOR = _EXECUTEYQLRESPONSE,
  __module__ = 'kikimr.public.api.protos.ydb_scripting_pb2'
  # @@protoc_insertion_point(class_scope:Ydb.Scripting.ExecuteYqlResponse)
  ))
_sym_db.RegisterMessage(ExecuteYqlResponse)

ExecuteYqlResult = _reflection.GeneratedProtocolMessageType('ExecuteYqlResult', (_message.Message,), dict(
  DESCRIPTOR = _EXECUTEYQLRESULT,
  __module__ = 'kikimr.public.api.protos.ydb_scripting_pb2'
  # @@protoc_insertion_point(class_scope:Ydb.Scripting.ExecuteYqlResult)
  ))
_sym_db.RegisterMessage(ExecuteYqlResult)


DESCRIPTOR._options = None
_EXECUTEYQLREQUEST_PARAMETERSENTRY._options = None
# @@protoc_insertion_point(module_scope)
