How to use the protobuf.descriptor.Descriptor function in protobuf

To help you get started, we’ve selected a few protobuf examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github uwescience / raco / logical_ra_pb2.py View on Github external
options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=20,
  serialized_end=96,
)


_LOGICALRAOPERATOR = descriptor.Descriptor(
  name='LogicalRaOperator',
  full_name='LogicalRaOperator',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='type', full_name='LogicalRaOperator.type', index=0,
      number=1, 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),
    descriptor.FieldDescriptor(
      name='name', full_name='LogicalRaOperator.name', index=1,
      number=2, type=9, cpp_type=9, label=2,
github uwescience / myria / protobuf / python / logical_ra_pb2.py View on Github external
options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=478,
  serialized_end=531,
)


_LOGICALPROJECT = descriptor.Descriptor(
  name='LogicalProject',
  full_name='LogicalProject',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='childName', full_name='LogicalProject.childName', index=0,
      number=1, type=9, cpp_type=9, label=2,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    descriptor.FieldDescriptor(
      name='columns', full_name='LogicalProject.columns', index=1,
      number=2, type=5, cpp_type=1, label=3,
github uwescience / raco / logical_ra_pb2.py View on Github external
options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=478,
  serialized_end=531,
)


_LOGICALPROJECT = descriptor.Descriptor(
  name='LogicalProject',
  full_name='LogicalProject',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='childName', full_name='LogicalProject.childName', index=0,
      number=1, type=9, cpp_type=9, label=2,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    descriptor.FieldDescriptor(
      name='columns', full_name='LogicalProject.columns', index=1,
      number=2, type=5, cpp_type=1, label=3,
github uwescience / myria / protobuf / python / logical_ra_pb2.py View on Github external
options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=533,
  serialized_end=585,
)


_LOGICALEQUIJOIN = descriptor.Descriptor(
  name='LogicalEquiJoin',
  full_name='LogicalEquiJoin',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='leftChildName', full_name='LogicalEquiJoin.leftChildName', index=0,
      number=1, type=9, cpp_type=9, label=2,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    descriptor.FieldDescriptor(
      name='leftColumns', full_name='LogicalEquiJoin.leftColumns', index=1,
      number=2, type=5, cpp_type=1, label=3,
github uwescience / myria / protobuf / python / logical_ra_pb2.py View on Github external
name='EQUIJOIN', index=4, number=4,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='CROSS', index=5, number=5,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=350,
  serialized_end=443,
)


_LOGICALRAQUERYMESSAGE = descriptor.Descriptor(
  name='LogicalRaQueryMessage',
  full_name='LogicalRaQueryMessage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='name', full_name='LogicalRaQueryMessage.name', index=0,
      number=1, type=9, cpp_type=9, label=2,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    descriptor.FieldDescriptor(
      name='operators', full_name='LogicalRaQueryMessage.operators', index=1,
      number=3, type=11, cpp_type=10, label=3,
github uwescience / myria / protobuf / python / logical_ra_pb2.py View on Github external
options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=20,
  serialized_end=96,
)


_LOGICALRAOPERATOR = descriptor.Descriptor(
  name='LogicalRaOperator',
  full_name='LogicalRaOperator',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='type', full_name='LogicalRaOperator.type', index=0,
      number=1, 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),
    descriptor.FieldDescriptor(
      name='name', full_name='LogicalRaOperator.name', index=1,
      number=2, type=9, cpp_type=9, label=2,
github uwescience / raco / logical_ra_pb2.py View on Github external
options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=533,
  serialized_end=585,
)


_LOGICALEQUIJOIN = descriptor.Descriptor(
  name='LogicalEquiJoin',
  full_name='LogicalEquiJoin',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='leftChildName', full_name='LogicalEquiJoin.leftChildName', index=0,
      number=1, type=9, cpp_type=9, label=2,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    descriptor.FieldDescriptor(
      name='leftColumns', full_name='LogicalEquiJoin.leftColumns', index=1,
      number=2, type=5, cpp_type=1, label=3,
github uwescience / myria / protobuf / python / logical_ra_pb2.py View on Github external
options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=445,
  serialized_end=476,
)


_LOGICALSELECT = descriptor.Descriptor(
  name='LogicalSelect',
  full_name='LogicalSelect',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='childName', full_name='LogicalSelect.childName', index=0,
      number=1, type=9, cpp_type=9, label=2,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    descriptor.FieldDescriptor(
      name='condition', full_name='LogicalSelect.condition', index=1,
      number=2, type=9, cpp_type=9, label=2,
github uwescience / raco / logical_ra_pb2.py View on Github external
options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=445,
  serialized_end=476,
)


_LOGICALSELECT = descriptor.Descriptor(
  name='LogicalSelect',
  full_name='LogicalSelect',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    descriptor.FieldDescriptor(
      name='childName', full_name='LogicalSelect.childName', index=0,
      number=1, type=9, cpp_type=9, label=2,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    descriptor.FieldDescriptor(
      name='condition', full_name='LogicalSelect.condition', index=1,
      number=2, type=9, cpp_type=9, label=2,