# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: mixing_state.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 . import matrix_pb2 as matrix__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='mixing_state.proto',
  package='bayesmix',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x12mixing_state.proto\x12\x08\x62\x61yesmix\x1a\x0cmatrix.proto\"\x1c\n\x07\x44PState\x12\x11\n\ttotalmass\x18\x01 \x01(\x01\"-\n\x07PYState\x12\x10\n\x08strength\x18\x01 \x01(\x01\x12\x10\n\x08\x64iscount\x18\x02 \x01(\x01\"9\n\nLogSBState\x12+\n\x11regression_coeffs\x18\x01 \x01(\x0b\x32\x10.bayesmix.Matrix\"V\n\x0cTruncSBState\x12 \n\x06sticks\x18\x01 \x01(\x0b\x32\x10.bayesmix.Vector\x12$\n\nlogweights\x18\x02 \x01(\x0b\x32\x10.bayesmix.Vector\"\xc4\x01\n\x0bMixingState\x12%\n\x08\x64p_state\x18\x01 \x01(\x0b\x32\x11.bayesmix.DPStateH\x00\x12%\n\x08py_state\x18\x02 \x01(\x0b\x32\x11.bayesmix.PYStateH\x00\x12,\n\x0clog_sb_state\x18\x03 \x01(\x0b\x32\x14.bayesmix.LogSBStateH\x00\x12\x30\n\x0etrunc_sb_state\x18\x04 \x01(\x0b\x32\x16.bayesmix.TruncSBStateH\x00\x42\x07\n\x05stateb\x06proto3'
  ,
  dependencies=[matrix__pb2.DESCRIPTOR,])




_DPSTATE = _descriptor.Descriptor(
  name='DPState',
  full_name='bayesmix.DPState',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='totalmass', full_name='bayesmix.DPState.totalmass', index=0,
      number=1, 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=46,
  serialized_end=74,
)


_PYSTATE = _descriptor.Descriptor(
  name='PYState',
  full_name='bayesmix.PYState',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='strength', full_name='bayesmix.PYState.strength', index=0,
      number=1, 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='discount', full_name='bayesmix.PYState.discount', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=76,
  serialized_end=121,
)


_LOGSBSTATE = _descriptor.Descriptor(
  name='LogSBState',
  full_name='bayesmix.LogSBState',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='regression_coeffs', full_name='bayesmix.LogSBState.regression_coeffs', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=123,
  serialized_end=180,
)


_TRUNCSBSTATE = _descriptor.Descriptor(
  name='TruncSBState',
  full_name='bayesmix.TruncSBState',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='sticks', full_name='bayesmix.TruncSBState.sticks', 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='logweights', full_name='bayesmix.TruncSBState.logweights', 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=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=182,
  serialized_end=268,
)


_MIXINGSTATE = _descriptor.Descriptor(
  name='MixingState',
  full_name='bayesmix.MixingState',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='dp_state', full_name='bayesmix.MixingState.dp_state', 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='py_state', full_name='bayesmix.MixingState.py_state', 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),
    _descriptor.FieldDescriptor(
      name='log_sb_state', full_name='bayesmix.MixingState.log_sb_state', index=2,
      number=3, 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='trunc_sb_state', full_name='bayesmix.MixingState.trunc_sb_state', index=3,
      number=4, 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=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='state', full_name='bayesmix.MixingState.state',
      index=0, containing_type=None,
      create_key=_descriptor._internal_create_key,
    fields=[]),
  ],
  serialized_start=271,
  serialized_end=467,
)

_LOGSBSTATE.fields_by_name['regression_coeffs'].message_type = matrix__pb2._MATRIX
_TRUNCSBSTATE.fields_by_name['sticks'].message_type = matrix__pb2._VECTOR
_TRUNCSBSTATE.fields_by_name['logweights'].message_type = matrix__pb2._VECTOR
_MIXINGSTATE.fields_by_name['dp_state'].message_type = _DPSTATE
_MIXINGSTATE.fields_by_name['py_state'].message_type = _PYSTATE
_MIXINGSTATE.fields_by_name['log_sb_state'].message_type = _LOGSBSTATE
_MIXINGSTATE.fields_by_name['trunc_sb_state'].message_type = _TRUNCSBSTATE
_MIXINGSTATE.oneofs_by_name['state'].fields.append(
  _MIXINGSTATE.fields_by_name['dp_state'])
_MIXINGSTATE.fields_by_name['dp_state'].containing_oneof = _MIXINGSTATE.oneofs_by_name['state']
_MIXINGSTATE.oneofs_by_name['state'].fields.append(
  _MIXINGSTATE.fields_by_name['py_state'])
_MIXINGSTATE.fields_by_name['py_state'].containing_oneof = _MIXINGSTATE.oneofs_by_name['state']
_MIXINGSTATE.oneofs_by_name['state'].fields.append(
  _MIXINGSTATE.fields_by_name['log_sb_state'])
_MIXINGSTATE.fields_by_name['log_sb_state'].containing_oneof = _MIXINGSTATE.oneofs_by_name['state']
_MIXINGSTATE.oneofs_by_name['state'].fields.append(
  _MIXINGSTATE.fields_by_name['trunc_sb_state'])
_MIXINGSTATE.fields_by_name['trunc_sb_state'].containing_oneof = _MIXINGSTATE.oneofs_by_name['state']
DESCRIPTOR.message_types_by_name['DPState'] = _DPSTATE
DESCRIPTOR.message_types_by_name['PYState'] = _PYSTATE
DESCRIPTOR.message_types_by_name['LogSBState'] = _LOGSBSTATE
DESCRIPTOR.message_types_by_name['TruncSBState'] = _TRUNCSBSTATE
DESCRIPTOR.message_types_by_name['MixingState'] = _MIXINGSTATE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

DPState = _reflection.GeneratedProtocolMessageType('DPState', (_message.Message,), {
  'DESCRIPTOR' : _DPSTATE,
  '__module__' : 'mixing_state_pb2'
  # @@protoc_insertion_point(class_scope:bayesmix.DPState)
  })
_sym_db.RegisterMessage(DPState)

PYState = _reflection.GeneratedProtocolMessageType('PYState', (_message.Message,), {
  'DESCRIPTOR' : _PYSTATE,
  '__module__' : 'mixing_state_pb2'
  # @@protoc_insertion_point(class_scope:bayesmix.PYState)
  })
_sym_db.RegisterMessage(PYState)

LogSBState = _reflection.GeneratedProtocolMessageType('LogSBState', (_message.Message,), {
  'DESCRIPTOR' : _LOGSBSTATE,
  '__module__' : 'mixing_state_pb2'
  # @@protoc_insertion_point(class_scope:bayesmix.LogSBState)
  })
_sym_db.RegisterMessage(LogSBState)

TruncSBState = _reflection.GeneratedProtocolMessageType('TruncSBState', (_message.Message,), {
  'DESCRIPTOR' : _TRUNCSBSTATE,
  '__module__' : 'mixing_state_pb2'
  # @@protoc_insertion_point(class_scope:bayesmix.TruncSBState)
  })
_sym_db.RegisterMessage(TruncSBState)

MixingState = _reflection.GeneratedProtocolMessageType('MixingState', (_message.Message,), {
  'DESCRIPTOR' : _MIXINGSTATE,
  '__module__' : 'mixing_state_pb2'
  # @@protoc_insertion_point(class_scope:bayesmix.MixingState)
  })
_sym_db.RegisterMessage(MixingState)


# @@protoc_insertion_point(module_scope)
