# Generated by the protocol buffer compiler. DO NOT EDIT! # source: prime.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() DESCRIPTOR = _descriptor.FileDescriptor( name='prime.proto', package='prime', syntax='proto3', serialized_options=None, serialized_pb=_b('\n\x0bprime.proto\x12\x05prime\"#\n\x0ePrimeCandidate\x12\x11\n\tcandidate\x18\x01 \x01(\x03\"\x1c\n\tPrimality\x12\x0f\n\x07isPrime\x18\x01 \x01(\x08\x32\x42\n\x0cPrimeChecker\x12\x32\n\x05\x63heck\x12\x15.prime.PrimeCandidate\x1a\x10.prime.Primality\"\x00\x62\x06proto3') ) _PRIMECANDIDATE = _descriptor.Descriptor( name='PrimeCandidate', full_name='prime.PrimeCandidate', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='candidate', full_name='prime.PrimeCandidate.candidate', index=0, number=1, type=3, cpp_type=2, 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), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=22, serialized_end=57, ) _PRIMALITY = _descriptor.Descriptor( name='Primality', full_name='prime.Primality', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='isPrime', full_name='prime.Primality.isPrime', index=0, number=1, type=8, cpp_type=7, label=1, has_default_value=False, default_value=False, 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=59, serialized_end=87, ) DESCRIPTOR.message_types_by_name['PrimeCandidate'] = _PRIMECANDIDATE DESCRIPTOR.message_types_by_name['Primality'] = _PRIMALITY _sym_db.RegisterFileDescriptor(DESCRIPTOR) PrimeCandidate = _reflection.GeneratedProtocolMessageType('PrimeCandidate', (_message.Message,), dict( DESCRIPTOR = _PRIMECANDIDATE, __module__ = 'prime_pb2' # @@protoc_insertion_point(class_scope:prime.PrimeCandidate) )) _sym_db.RegisterMessage(PrimeCandidate) Primality = _reflection.GeneratedProtocolMessageType('Primality', (_message.Message,), dict( DESCRIPTOR = _PRIMALITY, __module__ = 'prime_pb2' # @@protoc_insertion_point(class_scope:prime.Primality) )) _sym_db.RegisterMessage(Primality) _PRIMECHECKER = _descriptor.ServiceDescriptor( name='PrimeChecker', full_name='prime.PrimeChecker', file=DESCRIPTOR, index=0, serialized_options=None, serialized_start=89, serialized_end=155, methods=[ _descriptor.MethodDescriptor( name='check', full_name='prime.PrimeChecker.check', index=0, containing_service=None, input_type=_PRIMECANDIDATE, output_type=_PRIMALITY, serialized_options=None, ), ]) _sym_db.RegisterServiceDescriptor(_PRIMECHECKER) DESCRIPTOR.services_by_name['PrimeChecker'] = _PRIMECHECKER # @@protoc_insertion_point(module_scope)