# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: common/fits_process/fitsProcess.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='common/fits_process/fitsProcess.proto', package='dfs.common.fitsProcess', syntax='proto3', serialized_options=_b('Z\'cnlab.net/csst/proto/common/fitsProcess'), serialized_pb=_b('\n%common/fits_process/fitsProcess.proto\x12\x16\x64\x66s.common.fitsProcess\"0\n\rGetHeadersReq\x12\x11\n\tfile_path\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\r\"\x83\x01\n\x0eGetHeadersResp\x12\x42\n\x06values\x18\x01 \x03(\x0b\x32\x32.dfs.common.fitsProcess.GetHeadersResp.ValuesEntry\x1a-\n\x0bValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x32o\n\x0e\x46itsProcessSrv\x12]\n\nGetHeaders\x12%.dfs.common.fitsProcess.GetHeadersReq\x1a&.dfs.common.fitsProcess.GetHeadersResp\"\x00\x42)Z\'cnlab.net/csst/proto/common/fitsProcessb\x06proto3') ) _GETHEADERSREQ = _descriptor.Descriptor( name='GetHeadersReq', full_name='dfs.common.fitsProcess.GetHeadersReq', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='file_path', full_name='dfs.common.fitsProcess.GetHeadersReq.file_path', 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='type', full_name='dfs.common.fitsProcess.GetHeadersReq.type', index=1, number=2, 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), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=65, serialized_end=113, ) _GETHEADERSRESP_VALUESENTRY = _descriptor.Descriptor( name='ValuesEntry', full_name='dfs.common.fitsProcess.GetHeadersResp.ValuesEntry', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='key', full_name='dfs.common.fitsProcess.GetHeadersResp.ValuesEntry.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), _descriptor.FieldDescriptor( name='value', full_name='dfs.common.fitsProcess.GetHeadersResp.ValuesEntry.value', index=1, number=2, 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), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=_b('8\001'), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=202, serialized_end=247, ) _GETHEADERSRESP = _descriptor.Descriptor( name='GetHeadersResp', full_name='dfs.common.fitsProcess.GetHeadersResp', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ _descriptor.FieldDescriptor( name='values', full_name='dfs.common.fitsProcess.GetHeadersResp.values', index=0, number=1, 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=[_GETHEADERSRESP_VALUESENTRY, ], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=116, serialized_end=247, ) _GETHEADERSRESP_VALUESENTRY.containing_type = _GETHEADERSRESP _GETHEADERSRESP.fields_by_name['values'].message_type = _GETHEADERSRESP_VALUESENTRY DESCRIPTOR.message_types_by_name['GetHeadersReq'] = _GETHEADERSREQ DESCRIPTOR.message_types_by_name['GetHeadersResp'] = _GETHEADERSRESP _sym_db.RegisterFileDescriptor(DESCRIPTOR) GetHeadersReq = _reflection.GeneratedProtocolMessageType('GetHeadersReq', (_message.Message,), { 'DESCRIPTOR' : _GETHEADERSREQ, '__module__' : 'common.fits_process.fitsProcess_pb2' # @@protoc_insertion_point(class_scope:dfs.common.fitsProcess.GetHeadersReq) }) _sym_db.RegisterMessage(GetHeadersReq) GetHeadersResp = _reflection.GeneratedProtocolMessageType('GetHeadersResp', (_message.Message,), { 'ValuesEntry' : _reflection.GeneratedProtocolMessageType('ValuesEntry', (_message.Message,), { 'DESCRIPTOR' : _GETHEADERSRESP_VALUESENTRY, '__module__' : 'common.fits_process.fitsProcess_pb2' # @@protoc_insertion_point(class_scope:dfs.common.fitsProcess.GetHeadersResp.ValuesEntry) }) , 'DESCRIPTOR' : _GETHEADERSRESP, '__module__' : 'common.fits_process.fitsProcess_pb2' # @@protoc_insertion_point(class_scope:dfs.common.fitsProcess.GetHeadersResp) }) _sym_db.RegisterMessage(GetHeadersResp) _sym_db.RegisterMessage(GetHeadersResp.ValuesEntry) DESCRIPTOR._options = None _GETHEADERSRESP_VALUESENTRY._options = None _FITSPROCESSSRV = _descriptor.ServiceDescriptor( name='FitsProcessSrv', full_name='dfs.common.fitsProcess.FitsProcessSrv', file=DESCRIPTOR, index=0, serialized_options=None, serialized_start=249, serialized_end=360, methods=[ _descriptor.MethodDescriptor( name='GetHeaders', full_name='dfs.common.fitsProcess.FitsProcessSrv.GetHeaders', index=0, containing_service=None, input_type=_GETHEADERSREQ, output_type=_GETHEADERSRESP, serialized_options=None, ), ]) _sym_db.RegisterServiceDescriptor(_FITSPROCESSSRV) DESCRIPTOR.services_by_name['FitsProcessSrv'] = _FITSPROCESSSRV # @@protoc_insertion_point(module_scope)