All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ets.phenopacket-schema.1.0.0-RC3.source-code.interpretation_pb2.py Maven / Gradle / Ivy

There is a newer version: 2.0.2
Show newest version
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: interpretation.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
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()


import base_pb2 as base__pb2
import phenopackets_pb2 as phenopackets__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='interpretation.proto',
  package='org.phenopackets.schema.v1',
  syntax='proto3',
  serialized_options=_b('\n\032org.phenopackets.schema.v1P\001'),
  serialized_pb=_b('\n\x14interpretation.proto\x12\x1aorg.phenopackets.schema.v1\x1a\nbase.proto\x1a\x12phenopackets.proto\"\xc7\x03\n\x0eInterpretation\x12\n\n\x02id\x18\x01 \x01(\t\x12V\n\x11resolution_status\x18\x02 \x01(\x0e\x32;.org.phenopackets.schema.v1.Interpretation.ResolutionStatus\x12>\n\x0bphenopacket\x18\x03 \x01(\x0b\x32\'.org.phenopackets.schema.v1.PhenopacketH\x00\x12\x34\n\x06\x66\x61mily\x18\x04 \x01(\x0b\x32\".org.phenopackets.schema.v1.FamilyH\x00\x12\x38\n\tdiagnosis\x18\x05 \x03(\x0b\x32%.org.phenopackets.schema.v1.Diagnosis\x12<\n\tmeta_data\x18\x06 \x01(\x0b\x32).org.phenopackets.schema.v1.core.MetaData\"J\n\x10ResolutionStatus\x12\x0b\n\x07UNKNOWN\x10\x00\x12\n\n\x06SOLVED\x10\x01\x12\x0c\n\x08UNSOLVED\x10\x02\x12\x0f\n\x0bIN_PROGRESS\x10\x03\x42\x17\n\x15phenopacket_or_family\"\x9a\x01\n\tDiagnosis\x12\x39\n\x07\x64isease\x18\x01 \x01(\x0b\x32(.org.phenopackets.schema.v1.core.Disease\x12R\n\x17genomic_interpretations\x18\x02 \x03(\x0b\x32\x31.org.phenopackets.schema.v1.GenomicInterpretation\"\xa0\x02\n\x15GenomicInterpretation\x12H\n\x06status\x18\x01 \x01(\x0e\x32\x38.org.phenopackets.schema.v1.GenomicInterpretation.Status\x12\x35\n\x04gene\x18\x02 \x01(\x0b\x32%.org.phenopackets.schema.v1.core.GeneH\x00\x12;\n\x07variant\x18\x03 \x01(\x0b\x32(.org.phenopackets.schema.v1.core.VariantH\x00\"A\n\x06Status\x12\x0b\n\x07UNKNOWN\x10\x00\x12\x0c\n\x08REJECTED\x10\x01\x12\r\n\tCANDIDATE\x10\x02\x12\r\n\tCAUSATIVE\x10\x03\x42\x06\n\x04\x63\x61llB\x1e\n\x1aorg.phenopackets.schema.v1P\x01\x62\x06proto3')
  ,
  dependencies=[base__pb2.DESCRIPTOR,phenopackets__pb2.DESCRIPTOR,])



_INTERPRETATION_RESOLUTIONSTATUS = _descriptor.EnumDescriptor(
  name='ResolutionStatus',
  full_name='org.phenopackets.schema.v1.Interpretation.ResolutionStatus',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UNKNOWN', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SOLVED', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='UNSOLVED', index=2, number=2,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='IN_PROGRESS', index=3, number=3,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=441,
  serialized_end=515,
)
_sym_db.RegisterEnumDescriptor(_INTERPRETATION_RESOLUTIONSTATUS)

_GENOMICINTERPRETATION_STATUS = _descriptor.EnumDescriptor(
  name='Status',
  full_name='org.phenopackets.schema.v1.GenomicInterpretation.Status',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UNKNOWN', index=0, number=0,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='REJECTED', index=1, number=1,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='CANDIDATE', index=2, number=2,
      serialized_options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='CAUSATIVE', index=3, number=3,
      serialized_options=None,
      type=None),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=915,
  serialized_end=980,
)
_sym_db.RegisterEnumDescriptor(_GENOMICINTERPRETATION_STATUS)


_INTERPRETATION = _descriptor.Descriptor(
  name='Interpretation',
  full_name='org.phenopackets.schema.v1.Interpretation',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='id', full_name='org.phenopackets.schema.v1.Interpretation.id', 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),
    _descriptor.FieldDescriptor(
      name='resolution_status', full_name='org.phenopackets.schema.v1.Interpretation.resolution_status', index=1,
      number=2, type=14, cpp_type=8, 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),
    _descriptor.FieldDescriptor(
      name='phenopacket', full_name='org.phenopackets.schema.v1.Interpretation.phenopacket', 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),
    _descriptor.FieldDescriptor(
      name='family', full_name='org.phenopackets.schema.v1.Interpretation.family', 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),
    _descriptor.FieldDescriptor(
      name='diagnosis', full_name='org.phenopackets.schema.v1.Interpretation.diagnosis', index=4,
      number=5, 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),
    _descriptor.FieldDescriptor(
      name='meta_data', full_name='org.phenopackets.schema.v1.Interpretation.meta_data', index=5,
      number=6, 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _INTERPRETATION_RESOLUTIONSTATUS,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='phenopacket_or_family', full_name='org.phenopackets.schema.v1.Interpretation.phenopacket_or_family',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=85,
  serialized_end=540,
)


_DIAGNOSIS = _descriptor.Descriptor(
  name='Diagnosis',
  full_name='org.phenopackets.schema.v1.Diagnosis',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='disease', full_name='org.phenopackets.schema.v1.Diagnosis.disease', 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),
    _descriptor.FieldDescriptor(
      name='genomic_interpretations', full_name='org.phenopackets.schema.v1.Diagnosis.genomic_interpretations', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=543,
  serialized_end=697,
)


_GENOMICINTERPRETATION = _descriptor.Descriptor(
  name='GenomicInterpretation',
  full_name='org.phenopackets.schema.v1.GenomicInterpretation',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='status', full_name='org.phenopackets.schema.v1.GenomicInterpretation.status', index=0,
      number=1, type=14, cpp_type=8, 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),
    _descriptor.FieldDescriptor(
      name='gene', full_name='org.phenopackets.schema.v1.GenomicInterpretation.gene', 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),
    _descriptor.FieldDescriptor(
      name='variant', full_name='org.phenopackets.schema.v1.GenomicInterpretation.variant', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _GENOMICINTERPRETATION_STATUS,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
    _descriptor.OneofDescriptor(
      name='call', full_name='org.phenopackets.schema.v1.GenomicInterpretation.call',
      index=0, containing_type=None, fields=[]),
  ],
  serialized_start=700,
  serialized_end=988,
)

_INTERPRETATION.fields_by_name['resolution_status'].enum_type = _INTERPRETATION_RESOLUTIONSTATUS
_INTERPRETATION.fields_by_name['phenopacket'].message_type = phenopackets__pb2._PHENOPACKET
_INTERPRETATION.fields_by_name['family'].message_type = phenopackets__pb2._FAMILY
_INTERPRETATION.fields_by_name['diagnosis'].message_type = _DIAGNOSIS
_INTERPRETATION.fields_by_name['meta_data'].message_type = base__pb2._METADATA
_INTERPRETATION_RESOLUTIONSTATUS.containing_type = _INTERPRETATION
_INTERPRETATION.oneofs_by_name['phenopacket_or_family'].fields.append(
  _INTERPRETATION.fields_by_name['phenopacket'])
_INTERPRETATION.fields_by_name['phenopacket'].containing_oneof = _INTERPRETATION.oneofs_by_name['phenopacket_or_family']
_INTERPRETATION.oneofs_by_name['phenopacket_or_family'].fields.append(
  _INTERPRETATION.fields_by_name['family'])
_INTERPRETATION.fields_by_name['family'].containing_oneof = _INTERPRETATION.oneofs_by_name['phenopacket_or_family']
_DIAGNOSIS.fields_by_name['disease'].message_type = base__pb2._DISEASE
_DIAGNOSIS.fields_by_name['genomic_interpretations'].message_type = _GENOMICINTERPRETATION
_GENOMICINTERPRETATION.fields_by_name['status'].enum_type = _GENOMICINTERPRETATION_STATUS
_GENOMICINTERPRETATION.fields_by_name['gene'].message_type = base__pb2._GENE
_GENOMICINTERPRETATION.fields_by_name['variant'].message_type = base__pb2._VARIANT
_GENOMICINTERPRETATION_STATUS.containing_type = _GENOMICINTERPRETATION
_GENOMICINTERPRETATION.oneofs_by_name['call'].fields.append(
  _GENOMICINTERPRETATION.fields_by_name['gene'])
_GENOMICINTERPRETATION.fields_by_name['gene'].containing_oneof = _GENOMICINTERPRETATION.oneofs_by_name['call']
_GENOMICINTERPRETATION.oneofs_by_name['call'].fields.append(
  _GENOMICINTERPRETATION.fields_by_name['variant'])
_GENOMICINTERPRETATION.fields_by_name['variant'].containing_oneof = _GENOMICINTERPRETATION.oneofs_by_name['call']
DESCRIPTOR.message_types_by_name['Interpretation'] = _INTERPRETATION
DESCRIPTOR.message_types_by_name['Diagnosis'] = _DIAGNOSIS
DESCRIPTOR.message_types_by_name['GenomicInterpretation'] = _GENOMICINTERPRETATION
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Interpretation = _reflection.GeneratedProtocolMessageType('Interpretation', (_message.Message,), {
  'DESCRIPTOR' : _INTERPRETATION,
  '__module__' : 'interpretation_pb2'
  # @@protoc_insertion_point(class_scope:org.phenopackets.schema.v1.Interpretation)
  })
_sym_db.RegisterMessage(Interpretation)

Diagnosis = _reflection.GeneratedProtocolMessageType('Diagnosis', (_message.Message,), {
  'DESCRIPTOR' : _DIAGNOSIS,
  '__module__' : 'interpretation_pb2'
  # @@protoc_insertion_point(class_scope:org.phenopackets.schema.v1.Diagnosis)
  })
_sym_db.RegisterMessage(Diagnosis)

GenomicInterpretation = _reflection.GeneratedProtocolMessageType('GenomicInterpretation', (_message.Message,), {
  'DESCRIPTOR' : _GENOMICINTERPRETATION,
  '__module__' : 'interpretation_pb2'
  # @@protoc_insertion_point(class_scope:org.phenopackets.schema.v1.GenomicInterpretation)
  })
_sym_db.RegisterMessage(GenomicInterpretation)


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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy