# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: constraints.proto
"""Generated protocol buffer code."""
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
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from . import messages_pb2 as messages__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='constraints.proto',
  package='',
  syntax='proto3',
  serialized_options=b'\n\033com.whylogs.core.constraintB\013ConstraintsP\001',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x11\x63onstraints.proto\x1a\x0emessages.proto\"\x8e\x01\n\x14SummaryConstraintMsg\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x66irst_field\x18\x02 \x01(\t\x12\x16\n\x0csecond_field\x18\x03 \x01(\tH\x00\x12\x0f\n\x05value\x18\x04 \x01(\x01H\x00\x12\x0f\n\x02op\x18\x05 \x01(\x0e\x32\x03.Op\x12\x0f\n\x07verbose\x18\x06 \x01(\x08\x42\x08\n\x06second\"S\n\x12ValueConstraintMsg\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\x01\x12\x0f\n\x02op\x18\x03 \x01(\x0e\x32\x03.Op\x12\x0f\n\x07verbose\x18\x04 \x01(\x08\"?\n\x13ValueConstraintMsgs\x12(\n\x0b\x63onstraints\x18\x01 \x03(\x0b\x32\x13.ValueConstraintMsg\"C\n\x15SummaryConstraintMsgs\x12*\n\x0b\x63onstraints\x18\x01 \x03(\x0b\x32\x15.SummaryConstraintMsg\"\xf4\x02\n\x14\x44\x61tasetConstraintMsg\x12&\n\nproperties\x18\x01 \x01(\x0b\x32\x12.DatasetProperties\x12\x46\n\x11value_constraints\x18\x02 \x03(\x0b\x32+.DatasetConstraintMsg.ValueConstraintsEntry\x12J\n\x13summary_constraints\x18\x03 \x03(\x0b\x32-.DatasetConstraintMsg.SummaryConstraintsEntry\x1aM\n\x15ValueConstraintsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12#\n\x05value\x18\x02 \x01(\x0b\x32\x14.ValueConstraintMsgs:\x02\x38\x01\x1aQ\n\x17SummaryConstraintsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.SummaryConstraintMsgs:\x02\x38\x01*@\n\x02Op\x12\n\n\x06unused\x10\x00\x12\x06\n\x02LT\x10\x01\x12\x06\n\x02LE\x10\x02\x12\x06\n\x02\x45Q\x10\x03\x12\x06\n\x02NE\x10\x04\x12\x06\n\x02GE\x10\x05\x12\x06\n\x02GT\x10\x06\x42,\n\x1b\x63om.whylogs.core.constraintB\x0b\x43onstraintsP\x01\x62\x06proto3'
  ,
  dependencies=[messages__pb2.DESCRIPTOR,])

_OP = _descriptor.EnumDescriptor(
  name='Op',
  full_name='Op',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='unused', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='LT', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='LE', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='EQ', index=3, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='NE', index=4, number=4,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='GE', index=5, number=5,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='GT', index=6, number=6,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=776,
  serialized_end=840,
)
_sym_db.RegisterEnumDescriptor(_OP)

Op = enum_type_wrapper.EnumTypeWrapper(_OP)
unused = 0
LT = 1
LE = 2
EQ = 3
NE = 4
GE = 5
GT = 6



_SUMMARYCONSTRAINTMSG = _descriptor.Descriptor(
  name='SummaryConstraintMsg',
  full_name='SummaryConstraintMsg',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='SummaryConstraintMsg.name', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='first_field', full_name='SummaryConstraintMsg.first_field', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='second_field', full_name='SummaryConstraintMsg.second_field', 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,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value', full_name='SummaryConstraintMsg.value', index=3,
      number=4, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='op', full_name='SummaryConstraintMsg.op', index=4,
      number=5, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='verbose', full_name='SummaryConstraintMsg.verbose', index=5,
      number=6, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='second', full_name='SummaryConstraintMsg.second',
      index=0, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
  ],
  serialized_start=38,
  serialized_end=180,
)


_VALUECONSTRAINTMSG = _descriptor.Descriptor(
  name='ValueConstraintMsg',
  full_name='ValueConstraintMsg',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='ValueConstraintMsg.name', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value', full_name='ValueConstraintMsg.value', index=1,
      number=2, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='op', full_name='ValueConstraintMsg.op', index=2,
      number=3, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='verbose', full_name='ValueConstraintMsg.verbose', index=3,
      number=4, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, 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=182,
  serialized_end=265,
)


_VALUECONSTRAINTMSGS = _descriptor.Descriptor(
  name='ValueConstraintMsgs',
  full_name='ValueConstraintMsgs',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='constraints', full_name='ValueConstraintMsgs.constraints', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=267,
  serialized_end=330,
)


_SUMMARYCONSTRAINTMSGS = _descriptor.Descriptor(
  name='SummaryConstraintMsgs',
  full_name='SummaryConstraintMsgs',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='constraints', full_name='SummaryConstraintMsgs.constraints', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=332,
  serialized_end=399,
)


_DATASETCONSTRAINTMSG_VALUECONSTRAINTSENTRY = _descriptor.Descriptor(
  name='ValueConstraintsEntry',
  full_name='DatasetConstraintMsg.ValueConstraintsEntry',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='DatasetConstraintMsg.ValueConstraintsEntry.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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value', full_name='DatasetConstraintMsg.ValueConstraintsEntry.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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=b'8\001',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=614,
  serialized_end=691,
)

_DATASETCONSTRAINTMSG_SUMMARYCONSTRAINTSENTRY = _descriptor.Descriptor(
  name='SummaryConstraintsEntry',
  full_name='DatasetConstraintMsg.SummaryConstraintsEntry',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='DatasetConstraintMsg.SummaryConstraintsEntry.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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value', full_name='DatasetConstraintMsg.SummaryConstraintsEntry.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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=b'8\001',
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=693,
  serialized_end=774,
)

_DATASETCONSTRAINTMSG = _descriptor.Descriptor(
  name='DatasetConstraintMsg',
  full_name='DatasetConstraintMsg',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='properties', full_name='DatasetConstraintMsg.properties', 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='value_constraints', full_name='DatasetConstraintMsg.value_constraints', index=1,
      number=2, 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,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='summary_constraints', full_name='DatasetConstraintMsg.summary_constraints', 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[_DATASETCONSTRAINTMSG_VALUECONSTRAINTSENTRY, _DATASETCONSTRAINTMSG_SUMMARYCONSTRAINTSENTRY, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=402,
  serialized_end=774,
)

_SUMMARYCONSTRAINTMSG.fields_by_name['op'].enum_type = _OP
_SUMMARYCONSTRAINTMSG.oneofs_by_name['second'].fields.append(
  _SUMMARYCONSTRAINTMSG.fields_by_name['second_field'])
_SUMMARYCONSTRAINTMSG.fields_by_name['second_field'].containing_oneof = _SUMMARYCONSTRAINTMSG.oneofs_by_name['second']
_SUMMARYCONSTRAINTMSG.oneofs_by_name['second'].fields.append(
  _SUMMARYCONSTRAINTMSG.fields_by_name['value'])
_SUMMARYCONSTRAINTMSG.fields_by_name['value'].containing_oneof = _SUMMARYCONSTRAINTMSG.oneofs_by_name['second']
_VALUECONSTRAINTMSG.fields_by_name['op'].enum_type = _OP
_VALUECONSTRAINTMSGS.fields_by_name['constraints'].message_type = _VALUECONSTRAINTMSG
_SUMMARYCONSTRAINTMSGS.fields_by_name['constraints'].message_type = _SUMMARYCONSTRAINTMSG
_DATASETCONSTRAINTMSG_VALUECONSTRAINTSENTRY.fields_by_name['value'].message_type = _VALUECONSTRAINTMSGS
_DATASETCONSTRAINTMSG_VALUECONSTRAINTSENTRY.containing_type = _DATASETCONSTRAINTMSG
_DATASETCONSTRAINTMSG_SUMMARYCONSTRAINTSENTRY.fields_by_name['value'].message_type = _SUMMARYCONSTRAINTMSGS
_DATASETCONSTRAINTMSG_SUMMARYCONSTRAINTSENTRY.containing_type = _DATASETCONSTRAINTMSG
_DATASETCONSTRAINTMSG.fields_by_name['properties'].message_type = messages__pb2._DATASETPROPERTIES
_DATASETCONSTRAINTMSG.fields_by_name['value_constraints'].message_type = _DATASETCONSTRAINTMSG_VALUECONSTRAINTSENTRY
_DATASETCONSTRAINTMSG.fields_by_name['summary_constraints'].message_type = _DATASETCONSTRAINTMSG_SUMMARYCONSTRAINTSENTRY
DESCRIPTOR.message_types_by_name['SummaryConstraintMsg'] = _SUMMARYCONSTRAINTMSG
DESCRIPTOR.message_types_by_name['ValueConstraintMsg'] = _VALUECONSTRAINTMSG
DESCRIPTOR.message_types_by_name['ValueConstraintMsgs'] = _VALUECONSTRAINTMSGS
DESCRIPTOR.message_types_by_name['SummaryConstraintMsgs'] = _SUMMARYCONSTRAINTMSGS
DESCRIPTOR.message_types_by_name['DatasetConstraintMsg'] = _DATASETCONSTRAINTMSG
DESCRIPTOR.enum_types_by_name['Op'] = _OP
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

SummaryConstraintMsg = _reflection.GeneratedProtocolMessageType('SummaryConstraintMsg', (_message.Message,), {
  'DESCRIPTOR' : _SUMMARYCONSTRAINTMSG,
  '__module__' : 'constraints_pb2'
  # @@protoc_insertion_point(class_scope:SummaryConstraintMsg)
  })
_sym_db.RegisterMessage(SummaryConstraintMsg)

ValueConstraintMsg = _reflection.GeneratedProtocolMessageType('ValueConstraintMsg', (_message.Message,), {
  'DESCRIPTOR' : _VALUECONSTRAINTMSG,
  '__module__' : 'constraints_pb2'
  # @@protoc_insertion_point(class_scope:ValueConstraintMsg)
  })
_sym_db.RegisterMessage(ValueConstraintMsg)

ValueConstraintMsgs = _reflection.GeneratedProtocolMessageType('ValueConstraintMsgs', (_message.Message,), {
  'DESCRIPTOR' : _VALUECONSTRAINTMSGS,
  '__module__' : 'constraints_pb2'
  # @@protoc_insertion_point(class_scope:ValueConstraintMsgs)
  })
_sym_db.RegisterMessage(ValueConstraintMsgs)

SummaryConstraintMsgs = _reflection.GeneratedProtocolMessageType('SummaryConstraintMsgs', (_message.Message,), {
  'DESCRIPTOR' : _SUMMARYCONSTRAINTMSGS,
  '__module__' : 'constraints_pb2'
  # @@protoc_insertion_point(class_scope:SummaryConstraintMsgs)
  })
_sym_db.RegisterMessage(SummaryConstraintMsgs)

DatasetConstraintMsg = _reflection.GeneratedProtocolMessageType('DatasetConstraintMsg', (_message.Message,), {

  'ValueConstraintsEntry' : _reflection.GeneratedProtocolMessageType('ValueConstraintsEntry', (_message.Message,), {
    'DESCRIPTOR' : _DATASETCONSTRAINTMSG_VALUECONSTRAINTSENTRY,
    '__module__' : 'constraints_pb2'
    # @@protoc_insertion_point(class_scope:DatasetConstraintMsg.ValueConstraintsEntry)
    })
  ,

  'SummaryConstraintsEntry' : _reflection.GeneratedProtocolMessageType('SummaryConstraintsEntry', (_message.Message,), {
    'DESCRIPTOR' : _DATASETCONSTRAINTMSG_SUMMARYCONSTRAINTSENTRY,
    '__module__' : 'constraints_pb2'
    # @@protoc_insertion_point(class_scope:DatasetConstraintMsg.SummaryConstraintsEntry)
    })
  ,
  'DESCRIPTOR' : _DATASETCONSTRAINTMSG,
  '__module__' : 'constraints_pb2'
  # @@protoc_insertion_point(class_scope:DatasetConstraintMsg)
  })
_sym_db.RegisterMessage(DatasetConstraintMsg)
_sym_db.RegisterMessage(DatasetConstraintMsg.ValueConstraintsEntry)
_sym_db.RegisterMessage(DatasetConstraintMsg.SummaryConstraintsEntry)


DESCRIPTOR._options = None
_DATASETCONSTRAINTMSG_VALUECONSTRAINTSENTRY._options = None
_DATASETCONSTRAINTMSG_SUMMARYCONSTRAINTSENTRY._options = None
# @@protoc_insertion_point(module_scope)
