Module bento.protos.sim_pb2

Generated protocol buffer code.

Expand source code
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: bento/protos/sim.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 bento.protos import ecs_pb2 as bento_dot_protos_dot_ecs__pb2
from bento.protos import graph_pb2 as bento_dot_protos_dot_graph__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='bento/protos/sim.proto',
  package='bento.protos',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x16\x62\x65nto/protos/sim.proto\x12\x0c\x62\x65nto.protos\x1a\x16\x62\x65nto/protos/ecs.proto\x1a\x18\x62\x65nto/protos/graph.proto\"\xcb\x01\n\rSimulationDef\x12\x0c\n\x04name\x18\x01 \x01(\t\x12)\n\x08\x65ntities\x18\x02 \x03(\x0b\x32\x17.bento.protos.EntityDef\x12.\n\ncomponents\x18\x03 \x03(\x0b\x32\x1a.bento.protos.ComponentDef\x12(\n\x07systems\x18\x04 \x03(\x0b\x32\x17.bento.protos.SystemDef\x12\'\n\ninit_graph\x18\x05 \x01(\x0b\x32\x13.bento.protos.Graphb\x06proto3'
  ,
  dependencies=[bento_dot_protos_dot_ecs__pb2.DESCRIPTOR,bento_dot_protos_dot_graph__pb2.DESCRIPTOR,])




_SIMULATIONDEF = _descriptor.Descriptor(
  name='SimulationDef',
  full_name='bento.protos.SimulationDef',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='bento.protos.SimulationDef.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='entities', full_name='bento.protos.SimulationDef.entities', 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='components', full_name='bento.protos.SimulationDef.components', 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),
    _descriptor.FieldDescriptor(
      name='systems', full_name='bento.protos.SimulationDef.systems', index=3,
      number=4, 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='init_graph', full_name='bento.protos.SimulationDef.init_graph', index=4,
      number=5, 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=91,
  serialized_end=294,
)

_SIMULATIONDEF.fields_by_name['entities'].message_type = bento_dot_protos_dot_ecs__pb2._ENTITYDEF
_SIMULATIONDEF.fields_by_name['components'].message_type = bento_dot_protos_dot_ecs__pb2._COMPONENTDEF
_SIMULATIONDEF.fields_by_name['systems'].message_type = bento_dot_protos_dot_ecs__pb2._SYSTEMDEF
_SIMULATIONDEF.fields_by_name['init_graph'].message_type = bento_dot_protos_dot_graph__pb2._GRAPH
DESCRIPTOR.message_types_by_name['SimulationDef'] = _SIMULATIONDEF
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

SimulationDef = _reflection.GeneratedProtocolMessageType('SimulationDef', (_message.Message,), {
  'DESCRIPTOR' : _SIMULATIONDEF,
  '__module__' : 'bento.protos.sim_pb2'
  # @@protoc_insertion_point(class_scope:bento.protos.SimulationDef)
  })
_sym_db.RegisterMessage(SimulationDef)


# @@protoc_insertion_point(module_scope)

Classes

class SimulationDef (*args, **kwargs)

A ProtocolMessage

Ancestors

  • google.protobuf.pyext._message.CMessage
  • google.protobuf.message.Message

Class variables

var DESCRIPTOR

Instance variables

var components

Field bento.protos.SimulationDef.components

var entities

Field bento.protos.SimulationDef.entities

var init_graph

Field bento.protos.SimulationDef.init_graph

var name

Field bento.protos.SimulationDef.name

var systems

Field bento.protos.SimulationDef.systems