Module bento.protos.ecs_pb2

Generated protocol buffer code.

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


DESCRIPTOR = _descriptor.FileDescriptor(
  name='bento/protos/ecs.proto',
  package='bento.protos',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x16\x62\x65nto/protos/ecs.proto\x12\x0c\x62\x65nto.protos\x1a\x18\x62\x65nto/protos/types.proto\x1a\x18\x62\x65nto/protos/graph.proto\"+\n\tEntityDef\x12\n\n\x02id\x18\x01 \x01(\r\x12\x12\n\ncomponents\x18\x02 \x03(\t\"\x97\x01\n\x0c\x43omponentDef\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x36\n\x06schema\x18\x02 \x03(\x0b\x32&.bento.protos.ComponentDef.SchemaEntry\x1a\x41\n\x0bSchemaEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12!\n\x05value\x18\x02 \x01(\x0b\x32\x12.bento.protos.Type:\x02\x38\x01\";\n\tSystemDef\x12\n\n\x02id\x18\x01 \x01(\r\x12\"\n\x05graph\x18\x02 \x01(\x0b\x32\x13.bento.protos.Graphb\x06proto3'
  ,
  dependencies=[bento_dot_protos_dot_types__pb2.DESCRIPTOR,bento_dot_protos_dot_graph__pb2.DESCRIPTOR,])




_ENTITYDEF = _descriptor.Descriptor(
  name='EntityDef',
  full_name='bento.protos.EntityDef',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='bento.protos.EntityDef.id', index=0,
      number=1, type=13, cpp_type=3, 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='components', full_name='bento.protos.EntityDef.components', index=1,
      number=2, type=9, cpp_type=9, 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=92,
  serialized_end=135,
)


_COMPONENTDEF_SCHEMAENTRY = _descriptor.Descriptor(
  name='SchemaEntry',
  full_name='bento.protos.ComponentDef.SchemaEntry',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='key', full_name='bento.protos.ComponentDef.SchemaEntry.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='bento.protos.ComponentDef.SchemaEntry.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=224,
  serialized_end=289,
)

_COMPONENTDEF = _descriptor.Descriptor(
  name='ComponentDef',
  full_name='bento.protos.ComponentDef',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='name', full_name='bento.protos.ComponentDef.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='schema', full_name='bento.protos.ComponentDef.schema', 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),
  ],
  extensions=[
  ],
  nested_types=[_COMPONENTDEF_SCHEMAENTRY, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=138,
  serialized_end=289,
)


_SYSTEMDEF = _descriptor.Descriptor(
  name='SystemDef',
  full_name='bento.protos.SystemDef',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='bento.protos.SystemDef.id', index=0,
      number=1, type=13, cpp_type=3, 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='graph', full_name='bento.protos.SystemDef.graph', 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=291,
  serialized_end=350,
)

_COMPONENTDEF_SCHEMAENTRY.fields_by_name['value'].message_type = bento_dot_protos_dot_types__pb2._TYPE
_COMPONENTDEF_SCHEMAENTRY.containing_type = _COMPONENTDEF
_COMPONENTDEF.fields_by_name['schema'].message_type = _COMPONENTDEF_SCHEMAENTRY
_SYSTEMDEF.fields_by_name['graph'].message_type = bento_dot_protos_dot_graph__pb2._GRAPH
DESCRIPTOR.message_types_by_name['EntityDef'] = _ENTITYDEF
DESCRIPTOR.message_types_by_name['ComponentDef'] = _COMPONENTDEF
DESCRIPTOR.message_types_by_name['SystemDef'] = _SYSTEMDEF
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

EntityDef = _reflection.GeneratedProtocolMessageType('EntityDef', (_message.Message,), {
  'DESCRIPTOR' : _ENTITYDEF,
  '__module__' : 'bento.protos.ecs_pb2'
  # @@protoc_insertion_point(class_scope:bento.protos.EntityDef)
  })
_sym_db.RegisterMessage(EntityDef)

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

  'SchemaEntry' : _reflection.GeneratedProtocolMessageType('SchemaEntry', (_message.Message,), {
    'DESCRIPTOR' : _COMPONENTDEF_SCHEMAENTRY,
    '__module__' : 'bento.protos.ecs_pb2'
    # @@protoc_insertion_point(class_scope:bento.protos.ComponentDef.SchemaEntry)
    })
  ,
  'DESCRIPTOR' : _COMPONENTDEF,
  '__module__' : 'bento.protos.ecs_pb2'
  # @@protoc_insertion_point(class_scope:bento.protos.ComponentDef)
  })
_sym_db.RegisterMessage(ComponentDef)
_sym_db.RegisterMessage(ComponentDef.SchemaEntry)

SystemDef = _reflection.GeneratedProtocolMessageType('SystemDef', (_message.Message,), {
  'DESCRIPTOR' : _SYSTEMDEF,
  '__module__' : 'bento.protos.ecs_pb2'
  # @@protoc_insertion_point(class_scope:bento.protos.SystemDef)
  })
_sym_db.RegisterMessage(SystemDef)


_COMPONENTDEF_SCHEMAENTRY._options = None
# @@protoc_insertion_point(module_scope)

Classes

class ComponentDef (*args, **kwargs)

A ProtocolMessage

Ancestors

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

Class variables

var DESCRIPTOR
var SchemaEntry

A ProtocolMessage

Instance variables

var name

Field bento.protos.ComponentDef.name

var schema

Field bento.protos.ComponentDef.schema

class EntityDef (*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.EntityDef.components

var id

Field bento.protos.EntityDef.id

class SystemDef (*args, **kwargs)

A ProtocolMessage

Ancestors

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

Class variables

var DESCRIPTOR

Instance variables

var graph

Field bento.protos.SystemDef.graph

var id

Field bento.protos.SystemDef.id