# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: Service.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()




DESCRIPTOR = _descriptor.FileDescriptor(
  name='Service.proto',
  package='process',
  syntax='proto2',
  serialized_pb=_b('\n\rService.proto\x12\x07process\"X\n\x17GoToProcessStateMessage\x12\x11\n\tprocessId\x18\x01 \x02(\t\x12*\n\x0btargetState\x18\x02 \x02(\x0e\x32\x15.process.ProcessState\"<\n\x14ResumeProcessMessage\x12\x11\n\tprocessId\x18\x01 \x02(\t\x12\x11\n\tstateData\x18\x02 \x02(\x0c\"g\n\x19ProcessStateUpdateMessage\x12\x11\n\tprocessId\x18\x01 \x02(\t\x12$\n\x05state\x18\x02 \x02(\x0e\x32\x15.process.ProcessState\x12\x11\n\tstateData\x18\x03 \x01(\x0c\"\x9d\x01\n\x10SetConfigMessage\x12\x11\n\tprocessId\x18\x01 \x02(\t\x12\x10\n\x08isUpdate\x18\x02 \x02(\x08\x12\x35\n\x06\x63onfig\x18\x03 \x03(\x0b\x32%.process.SetConfigMessage.ConfigEntry\x1a-\n\x0b\x43onfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\";\n\x0c\x45rrorMessage\x12\x11\n\tprocessId\x18\x01 \x02(\t\x12\x18\n\x10\x64\x65\x62ugInformation\x18\x02 \x02(\t*Z\n\x0cProcessState\x12\x0c\n\x08STARTING\x10\x00\x12\x10\n\x0cINITIALIZING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\r\n\tSUSPENDED\x10\x03\x12\x0e\n\nTERMINATED\x10\x04\x42\'\n\x17org.flexiblepower.protoB\x0cServiceProto')
)

_PROCESSSTATE = _descriptor.EnumDescriptor(
  name='ProcessState',
  full_name='process.ProcessState',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='STARTING', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='INITIALIZING', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='RUNNING', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SUSPENDED', index=3, number=3,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='TERMINATED', index=4, number=4,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=504,
  serialized_end=594,
)
_sym_db.RegisterEnumDescriptor(_PROCESSSTATE)

ProcessState = enum_type_wrapper.EnumTypeWrapper(_PROCESSSTATE)
STARTING = 0
INITIALIZING = 1
RUNNING = 2
SUSPENDED = 3
TERMINATED = 4



_GOTOPROCESSSTATEMESSAGE = _descriptor.Descriptor(
  name='GoToProcessStateMessage',
  full_name='process.GoToProcessStateMessage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='processId', full_name='process.GoToProcessStateMessage.processId', index=0,
      number=1, type=9, cpp_type=9, label=2,
      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),
    _descriptor.FieldDescriptor(
      name='targetState', full_name='process.GoToProcessStateMessage.targetState', index=1,
      number=2, type=14, cpp_type=8, label=2,
      has_default_value=False, default_value=0,
      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='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=26,
  serialized_end=114,
)


_RESUMEPROCESSMESSAGE = _descriptor.Descriptor(
  name='ResumeProcessMessage',
  full_name='process.ResumeProcessMessage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='processId', full_name='process.ResumeProcessMessage.processId', index=0,
      number=1, type=9, cpp_type=9, label=2,
      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),
    _descriptor.FieldDescriptor(
      name='stateData', full_name='process.ResumeProcessMessage.stateData', index=1,
      number=2, type=12, cpp_type=9, label=2,
      has_default_value=False, default_value=_b(""),
      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='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=116,
  serialized_end=176,
)


_PROCESSSTATEUPDATEMESSAGE = _descriptor.Descriptor(
  name='ProcessStateUpdateMessage',
  full_name='process.ProcessStateUpdateMessage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='processId', full_name='process.ProcessStateUpdateMessage.processId', index=0,
      number=1, type=9, cpp_type=9, label=2,
      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),
    _descriptor.FieldDescriptor(
      name='state', full_name='process.ProcessStateUpdateMessage.state', index=1,
      number=2, type=14, cpp_type=8, label=2,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='stateData', full_name='process.ProcessStateUpdateMessage.stateData', index=2,
      number=3, type=12, cpp_type=9, label=1,
      has_default_value=False, default_value=_b(""),
      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='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=178,
  serialized_end=281,
)


_SETCONFIGMESSAGE_CONFIGENTRY = _descriptor.Descriptor(
  name='ConfigEntry',
  full_name='process.SetConfigMessage.ConfigEntry',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='process.SetConfigMessage.ConfigEntry.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,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='value', full_name='process.SetConfigMessage.ConfigEntry.value', 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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=396,
  serialized_end=441,
)

_SETCONFIGMESSAGE = _descriptor.Descriptor(
  name='SetConfigMessage',
  full_name='process.SetConfigMessage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='processId', full_name='process.SetConfigMessage.processId', index=0,
      number=1, type=9, cpp_type=9, label=2,
      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),
    _descriptor.FieldDescriptor(
      name='isUpdate', full_name='process.SetConfigMessage.isUpdate', index=1,
      number=2, type=8, cpp_type=7, label=2,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='config', full_name='process.SetConfigMessage.config', 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,
      options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[_SETCONFIGMESSAGE_CONFIGENTRY, ],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  syntax='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=284,
  serialized_end=441,
)


_ERRORMESSAGE = _descriptor.Descriptor(
  name='ErrorMessage',
  full_name='process.ErrorMessage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='processId', full_name='process.ErrorMessage.processId', index=0,
      number=1, type=9, cpp_type=9, label=2,
      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),
    _descriptor.FieldDescriptor(
      name='debugInformation', full_name='process.ErrorMessage.debugInformation', index=1,
      number=2, type=9, cpp_type=9, label=2,
      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='proto2',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=443,
  serialized_end=502,
)

_GOTOPROCESSSTATEMESSAGE.fields_by_name['targetState'].enum_type = _PROCESSSTATE
_PROCESSSTATEUPDATEMESSAGE.fields_by_name['state'].enum_type = _PROCESSSTATE
_SETCONFIGMESSAGE_CONFIGENTRY.containing_type = _SETCONFIGMESSAGE
_SETCONFIGMESSAGE.fields_by_name['config'].message_type = _SETCONFIGMESSAGE_CONFIGENTRY
DESCRIPTOR.message_types_by_name['GoToProcessStateMessage'] = _GOTOPROCESSSTATEMESSAGE
DESCRIPTOR.message_types_by_name['ResumeProcessMessage'] = _RESUMEPROCESSMESSAGE
DESCRIPTOR.message_types_by_name['ProcessStateUpdateMessage'] = _PROCESSSTATEUPDATEMESSAGE
DESCRIPTOR.message_types_by_name['SetConfigMessage'] = _SETCONFIGMESSAGE
DESCRIPTOR.message_types_by_name['ErrorMessage'] = _ERRORMESSAGE
DESCRIPTOR.enum_types_by_name['ProcessState'] = _PROCESSSTATE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

GoToProcessStateMessage = _reflection.GeneratedProtocolMessageType('GoToProcessStateMessage', (_message.Message,), dict(
  DESCRIPTOR = _GOTOPROCESSSTATEMESSAGE,
  __module__ = 'Service_pb2'
  # @@protoc_insertion_point(class_scope:process.GoToProcessStateMessage)
  ))
_sym_db.RegisterMessage(GoToProcessStateMessage)

ResumeProcessMessage = _reflection.GeneratedProtocolMessageType('ResumeProcessMessage', (_message.Message,), dict(
  DESCRIPTOR = _RESUMEPROCESSMESSAGE,
  __module__ = 'Service_pb2'
  # @@protoc_insertion_point(class_scope:process.ResumeProcessMessage)
  ))
_sym_db.RegisterMessage(ResumeProcessMessage)

ProcessStateUpdateMessage = _reflection.GeneratedProtocolMessageType('ProcessStateUpdateMessage', (_message.Message,), dict(
  DESCRIPTOR = _PROCESSSTATEUPDATEMESSAGE,
  __module__ = 'Service_pb2'
  # @@protoc_insertion_point(class_scope:process.ProcessStateUpdateMessage)
  ))
_sym_db.RegisterMessage(ProcessStateUpdateMessage)

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

  ConfigEntry = _reflection.GeneratedProtocolMessageType('ConfigEntry', (_message.Message,), dict(
    DESCRIPTOR = _SETCONFIGMESSAGE_CONFIGENTRY,
    __module__ = 'Service_pb2'
    # @@protoc_insertion_point(class_scope:process.SetConfigMessage.ConfigEntry)
    ))
  ,
  DESCRIPTOR = _SETCONFIGMESSAGE,
  __module__ = 'Service_pb2'
  # @@protoc_insertion_point(class_scope:process.SetConfigMessage)
  ))
_sym_db.RegisterMessage(SetConfigMessage)
_sym_db.RegisterMessage(SetConfigMessage.ConfigEntry)

ErrorMessage = _reflection.GeneratedProtocolMessageType('ErrorMessage', (_message.Message,), dict(
  DESCRIPTOR = _ERRORMESSAGE,
  __module__ = 'Service_pb2'
  # @@protoc_insertion_point(class_scope:process.ErrorMessage)
  ))
_sym_db.RegisterMessage(ErrorMessage)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\027org.flexiblepower.protoB\014ServiceProto'))
_SETCONFIGMESSAGE_CONFIGENTRY.has_options = True
_SETCONFIGMESSAGE_CONFIGENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
# @@protoc_insertion_point(module_scope)
