From b73e0fcc028e9a18322791f4d252ea0a1f3ad725 Mon Sep 17 00:00:00 2001 From: shoulinwei Date: Mon, 17 Apr 2023 21:50:47 +0800 Subject: [PATCH] upgrade protobuf --- csst_dfs_proto/common/ephem/ephem_pb2.py | 1337 +---------- csst_dfs_proto/common/ephem/ephem_pb2_grpc.py | 12 +- csst_dfs_proto/common/error_pb2.py | 74 +- csst_dfs_proto/common/error_pb2_grpc.py | 1 + .../common/fits_process/__init__.py | 0 .../common/fits_process/fitsProcess_pb2.py | 189 -- .../fits_process/fitsProcess_pb2_grpc.py | 46 - csst_dfs_proto/common/misc/misc_pb2.py | 132 +- csst_dfs_proto/common/misc/misc_pb2_grpc.py | 12 +- csst_dfs_proto/facility/brick/brick_pb2.py | 936 +------- .../facility/brick/brick_pb2_grpc.py | 286 ++- .../facility/calmerge/calmerge_pb2.py | 932 +------- .../facility/calmerge/calmerge_pb2_grpc.py | 37 +- .../facility/detector/detector_pb2.py | 1048 +------- .../facility/detector/detector_pb2_grpc.py | 436 ++-- csst_dfs_proto/facility/level0/level0_pb2.py | 1045 +------- .../facility/level0/level0_pb2_grpc.py | 37 +- .../facility/level0prc/level0prc_pb2.py | 544 +---- .../facility/level0prc/level0prc_pb2_grpc.py | 22 +- csst_dfs_proto/facility/level1/level1_pb2.py | 1029 +------- .../facility/level1/level1_pb2_grpc.py | 42 +- .../facility/level1prc/level1prc_pb2.py | 544 +---- .../facility/level1prc/level1prc_pb2_grpc.py | 22 +- .../level2producer/level2producer_pb2.py | 1829 +------------- .../level2producer/level2producer_pb2_grpc.py | 736 ++++-- .../facility/observation/observation_pb2.py | 828 +------ .../observation/observation_pb2_grpc.py | 286 ++- csst_dfs_proto/msc/level2/level2_pb2.py | 2098 +---------------- csst_dfs_proto/msc/level2/level2_pb2_grpc.py | 47 +- csst_dfs_proto/msc/level2co/level2co_pb2.py | 1962 +-------------- .../msc/level2co/level2co_pb2_grpc.py | 42 +- .../sls/level2spectra/level2spectra_pb2.py | 819 +------ .../level2spectra/level2spectra_pb2_grpc.py | 32 +- 33 files changed, 1905 insertions(+), 15537 deletions(-) delete mode 100644 csst_dfs_proto/common/fits_process/__init__.py delete mode 100644 csst_dfs_proto/common/fits_process/fitsProcess_pb2.py delete mode 100644 csst_dfs_proto/common/fits_process/fitsProcess_pb2_grpc.py diff --git a/csst_dfs_proto/common/ephem/ephem_pb2.py b/csst_dfs_proto/common/ephem/ephem_pb2.py index c6e336e..b6c4a55 100644 --- a/csst_dfs_proto/common/ephem/ephem_pb2.py +++ b/csst_dfs_proto/common/ephem/ephem_pb2.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: common/ephem/ephem.proto - +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder 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 descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -14,1323 +14,20 @@ _sym_db = _symbol_database.Default() from ...common import error_pb2 as common_dot_error__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='common/ephem/ephem.proto', - package='dfs.ephem', - syntax='proto3', - serialized_options=b'Z!cnlab.net/csst/proto/common/ephem', - serialized_pb=b'\n\x18\x63ommon/ephem/ephem.proto\x12\tdfs.ephem\x1a\x12\x63ommon/error.proto\"\xd7\x1e\n\x0bGaia3Record\x12\x12\n\nSolutionId\x18\x01 \x01(\x03\x12\x13\n\x0b\x44\x65signation\x18\x02 \x01(\t\x12\x10\n\x08SourceId\x18\x03 \x01(\x03\x12\x13\n\x0bRandomIndex\x18\x04 \x01(\x03\x12\x10\n\x08RefEpoch\x18\x05 \x01(\x01\x12\n\n\x02Ra\x18\x06 \x01(\x01\x12\x0f\n\x07RaError\x18\x07 \x01(\x01\x12\x0b\n\x03\x44\x65\x63\x18\x08 \x01(\x01\x12\x10\n\x08\x44\x65\x63\x45rror\x18\t \x01(\x01\x12\x10\n\x08Parallax\x18\n \x01(\x01\x12\x15\n\rParallaxError\x18\x0b \x01(\x01\x12\x19\n\x11ParallaxOverError\x18\x0c \x01(\x01\x12\n\n\x02Pm\x18\r \x01(\x01\x12\x0c\n\x04Pmra\x18\x0e \x01(\x01\x12\x11\n\tPmraError\x18\x0f \x01(\x01\x12\r\n\x05Pmdec\x18\x10 \x01(\x01\x12\x12\n\nPmdecError\x18\x11 \x01(\x01\x12\x11\n\tRaDecCorr\x18\x12 \x01(\x01\x12\x16\n\x0eRaParallaxCorr\x18\x13 \x01(\x01\x12\x12\n\nRaPmraCorr\x18\x14 \x01(\x01\x12\x13\n\x0bRaPmdecCorr\x18\x15 \x01(\x01\x12\x17\n\x0f\x44\x65\x63ParallaxCorr\x18\x16 \x01(\x01\x12\x13\n\x0b\x44\x65\x63PmraCorr\x18\x17 \x01(\x01\x12\x14\n\x0c\x44\x65\x63PmdecCorr\x18\x18 \x01(\x01\x12\x18\n\x10ParallaxPmraCorr\x18\x19 \x01(\x01\x12\x19\n\x11ParallaxPmdecCorr\x18\x1a \x01(\x01\x12\x15\n\rPmraPmdecCorr\x18\x1b \x01(\x01\x12\x19\n\x11\x41strometricNObsAl\x18\x1c \x01(\x03\x12\x19\n\x11\x41strometricNObsAc\x18\x1d \x01(\x03\x12\x1d\n\x15\x41strometricNGoodObsAl\x18\x1e \x01(\x03\x12\x1c\n\x14\x41strometricNBadObsAl\x18\x1f \x01(\x03\x12\x18\n\x10\x41strometricGofAl\x18 \x01(\x01\x12\x19\n\x11\x41strometricChi2Al\x18! \x01(\x01\x12\x1e\n\x16\x41strometricExcessNoise\x18\" \x01(\x01\x12!\n\x19\x41strometricExcessNoiseSig\x18# \x01(\x01\x12\x1f\n\x17\x41strometricParamsSolved\x18$ \x01(\x03\x12\x1e\n\x16\x41strometricPrimaryFlag\x18% \x01(\x05\x12\x1d\n\x15NuEffUsedInAstrometry\x18& \x01(\x01\x12\x14\n\x0cPseudocolour\x18\' \x01(\x01\x12\x19\n\x11PseudocolourError\x18( \x01(\x01\x12\x1a\n\x12RaPseudocolourCorr\x18) \x01(\x01\x12\x1b\n\x13\x44\x65\x63PseudocolourCorr\x18* \x01(\x01\x12 \n\x18ParallaxPseudocolourCorr\x18+ \x01(\x01\x12\x1c\n\x14PmraPseudocolourCorr\x18, \x01(\x01\x12\x1d\n\x15PmdecPseudocolourCorr\x18- \x01(\x01\x12\"\n\x1a\x41strometricMatchedTransits\x18. \x01(\x03\x12\x1d\n\x15VisibilityPeriodsUsed\x18/ \x01(\x03\x12\x1d\n\x15\x41strometricSigma5dMax\x18\x30 \x01(\x01\x12\x17\n\x0fMatchedTransits\x18\x31 \x01(\x03\x12\x1a\n\x12NewMatchedTransits\x18\x32 \x01(\x03\x12\x1e\n\x16MatchedTransitsRemoved\x18\x33 \x01(\x03\x12\x1f\n\x17IpdGofHarmonicAmplitude\x18\x34 \x01(\x01\x12\x1b\n\x13IpdGofHarmonicPhase\x18\x35 \x01(\x01\x12\x18\n\x10IpdFracMultiPeak\x18\x36 \x01(\x03\x12\x15\n\rIpdFracOddWin\x18\x37 \x01(\x03\x12\x0c\n\x04Ruwe\x18\x38 \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK1\x18\x39 \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK2\x18: \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK3\x18; \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK4\x18< \x01(\x01\x12\x1b\n\x13ScanDirectionMeanK1\x18= \x01(\x01\x12\x1b\n\x13ScanDirectionMeanK2\x18> \x01(\x01\x12\x1b\n\x13ScanDirectionMeanK3\x18? \x01(\x01\x12\x1b\n\x13ScanDirectionMeanK4\x18@ \x01(\x01\x12\x18\n\x10\x44uplicatedSource\x18\x41 \x01(\x05\x12\x11\n\tPhotGNObs\x18\x42 \x01(\x03\x12\x15\n\rPhotGMeanFlux\x18\x43 \x01(\x01\x12\x1a\n\x12PhotGMeanFluxError\x18\x44 \x01(\x01\x12\x1e\n\x16PhotGMeanFluxOverError\x18\x45 \x01(\x01\x12\x14\n\x0cPhotGMeanMag\x18\x46 \x01(\x01\x12\x12\n\nPhotBpNObs\x18G \x01(\x03\x12\x16\n\x0ePhotBpMeanFlux\x18H \x01(\x01\x12\x1b\n\x13PhotBpMeanFluxError\x18I \x01(\x01\x12\x1f\n\x17PhotBpMeanFluxOverError\x18J \x01(\x01\x12\x15\n\rPhotBpMeanMag\x18K \x01(\x01\x12\x12\n\nPhotRpNObs\x18L \x01(\x03\x12\x16\n\x0ePhotRpMeanFlux\x18M \x01(\x01\x12\x1b\n\x13PhotRpMeanFluxError\x18N \x01(\x01\x12\x1f\n\x17PhotRpMeanFluxOverError\x18O \x01(\x01\x12\x15\n\rPhotRpMeanMag\x18P \x01(\x01\x12\x1c\n\x14PhotBpRpExcessFactor\x18Q \x01(\x01\x12#\n\x1bPhotBpNContaminatedTransits\x18R \x01(\x01\x12\x1e\n\x16PhotBpNBlendedTransits\x18S \x01(\x01\x12#\n\x1bPhotRpNContaminatedTransits\x18T \x01(\x01\x12\x1e\n\x16PhotRpNBlendedTransits\x18U \x01(\x01\x12\x14\n\x0cPhotProcMode\x18V \x01(\x01\x12\x0c\n\x04\x42pRp\x18W \x01(\x01\x12\x0b\n\x03\x42pG\x18X \x01(\x01\x12\x0b\n\x03GRp\x18Y \x01(\x01\x12\x16\n\x0eRadialVelocity\x18Z \x01(\x01\x12\x1b\n\x13RadialVelocityError\x18[ \x01(\x01\x12\x14\n\x0cRvMethodUsed\x18\\ \x01(\x01\x12\x14\n\x0cRvNbTransits\x18] \x01(\x01\x12\x1d\n\x15RvNbDeblendedTransits\x18^ \x01(\x01\x12\x1f\n\x17RvVisibilityPeriodsUsed\x18_ \x01(\x01\x12\x1c\n\x14RvExpectedSigToNoise\x18` \x01(\x01\x12\x19\n\x11RvRenormalisedGof\x18\x61 \x01(\x01\x12\x15\n\rRvChisqPvalue\x18\x62 \x01(\x01\x12\x16\n\x0eRvTimeDuration\x18\x63 \x01(\x01\x12\x19\n\x11RvAmplitudeRobust\x18\x64 \x01(\x01\x12\x16\n\x0eRvTemplateTeff\x18\x65 \x01(\x01\x12\x16\n\x0eRvTemplateLogg\x18\x66 \x01(\x01\x12\x15\n\rRvTemplateFeH\x18g \x01(\x01\x12\x18\n\x10RvAtmParamOrigin\x18h \x01(\x01\x12\x0e\n\x06Vbroad\x18i \x01(\x01\x12\x13\n\x0bVbroadError\x18j \x01(\x01\x12\x18\n\x10VbroadNbTransits\x18k \x01(\x01\x12\x0f\n\x07GrvsMag\x18l \x01(\x01\x12\x14\n\x0cGrvsMagError\x18m \x01(\x01\x12\x19\n\x11GrvsMagNbTransits\x18n \x01(\x01\x12\x19\n\x11RvsSpecSigToNoise\x18o \x01(\x01\x12\x18\n\x10PhotVariableFlag\x18p \x01(\t\x12\t\n\x01L\x18q \x01(\x01\x12\t\n\x01\x42\x18r \x01(\x01\x12\x0e\n\x06\x45\x63lLon\x18s \x01(\x01\x12\x0e\n\x06\x45\x63lLat\x18t \x01(\x01\x12\x17\n\x0fInQsoCandidates\x18u \x01(\x05\x12\x1a\n\x12InGalaxyCandidates\x18v \x01(\x05\x12\x15\n\rNonSingleStar\x18w \x01(\x03\x12\x17\n\x0fHasXpContinuous\x18x \x01(\x05\x12\x14\n\x0cHasXpSampled\x18y \x01(\x05\x12\x0e\n\x06HasRvs\x18z \x01(\x05\x12\x1a\n\x12HasEpochPhotometry\x18{ \x01(\x05\x12\x12\n\nHasEpochRv\x18| \x01(\x05\x12\x16\n\x0eHasMcmcGspphot\x18} \x01(\x05\x12\x12\n\nHasMcmcMsc\x18~ \x01(\x05\x12\x19\n\x11InAndromedaSurvey\x18\x7f \x01(\x05\x12\"\n\x19\x43lassprobDscCombmodQuasar\x18\x80\x01 \x01(\x01\x12\"\n\x19\x43lassprobDscCombmodGalaxy\x18\x81\x01 \x01(\x01\x12 \n\x17\x43lassprobDscCombmodStar\x18\x82\x01 \x01(\x01\x12\x14\n\x0bTeffGspphot\x18\x83\x01 \x01(\x01\x12\x19\n\x10TeffGspphotLower\x18\x84\x01 \x01(\x01\x12\x19\n\x10TeffGspphotUpper\x18\x85\x01 \x01(\x01\x12\x14\n\x0bLoggGspphot\x18\x86\x01 \x01(\x01\x12\x19\n\x10LoggGspphotLower\x18\x87\x01 \x01(\x01\x12\x19\n\x10LoggGspphotUpper\x18\x88\x01 \x01(\x01\x12\x12\n\tMhGspphot\x18\x89\x01 \x01(\x01\x12\x17\n\x0eMhGspphotLower\x18\x8a\x01 \x01(\x01\x12\x17\n\x0eMhGspphotUpper\x18\x8b\x01 \x01(\x01\x12\x18\n\x0f\x44istanceGspphot\x18\x8c\x01 \x01(\x01\x12\x1d\n\x14\x44istanceGspphotLower\x18\x8d\x01 \x01(\x01\x12\x1d\n\x14\x44istanceGspphotUpper\x18\x8e\x01 \x01(\x01\x12\x15\n\x0c\x41zeroGspphot\x18\x8f\x01 \x01(\x01\x12\x1a\n\x11\x41zeroGspphotLower\x18\x90\x01 \x01(\x01\x12\x1a\n\x11\x41zeroGspphotUpper\x18\x91\x01 \x01(\x01\x12\x12\n\tAgGspphot\x18\x92\x01 \x01(\x01\x12\x17\n\x0e\x41gGspphotLower\x18\x93\x01 \x01(\x01\x12\x17\n\x0e\x41gGspphotUpper\x18\x94\x01 \x01(\x01\x12\x18\n\x0f\x45\x62pminrpGspphot\x18\x95\x01 \x01(\x01\x12\x1d\n\x14\x45\x62pminrpGspphotLower\x18\x96\x01 \x01(\x01\x12\x1d\n\x14\x45\x62pminrpGspphotUpper\x18\x97\x01 \x01(\x01\x12\x17\n\x0eLibnameGspphot\x18\x98\x01 \x01(\t\x12\x10\n\x07NS8HIdx\x18\x99\x01 \x01(\x05\x12\x11\n\x08NS16HIdx\x18\x9a\x01 \x01(\x05\x12\x11\n\x08NS32HIdx\x18\x9b\x01 \x01(\x05\x12\x11\n\x08NS64HIdx\x18\x9c\x01 \x01(\x05\x12\x10\n\x07\x46ileIdx\x18\x9d\x01 \x01(\x05\"\x8e\x01\n\x12\x45phemSearchRequest\x12\n\n\x02ra\x18\x01 \x01(\x01\x12\x0b\n\x03\x64\x65\x63\x18\x02 \x01(\x01\x12\x0e\n\x06radius\x18\x03 \x01(\x01\x12\x0f\n\x07\x63olumns\x18\x04 \x01(\t\x12\x0e\n\x06minMag\x18\x05 \x01(\x01\x12\x0e\n\x06maxMag\x18\x06 \x01(\x01\x12\x0f\n\x07obstime\x18\x07 \x01(\x03\x12\r\n\x05limit\x18\x08 \x01(\x03\"i\n\x13Gaia3SearchResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x0f\n\x07records\x18\x04 \x01(\x0c\x32\x62\n\x0e\x45phemSearchSrv\x12P\n\x0bGaia3Search\x12\x1d.dfs.ephem.EphemSearchRequest\x1a\x1e.dfs.ephem.Gaia3SearchResponse\"\x00\x30\x01\x42#Z!cnlab.net/csst/proto/common/ephemb\x06proto3' - , - dependencies=[common_dot_error__pb2.DESCRIPTOR,]) - - - - -_GAIA3RECORD = _descriptor.Descriptor( - name='Gaia3Record', - full_name='dfs.ephem.Gaia3Record', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='SolutionId', full_name='dfs.ephem.Gaia3Record.SolutionId', 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), - _descriptor.FieldDescriptor( - name='Designation', full_name='dfs.ephem.Gaia3Record.Designation', 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), - _descriptor.FieldDescriptor( - name='SourceId', full_name='dfs.ephem.Gaia3Record.SourceId', index=2, - number=3, 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), - _descriptor.FieldDescriptor( - name='RandomIndex', full_name='dfs.ephem.Gaia3Record.RandomIndex', index=3, - number=4, 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), - _descriptor.FieldDescriptor( - name='RefEpoch', full_name='dfs.ephem.Gaia3Record.RefEpoch', index=4, - number=5, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Ra', full_name='dfs.ephem.Gaia3Record.Ra', index=5, - number=6, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RaError', full_name='dfs.ephem.Gaia3Record.RaError', index=6, - number=7, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Dec', full_name='dfs.ephem.Gaia3Record.Dec', index=7, - number=8, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DecError', full_name='dfs.ephem.Gaia3Record.DecError', index=8, - number=9, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Parallax', full_name='dfs.ephem.Gaia3Record.Parallax', index=9, - number=10, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ParallaxError', full_name='dfs.ephem.Gaia3Record.ParallaxError', index=10, - number=11, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ParallaxOverError', full_name='dfs.ephem.Gaia3Record.ParallaxOverError', index=11, - number=12, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Pm', full_name='dfs.ephem.Gaia3Record.Pm', index=12, - number=13, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Pmra', full_name='dfs.ephem.Gaia3Record.Pmra', index=13, - number=14, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PmraError', full_name='dfs.ephem.Gaia3Record.PmraError', index=14, - number=15, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Pmdec', full_name='dfs.ephem.Gaia3Record.Pmdec', index=15, - number=16, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PmdecError', full_name='dfs.ephem.Gaia3Record.PmdecError', index=16, - number=17, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RaDecCorr', full_name='dfs.ephem.Gaia3Record.RaDecCorr', index=17, - number=18, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RaParallaxCorr', full_name='dfs.ephem.Gaia3Record.RaParallaxCorr', index=18, - number=19, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RaPmraCorr', full_name='dfs.ephem.Gaia3Record.RaPmraCorr', index=19, - number=20, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RaPmdecCorr', full_name='dfs.ephem.Gaia3Record.RaPmdecCorr', index=20, - number=21, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DecParallaxCorr', full_name='dfs.ephem.Gaia3Record.DecParallaxCorr', index=21, - number=22, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DecPmraCorr', full_name='dfs.ephem.Gaia3Record.DecPmraCorr', index=22, - number=23, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DecPmdecCorr', full_name='dfs.ephem.Gaia3Record.DecPmdecCorr', index=23, - number=24, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ParallaxPmraCorr', full_name='dfs.ephem.Gaia3Record.ParallaxPmraCorr', index=24, - number=25, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ParallaxPmdecCorr', full_name='dfs.ephem.Gaia3Record.ParallaxPmdecCorr', index=25, - number=26, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PmraPmdecCorr', full_name='dfs.ephem.Gaia3Record.PmraPmdecCorr', index=26, - number=27, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='AstrometricNObsAl', full_name='dfs.ephem.Gaia3Record.AstrometricNObsAl', index=27, - number=28, 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), - _descriptor.FieldDescriptor( - name='AstrometricNObsAc', full_name='dfs.ephem.Gaia3Record.AstrometricNObsAc', index=28, - number=29, 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), - _descriptor.FieldDescriptor( - name='AstrometricNGoodObsAl', full_name='dfs.ephem.Gaia3Record.AstrometricNGoodObsAl', index=29, - number=30, 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), - _descriptor.FieldDescriptor( - name='AstrometricNBadObsAl', full_name='dfs.ephem.Gaia3Record.AstrometricNBadObsAl', index=30, - number=31, 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), - _descriptor.FieldDescriptor( - name='AstrometricGofAl', full_name='dfs.ephem.Gaia3Record.AstrometricGofAl', index=31, - number=32, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='AstrometricChi2Al', full_name='dfs.ephem.Gaia3Record.AstrometricChi2Al', index=32, - number=33, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='AstrometricExcessNoise', full_name='dfs.ephem.Gaia3Record.AstrometricExcessNoise', index=33, - number=34, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='AstrometricExcessNoiseSig', full_name='dfs.ephem.Gaia3Record.AstrometricExcessNoiseSig', index=34, - number=35, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='AstrometricParamsSolved', full_name='dfs.ephem.Gaia3Record.AstrometricParamsSolved', index=35, - number=36, 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), - _descriptor.FieldDescriptor( - name='AstrometricPrimaryFlag', full_name='dfs.ephem.Gaia3Record.AstrometricPrimaryFlag', index=36, - number=37, type=5, cpp_type=1, 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='NuEffUsedInAstrometry', full_name='dfs.ephem.Gaia3Record.NuEffUsedInAstrometry', index=37, - number=38, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Pseudocolour', full_name='dfs.ephem.Gaia3Record.Pseudocolour', index=38, - number=39, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PseudocolourError', full_name='dfs.ephem.Gaia3Record.PseudocolourError', index=39, - number=40, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RaPseudocolourCorr', full_name='dfs.ephem.Gaia3Record.RaPseudocolourCorr', index=40, - number=41, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DecPseudocolourCorr', full_name='dfs.ephem.Gaia3Record.DecPseudocolourCorr', index=41, - number=42, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ParallaxPseudocolourCorr', full_name='dfs.ephem.Gaia3Record.ParallaxPseudocolourCorr', index=42, - number=43, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PmraPseudocolourCorr', full_name='dfs.ephem.Gaia3Record.PmraPseudocolourCorr', index=43, - number=44, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PmdecPseudocolourCorr', full_name='dfs.ephem.Gaia3Record.PmdecPseudocolourCorr', index=44, - number=45, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='AstrometricMatchedTransits', full_name='dfs.ephem.Gaia3Record.AstrometricMatchedTransits', index=45, - number=46, 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), - _descriptor.FieldDescriptor( - name='VisibilityPeriodsUsed', full_name='dfs.ephem.Gaia3Record.VisibilityPeriodsUsed', index=46, - number=47, 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), - _descriptor.FieldDescriptor( - name='AstrometricSigma5dMax', full_name='dfs.ephem.Gaia3Record.AstrometricSigma5dMax', index=47, - number=48, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MatchedTransits', full_name='dfs.ephem.Gaia3Record.MatchedTransits', index=48, - number=49, 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), - _descriptor.FieldDescriptor( - name='NewMatchedTransits', full_name='dfs.ephem.Gaia3Record.NewMatchedTransits', index=49, - number=50, 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), - _descriptor.FieldDescriptor( - name='MatchedTransitsRemoved', full_name='dfs.ephem.Gaia3Record.MatchedTransitsRemoved', index=50, - number=51, 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), - _descriptor.FieldDescriptor( - name='IpdGofHarmonicAmplitude', full_name='dfs.ephem.Gaia3Record.IpdGofHarmonicAmplitude', index=51, - number=52, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='IpdGofHarmonicPhase', full_name='dfs.ephem.Gaia3Record.IpdGofHarmonicPhase', index=52, - number=53, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='IpdFracMultiPeak', full_name='dfs.ephem.Gaia3Record.IpdFracMultiPeak', index=53, - number=54, 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), - _descriptor.FieldDescriptor( - name='IpdFracOddWin', full_name='dfs.ephem.Gaia3Record.IpdFracOddWin', index=54, - number=55, 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), - _descriptor.FieldDescriptor( - name='Ruwe', full_name='dfs.ephem.Gaia3Record.Ruwe', index=55, - number=56, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ScanDirectionStrengthK1', full_name='dfs.ephem.Gaia3Record.ScanDirectionStrengthK1', index=56, - number=57, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ScanDirectionStrengthK2', full_name='dfs.ephem.Gaia3Record.ScanDirectionStrengthK2', index=57, - number=58, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ScanDirectionStrengthK3', full_name='dfs.ephem.Gaia3Record.ScanDirectionStrengthK3', index=58, - number=59, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ScanDirectionStrengthK4', full_name='dfs.ephem.Gaia3Record.ScanDirectionStrengthK4', index=59, - number=60, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ScanDirectionMeanK1', full_name='dfs.ephem.Gaia3Record.ScanDirectionMeanK1', index=60, - number=61, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ScanDirectionMeanK2', full_name='dfs.ephem.Gaia3Record.ScanDirectionMeanK2', index=61, - number=62, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ScanDirectionMeanK3', full_name='dfs.ephem.Gaia3Record.ScanDirectionMeanK3', index=62, - number=63, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ScanDirectionMeanK4', full_name='dfs.ephem.Gaia3Record.ScanDirectionMeanK4', index=63, - number=64, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DuplicatedSource', full_name='dfs.ephem.Gaia3Record.DuplicatedSource', index=64, - number=65, type=5, cpp_type=1, 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='PhotGNObs', full_name='dfs.ephem.Gaia3Record.PhotGNObs', index=65, - number=66, 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), - _descriptor.FieldDescriptor( - name='PhotGMeanFlux', full_name='dfs.ephem.Gaia3Record.PhotGMeanFlux', index=66, - number=67, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotGMeanFluxError', full_name='dfs.ephem.Gaia3Record.PhotGMeanFluxError', index=67, - number=68, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotGMeanFluxOverError', full_name='dfs.ephem.Gaia3Record.PhotGMeanFluxOverError', index=68, - number=69, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotGMeanMag', full_name='dfs.ephem.Gaia3Record.PhotGMeanMag', index=69, - number=70, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotBpNObs', full_name='dfs.ephem.Gaia3Record.PhotBpNObs', index=70, - number=71, 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), - _descriptor.FieldDescriptor( - name='PhotBpMeanFlux', full_name='dfs.ephem.Gaia3Record.PhotBpMeanFlux', index=71, - number=72, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotBpMeanFluxError', full_name='dfs.ephem.Gaia3Record.PhotBpMeanFluxError', index=72, - number=73, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotBpMeanFluxOverError', full_name='dfs.ephem.Gaia3Record.PhotBpMeanFluxOverError', index=73, - number=74, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotBpMeanMag', full_name='dfs.ephem.Gaia3Record.PhotBpMeanMag', index=74, - number=75, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotRpNObs', full_name='dfs.ephem.Gaia3Record.PhotRpNObs', index=75, - number=76, 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), - _descriptor.FieldDescriptor( - name='PhotRpMeanFlux', full_name='dfs.ephem.Gaia3Record.PhotRpMeanFlux', index=76, - number=77, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotRpMeanFluxError', full_name='dfs.ephem.Gaia3Record.PhotRpMeanFluxError', index=77, - number=78, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotRpMeanFluxOverError', full_name='dfs.ephem.Gaia3Record.PhotRpMeanFluxOverError', index=78, - number=79, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotRpMeanMag', full_name='dfs.ephem.Gaia3Record.PhotRpMeanMag', index=79, - number=80, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotBpRpExcessFactor', full_name='dfs.ephem.Gaia3Record.PhotBpRpExcessFactor', index=80, - number=81, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotBpNContaminatedTransits', full_name='dfs.ephem.Gaia3Record.PhotBpNContaminatedTransits', index=81, - number=82, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotBpNBlendedTransits', full_name='dfs.ephem.Gaia3Record.PhotBpNBlendedTransits', index=82, - number=83, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotRpNContaminatedTransits', full_name='dfs.ephem.Gaia3Record.PhotRpNContaminatedTransits', index=83, - number=84, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotRpNBlendedTransits', full_name='dfs.ephem.Gaia3Record.PhotRpNBlendedTransits', index=84, - number=85, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotProcMode', full_name='dfs.ephem.Gaia3Record.PhotProcMode', index=85, - number=86, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='BpRp', full_name='dfs.ephem.Gaia3Record.BpRp', index=86, - number=87, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='BpG', full_name='dfs.ephem.Gaia3Record.BpG', index=87, - number=88, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='GRp', full_name='dfs.ephem.Gaia3Record.GRp', index=88, - number=89, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RadialVelocity', full_name='dfs.ephem.Gaia3Record.RadialVelocity', index=89, - number=90, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RadialVelocityError', full_name='dfs.ephem.Gaia3Record.RadialVelocityError', index=90, - number=91, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RvMethodUsed', full_name='dfs.ephem.Gaia3Record.RvMethodUsed', index=91, - number=92, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RvNbTransits', full_name='dfs.ephem.Gaia3Record.RvNbTransits', index=92, - number=93, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RvNbDeblendedTransits', full_name='dfs.ephem.Gaia3Record.RvNbDeblendedTransits', index=93, - number=94, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RvVisibilityPeriodsUsed', full_name='dfs.ephem.Gaia3Record.RvVisibilityPeriodsUsed', index=94, - number=95, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RvExpectedSigToNoise', full_name='dfs.ephem.Gaia3Record.RvExpectedSigToNoise', index=95, - number=96, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RvRenormalisedGof', full_name='dfs.ephem.Gaia3Record.RvRenormalisedGof', index=96, - number=97, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RvChisqPvalue', full_name='dfs.ephem.Gaia3Record.RvChisqPvalue', index=97, - number=98, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RvTimeDuration', full_name='dfs.ephem.Gaia3Record.RvTimeDuration', index=98, - number=99, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RvAmplitudeRobust', full_name='dfs.ephem.Gaia3Record.RvAmplitudeRobust', index=99, - number=100, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RvTemplateTeff', full_name='dfs.ephem.Gaia3Record.RvTemplateTeff', index=100, - number=101, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RvTemplateLogg', full_name='dfs.ephem.Gaia3Record.RvTemplateLogg', index=101, - number=102, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RvTemplateFeH', full_name='dfs.ephem.Gaia3Record.RvTemplateFeH', index=102, - number=103, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RvAtmParamOrigin', full_name='dfs.ephem.Gaia3Record.RvAtmParamOrigin', index=103, - number=104, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Vbroad', full_name='dfs.ephem.Gaia3Record.Vbroad', index=104, - number=105, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='VbroadError', full_name='dfs.ephem.Gaia3Record.VbroadError', index=105, - number=106, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='VbroadNbTransits', full_name='dfs.ephem.Gaia3Record.VbroadNbTransits', index=106, - number=107, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='GrvsMag', full_name='dfs.ephem.Gaia3Record.GrvsMag', index=107, - number=108, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='GrvsMagError', full_name='dfs.ephem.Gaia3Record.GrvsMagError', index=108, - number=109, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='GrvsMagNbTransits', full_name='dfs.ephem.Gaia3Record.GrvsMagNbTransits', index=109, - number=110, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RvsSpecSigToNoise', full_name='dfs.ephem.Gaia3Record.RvsSpecSigToNoise', index=110, - number=111, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PhotVariableFlag', full_name='dfs.ephem.Gaia3Record.PhotVariableFlag', index=111, - number=112, 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='L', full_name='dfs.ephem.Gaia3Record.L', index=112, - number=113, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='B', full_name='dfs.ephem.Gaia3Record.B', index=113, - number=114, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='EclLon', full_name='dfs.ephem.Gaia3Record.EclLon', index=114, - number=115, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='EclLat', full_name='dfs.ephem.Gaia3Record.EclLat', index=115, - number=116, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='InQsoCandidates', full_name='dfs.ephem.Gaia3Record.InQsoCandidates', index=116, - number=117, type=5, cpp_type=1, 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='InGalaxyCandidates', full_name='dfs.ephem.Gaia3Record.InGalaxyCandidates', index=117, - number=118, type=5, cpp_type=1, 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='NonSingleStar', full_name='dfs.ephem.Gaia3Record.NonSingleStar', index=118, - number=119, 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), - _descriptor.FieldDescriptor( - name='HasXpContinuous', full_name='dfs.ephem.Gaia3Record.HasXpContinuous', index=119, - number=120, type=5, cpp_type=1, 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='HasXpSampled', full_name='dfs.ephem.Gaia3Record.HasXpSampled', index=120, - number=121, type=5, cpp_type=1, 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='HasRvs', full_name='dfs.ephem.Gaia3Record.HasRvs', index=121, - number=122, type=5, cpp_type=1, 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='HasEpochPhotometry', full_name='dfs.ephem.Gaia3Record.HasEpochPhotometry', index=122, - number=123, type=5, cpp_type=1, 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='HasEpochRv', full_name='dfs.ephem.Gaia3Record.HasEpochRv', index=123, - number=124, type=5, cpp_type=1, 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='HasMcmcGspphot', full_name='dfs.ephem.Gaia3Record.HasMcmcGspphot', index=124, - number=125, type=5, cpp_type=1, 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='HasMcmcMsc', full_name='dfs.ephem.Gaia3Record.HasMcmcMsc', index=125, - number=126, type=5, cpp_type=1, 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='InAndromedaSurvey', full_name='dfs.ephem.Gaia3Record.InAndromedaSurvey', index=126, - number=127, type=5, cpp_type=1, 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='ClassprobDscCombmodQuasar', full_name='dfs.ephem.Gaia3Record.ClassprobDscCombmodQuasar', index=127, - number=128, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ClassprobDscCombmodGalaxy', full_name='dfs.ephem.Gaia3Record.ClassprobDscCombmodGalaxy', index=128, - number=129, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ClassprobDscCombmodStar', full_name='dfs.ephem.Gaia3Record.ClassprobDscCombmodStar', index=129, - number=130, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='TeffGspphot', full_name='dfs.ephem.Gaia3Record.TeffGspphot', index=130, - number=131, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='TeffGspphotLower', full_name='dfs.ephem.Gaia3Record.TeffGspphotLower', index=131, - number=132, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='TeffGspphotUpper', full_name='dfs.ephem.Gaia3Record.TeffGspphotUpper', index=132, - number=133, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='LoggGspphot', full_name='dfs.ephem.Gaia3Record.LoggGspphot', index=133, - number=134, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='LoggGspphotLower', full_name='dfs.ephem.Gaia3Record.LoggGspphotLower', index=134, - number=135, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='LoggGspphotUpper', full_name='dfs.ephem.Gaia3Record.LoggGspphotUpper', index=135, - number=136, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MhGspphot', full_name='dfs.ephem.Gaia3Record.MhGspphot', index=136, - number=137, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MhGspphotLower', full_name='dfs.ephem.Gaia3Record.MhGspphotLower', index=137, - number=138, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MhGspphotUpper', full_name='dfs.ephem.Gaia3Record.MhGspphotUpper', index=138, - number=139, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DistanceGspphot', full_name='dfs.ephem.Gaia3Record.DistanceGspphot', index=139, - number=140, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DistanceGspphotLower', full_name='dfs.ephem.Gaia3Record.DistanceGspphotLower', index=140, - number=141, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DistanceGspphotUpper', full_name='dfs.ephem.Gaia3Record.DistanceGspphotUpper', index=141, - number=142, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='AzeroGspphot', full_name='dfs.ephem.Gaia3Record.AzeroGspphot', index=142, - number=143, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='AzeroGspphotLower', full_name='dfs.ephem.Gaia3Record.AzeroGspphotLower', index=143, - number=144, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='AzeroGspphotUpper', full_name='dfs.ephem.Gaia3Record.AzeroGspphotUpper', index=144, - number=145, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='AgGspphot', full_name='dfs.ephem.Gaia3Record.AgGspphot', index=145, - number=146, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='AgGspphotLower', full_name='dfs.ephem.Gaia3Record.AgGspphotLower', index=146, - number=147, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='AgGspphotUpper', full_name='dfs.ephem.Gaia3Record.AgGspphotUpper', index=147, - number=148, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='EbpminrpGspphot', full_name='dfs.ephem.Gaia3Record.EbpminrpGspphot', index=148, - number=149, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='EbpminrpGspphotLower', full_name='dfs.ephem.Gaia3Record.EbpminrpGspphotLower', index=149, - number=150, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='EbpminrpGspphotUpper', full_name='dfs.ephem.Gaia3Record.EbpminrpGspphotUpper', index=150, - number=151, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='LibnameGspphot', full_name='dfs.ephem.Gaia3Record.LibnameGspphot', index=151, - number=152, 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='NS8HIdx', full_name='dfs.ephem.Gaia3Record.NS8HIdx', index=152, - number=153, type=5, cpp_type=1, 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='NS16HIdx', full_name='dfs.ephem.Gaia3Record.NS16HIdx', index=153, - number=154, type=5, cpp_type=1, 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='NS32HIdx', full_name='dfs.ephem.Gaia3Record.NS32HIdx', index=154, - number=155, type=5, cpp_type=1, 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='NS64HIdx', full_name='dfs.ephem.Gaia3Record.NS64HIdx', index=155, - number=156, type=5, cpp_type=1, 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='FileIdx', full_name='dfs.ephem.Gaia3Record.FileIdx', index=156, - number=157, type=5, cpp_type=1, 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=60, - serialized_end=3987, -) - - -_EPHEMSEARCHREQUEST = _descriptor.Descriptor( - name='EphemSearchRequest', - full_name='dfs.ephem.EphemSearchRequest', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='ra', full_name='dfs.ephem.EphemSearchRequest.ra', index=0, - number=1, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='dec', full_name='dfs.ephem.EphemSearchRequest.dec', index=1, - number=2, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='radius', full_name='dfs.ephem.EphemSearchRequest.radius', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='columns', full_name='dfs.ephem.EphemSearchRequest.columns', index=3, - number=4, 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='minMag', full_name='dfs.ephem.EphemSearchRequest.minMag', index=4, - number=5, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='maxMag', full_name='dfs.ephem.EphemSearchRequest.maxMag', index=5, - number=6, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='obstime', full_name='dfs.ephem.EphemSearchRequest.obstime', index=6, - number=7, 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), - _descriptor.FieldDescriptor( - name='limit', full_name='dfs.ephem.EphemSearchRequest.limit', index=7, - number=8, 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=3990, - serialized_end=4132, -) - - -_GAIA3SEARCHRESPONSE = _descriptor.Descriptor( - name='Gaia3SearchResponse', - full_name='dfs.ephem.Gaia3SearchResponse', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.ephem.Gaia3SearchResponse.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.ephem.Gaia3SearchResponse.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.ephem.Gaia3SearchResponse.error', 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='records', full_name='dfs.ephem.Gaia3SearchResponse.records', index=3, - number=4, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=b"", - 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=4134, - serialized_end=4239, -) - -_GAIA3SEARCHRESPONSE.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -DESCRIPTOR.message_types_by_name['Gaia3Record'] = _GAIA3RECORD -DESCRIPTOR.message_types_by_name['EphemSearchRequest'] = _EPHEMSEARCHREQUEST -DESCRIPTOR.message_types_by_name['Gaia3SearchResponse'] = _GAIA3SEARCHRESPONSE -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Gaia3Record = _reflection.GeneratedProtocolMessageType('Gaia3Record', (_message.Message,), { - 'DESCRIPTOR' : _GAIA3RECORD, - '__module__' : 'common.ephem.ephem_pb2' - # @@protoc_insertion_point(class_scope:dfs.ephem.Gaia3Record) - }) -_sym_db.RegisterMessage(Gaia3Record) - -EphemSearchRequest = _reflection.GeneratedProtocolMessageType('EphemSearchRequest', (_message.Message,), { - 'DESCRIPTOR' : _EPHEMSEARCHREQUEST, - '__module__' : 'common.ephem.ephem_pb2' - # @@protoc_insertion_point(class_scope:dfs.ephem.EphemSearchRequest) - }) -_sym_db.RegisterMessage(EphemSearchRequest) - -Gaia3SearchResponse = _reflection.GeneratedProtocolMessageType('Gaia3SearchResponse', (_message.Message,), { - 'DESCRIPTOR' : _GAIA3SEARCHRESPONSE, - '__module__' : 'common.ephem.ephem_pb2' - # @@protoc_insertion_point(class_scope:dfs.ephem.Gaia3SearchResponse) - }) -_sym_db.RegisterMessage(Gaia3SearchResponse) - - -DESCRIPTOR._options = None - -_EPHEMSEARCHSRV = _descriptor.ServiceDescriptor( - name='EphemSearchSrv', - full_name='dfs.ephem.EphemSearchSrv', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=4241, - serialized_end=4339, - methods=[ - _descriptor.MethodDescriptor( - name='Gaia3Search', - full_name='dfs.ephem.EphemSearchSrv.Gaia3Search', - index=0, - containing_service=None, - input_type=_EPHEMSEARCHREQUEST, - output_type=_GAIA3SEARCHRESPONSE, - serialized_options=None, - ), -]) -_sym_db.RegisterServiceDescriptor(_EPHEMSEARCHSRV) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18\x63ommon/ephem/ephem.proto\x12\tdfs.ephem\x1a\x12\x63ommon/error.proto\"\xd7\x1e\n\x0bGaia3Record\x12\x12\n\nSolutionId\x18\x01 \x01(\x03\x12\x13\n\x0b\x44\x65signation\x18\x02 \x01(\t\x12\x10\n\x08SourceId\x18\x03 \x01(\x03\x12\x13\n\x0bRandomIndex\x18\x04 \x01(\x03\x12\x10\n\x08RefEpoch\x18\x05 \x01(\x01\x12\n\n\x02Ra\x18\x06 \x01(\x01\x12\x0f\n\x07RaError\x18\x07 \x01(\x01\x12\x0b\n\x03\x44\x65\x63\x18\x08 \x01(\x01\x12\x10\n\x08\x44\x65\x63\x45rror\x18\t \x01(\x01\x12\x10\n\x08Parallax\x18\n \x01(\x01\x12\x15\n\rParallaxError\x18\x0b \x01(\x01\x12\x19\n\x11ParallaxOverError\x18\x0c \x01(\x01\x12\n\n\x02Pm\x18\r \x01(\x01\x12\x0c\n\x04Pmra\x18\x0e \x01(\x01\x12\x11\n\tPmraError\x18\x0f \x01(\x01\x12\r\n\x05Pmdec\x18\x10 \x01(\x01\x12\x12\n\nPmdecError\x18\x11 \x01(\x01\x12\x11\n\tRaDecCorr\x18\x12 \x01(\x01\x12\x16\n\x0eRaParallaxCorr\x18\x13 \x01(\x01\x12\x12\n\nRaPmraCorr\x18\x14 \x01(\x01\x12\x13\n\x0bRaPmdecCorr\x18\x15 \x01(\x01\x12\x17\n\x0f\x44\x65\x63ParallaxCorr\x18\x16 \x01(\x01\x12\x13\n\x0b\x44\x65\x63PmraCorr\x18\x17 \x01(\x01\x12\x14\n\x0c\x44\x65\x63PmdecCorr\x18\x18 \x01(\x01\x12\x18\n\x10ParallaxPmraCorr\x18\x19 \x01(\x01\x12\x19\n\x11ParallaxPmdecCorr\x18\x1a \x01(\x01\x12\x15\n\rPmraPmdecCorr\x18\x1b \x01(\x01\x12\x19\n\x11\x41strometricNObsAl\x18\x1c \x01(\x03\x12\x19\n\x11\x41strometricNObsAc\x18\x1d \x01(\x03\x12\x1d\n\x15\x41strometricNGoodObsAl\x18\x1e \x01(\x03\x12\x1c\n\x14\x41strometricNBadObsAl\x18\x1f \x01(\x03\x12\x18\n\x10\x41strometricGofAl\x18 \x01(\x01\x12\x19\n\x11\x41strometricChi2Al\x18! \x01(\x01\x12\x1e\n\x16\x41strometricExcessNoise\x18\" \x01(\x01\x12!\n\x19\x41strometricExcessNoiseSig\x18# \x01(\x01\x12\x1f\n\x17\x41strometricParamsSolved\x18$ \x01(\x03\x12\x1e\n\x16\x41strometricPrimaryFlag\x18% \x01(\x05\x12\x1d\n\x15NuEffUsedInAstrometry\x18& \x01(\x01\x12\x14\n\x0cPseudocolour\x18\' \x01(\x01\x12\x19\n\x11PseudocolourError\x18( \x01(\x01\x12\x1a\n\x12RaPseudocolourCorr\x18) \x01(\x01\x12\x1b\n\x13\x44\x65\x63PseudocolourCorr\x18* \x01(\x01\x12 \n\x18ParallaxPseudocolourCorr\x18+ \x01(\x01\x12\x1c\n\x14PmraPseudocolourCorr\x18, \x01(\x01\x12\x1d\n\x15PmdecPseudocolourCorr\x18- \x01(\x01\x12\"\n\x1a\x41strometricMatchedTransits\x18. \x01(\x03\x12\x1d\n\x15VisibilityPeriodsUsed\x18/ \x01(\x03\x12\x1d\n\x15\x41strometricSigma5dMax\x18\x30 \x01(\x01\x12\x17\n\x0fMatchedTransits\x18\x31 \x01(\x03\x12\x1a\n\x12NewMatchedTransits\x18\x32 \x01(\x03\x12\x1e\n\x16MatchedTransitsRemoved\x18\x33 \x01(\x03\x12\x1f\n\x17IpdGofHarmonicAmplitude\x18\x34 \x01(\x01\x12\x1b\n\x13IpdGofHarmonicPhase\x18\x35 \x01(\x01\x12\x18\n\x10IpdFracMultiPeak\x18\x36 \x01(\x03\x12\x15\n\rIpdFracOddWin\x18\x37 \x01(\x03\x12\x0c\n\x04Ruwe\x18\x38 \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK1\x18\x39 \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK2\x18: \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK3\x18; \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK4\x18< \x01(\x01\x12\x1b\n\x13ScanDirectionMeanK1\x18= \x01(\x01\x12\x1b\n\x13ScanDirectionMeanK2\x18> \x01(\x01\x12\x1b\n\x13ScanDirectionMeanK3\x18? \x01(\x01\x12\x1b\n\x13ScanDirectionMeanK4\x18@ \x01(\x01\x12\x18\n\x10\x44uplicatedSource\x18\x41 \x01(\x05\x12\x11\n\tPhotGNObs\x18\x42 \x01(\x03\x12\x15\n\rPhotGMeanFlux\x18\x43 \x01(\x01\x12\x1a\n\x12PhotGMeanFluxError\x18\x44 \x01(\x01\x12\x1e\n\x16PhotGMeanFluxOverError\x18\x45 \x01(\x01\x12\x14\n\x0cPhotGMeanMag\x18\x46 \x01(\x01\x12\x12\n\nPhotBpNObs\x18G \x01(\x03\x12\x16\n\x0ePhotBpMeanFlux\x18H \x01(\x01\x12\x1b\n\x13PhotBpMeanFluxError\x18I \x01(\x01\x12\x1f\n\x17PhotBpMeanFluxOverError\x18J \x01(\x01\x12\x15\n\rPhotBpMeanMag\x18K \x01(\x01\x12\x12\n\nPhotRpNObs\x18L \x01(\x03\x12\x16\n\x0ePhotRpMeanFlux\x18M \x01(\x01\x12\x1b\n\x13PhotRpMeanFluxError\x18N \x01(\x01\x12\x1f\n\x17PhotRpMeanFluxOverError\x18O \x01(\x01\x12\x15\n\rPhotRpMeanMag\x18P \x01(\x01\x12\x1c\n\x14PhotBpRpExcessFactor\x18Q \x01(\x01\x12#\n\x1bPhotBpNContaminatedTransits\x18R \x01(\x01\x12\x1e\n\x16PhotBpNBlendedTransits\x18S \x01(\x01\x12#\n\x1bPhotRpNContaminatedTransits\x18T \x01(\x01\x12\x1e\n\x16PhotRpNBlendedTransits\x18U \x01(\x01\x12\x14\n\x0cPhotProcMode\x18V \x01(\x01\x12\x0c\n\x04\x42pRp\x18W \x01(\x01\x12\x0b\n\x03\x42pG\x18X \x01(\x01\x12\x0b\n\x03GRp\x18Y \x01(\x01\x12\x16\n\x0eRadialVelocity\x18Z \x01(\x01\x12\x1b\n\x13RadialVelocityError\x18[ \x01(\x01\x12\x14\n\x0cRvMethodUsed\x18\\ \x01(\x01\x12\x14\n\x0cRvNbTransits\x18] \x01(\x01\x12\x1d\n\x15RvNbDeblendedTransits\x18^ \x01(\x01\x12\x1f\n\x17RvVisibilityPeriodsUsed\x18_ \x01(\x01\x12\x1c\n\x14RvExpectedSigToNoise\x18` \x01(\x01\x12\x19\n\x11RvRenormalisedGof\x18\x61 \x01(\x01\x12\x15\n\rRvChisqPvalue\x18\x62 \x01(\x01\x12\x16\n\x0eRvTimeDuration\x18\x63 \x01(\x01\x12\x19\n\x11RvAmplitudeRobust\x18\x64 \x01(\x01\x12\x16\n\x0eRvTemplateTeff\x18\x65 \x01(\x01\x12\x16\n\x0eRvTemplateLogg\x18\x66 \x01(\x01\x12\x15\n\rRvTemplateFeH\x18g \x01(\x01\x12\x18\n\x10RvAtmParamOrigin\x18h \x01(\x01\x12\x0e\n\x06Vbroad\x18i \x01(\x01\x12\x13\n\x0bVbroadError\x18j \x01(\x01\x12\x18\n\x10VbroadNbTransits\x18k \x01(\x01\x12\x0f\n\x07GrvsMag\x18l \x01(\x01\x12\x14\n\x0cGrvsMagError\x18m \x01(\x01\x12\x19\n\x11GrvsMagNbTransits\x18n \x01(\x01\x12\x19\n\x11RvsSpecSigToNoise\x18o \x01(\x01\x12\x18\n\x10PhotVariableFlag\x18p \x01(\t\x12\t\n\x01L\x18q \x01(\x01\x12\t\n\x01\x42\x18r \x01(\x01\x12\x0e\n\x06\x45\x63lLon\x18s \x01(\x01\x12\x0e\n\x06\x45\x63lLat\x18t \x01(\x01\x12\x17\n\x0fInQsoCandidates\x18u \x01(\x05\x12\x1a\n\x12InGalaxyCandidates\x18v \x01(\x05\x12\x15\n\rNonSingleStar\x18w \x01(\x03\x12\x17\n\x0fHasXpContinuous\x18x \x01(\x05\x12\x14\n\x0cHasXpSampled\x18y \x01(\x05\x12\x0e\n\x06HasRvs\x18z \x01(\x05\x12\x1a\n\x12HasEpochPhotometry\x18{ \x01(\x05\x12\x12\n\nHasEpochRv\x18| \x01(\x05\x12\x16\n\x0eHasMcmcGspphot\x18} \x01(\x05\x12\x12\n\nHasMcmcMsc\x18~ \x01(\x05\x12\x19\n\x11InAndromedaSurvey\x18\x7f \x01(\x05\x12\"\n\x19\x43lassprobDscCombmodQuasar\x18\x80\x01 \x01(\x01\x12\"\n\x19\x43lassprobDscCombmodGalaxy\x18\x81\x01 \x01(\x01\x12 \n\x17\x43lassprobDscCombmodStar\x18\x82\x01 \x01(\x01\x12\x14\n\x0bTeffGspphot\x18\x83\x01 \x01(\x01\x12\x19\n\x10TeffGspphotLower\x18\x84\x01 \x01(\x01\x12\x19\n\x10TeffGspphotUpper\x18\x85\x01 \x01(\x01\x12\x14\n\x0bLoggGspphot\x18\x86\x01 \x01(\x01\x12\x19\n\x10LoggGspphotLower\x18\x87\x01 \x01(\x01\x12\x19\n\x10LoggGspphotUpper\x18\x88\x01 \x01(\x01\x12\x12\n\tMhGspphot\x18\x89\x01 \x01(\x01\x12\x17\n\x0eMhGspphotLower\x18\x8a\x01 \x01(\x01\x12\x17\n\x0eMhGspphotUpper\x18\x8b\x01 \x01(\x01\x12\x18\n\x0f\x44istanceGspphot\x18\x8c\x01 \x01(\x01\x12\x1d\n\x14\x44istanceGspphotLower\x18\x8d\x01 \x01(\x01\x12\x1d\n\x14\x44istanceGspphotUpper\x18\x8e\x01 \x01(\x01\x12\x15\n\x0c\x41zeroGspphot\x18\x8f\x01 \x01(\x01\x12\x1a\n\x11\x41zeroGspphotLower\x18\x90\x01 \x01(\x01\x12\x1a\n\x11\x41zeroGspphotUpper\x18\x91\x01 \x01(\x01\x12\x12\n\tAgGspphot\x18\x92\x01 \x01(\x01\x12\x17\n\x0e\x41gGspphotLower\x18\x93\x01 \x01(\x01\x12\x17\n\x0e\x41gGspphotUpper\x18\x94\x01 \x01(\x01\x12\x18\n\x0f\x45\x62pminrpGspphot\x18\x95\x01 \x01(\x01\x12\x1d\n\x14\x45\x62pminrpGspphotLower\x18\x96\x01 \x01(\x01\x12\x1d\n\x14\x45\x62pminrpGspphotUpper\x18\x97\x01 \x01(\x01\x12\x17\n\x0eLibnameGspphot\x18\x98\x01 \x01(\t\x12\x10\n\x07NS8HIdx\x18\x99\x01 \x01(\x05\x12\x11\n\x08NS16HIdx\x18\x9a\x01 \x01(\x05\x12\x11\n\x08NS32HIdx\x18\x9b\x01 \x01(\x05\x12\x11\n\x08NS64HIdx\x18\x9c\x01 \x01(\x05\x12\x10\n\x07\x46ileIdx\x18\x9d\x01 \x01(\x05\"\x8e\x01\n\x12\x45phemSearchRequest\x12\n\n\x02ra\x18\x01 \x01(\x01\x12\x0b\n\x03\x64\x65\x63\x18\x02 \x01(\x01\x12\x0e\n\x06radius\x18\x03 \x01(\x01\x12\x0f\n\x07\x63olumns\x18\x04 \x01(\t\x12\x0e\n\x06minMag\x18\x05 \x01(\x01\x12\x0e\n\x06maxMag\x18\x06 \x01(\x01\x12\x0f\n\x07obstime\x18\x07 \x01(\x03\x12\r\n\x05limit\x18\x08 \x01(\x03\"i\n\x13Gaia3SearchResponse\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x0f\n\x07records\x18\x04 \x01(\x0c\x32\x62\n\x0e\x45phemSearchSrv\x12P\n\x0bGaia3Search\x12\x1d.dfs.ephem.EphemSearchRequest\x1a\x1e.dfs.ephem.Gaia3SearchResponse\"\x00\x30\x01\x42#Z!cnlab.net/csst/proto/common/ephemb\x06proto3') -DESCRIPTOR.services_by_name['EphemSearchSrv'] = _EPHEMSEARCHSRV +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common.ephem.ephem_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z!cnlab.net/csst/proto/common/ephem' + _GAIA3RECORD._serialized_start=60 + _GAIA3RECORD._serialized_end=3987 + _EPHEMSEARCHREQUEST._serialized_start=3990 + _EPHEMSEARCHREQUEST._serialized_end=4132 + _GAIA3SEARCHRESPONSE._serialized_start=4134 + _GAIA3SEARCHRESPONSE._serialized_end=4239 + _EPHEMSEARCHSRV._serialized_start=4241 + _EPHEMSEARCHSRV._serialized_end=4339 # @@protoc_insertion_point(module_scope) diff --git a/csst_dfs_proto/common/ephem/ephem_pb2_grpc.py b/csst_dfs_proto/common/ephem/ephem_pb2_grpc.py index 1de68b3..1399a02 100644 --- a/csst_dfs_proto/common/ephem/ephem_pb2_grpc.py +++ b/csst_dfs_proto/common/ephem/ephem_pb2_grpc.py @@ -1,11 +1,12 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from . import ephem_pb2 as common_dot_ephem_dot_ephem__pb2 class EphemSearchSrvStub(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def __init__(self, channel): """Constructor. @@ -21,10 +22,10 @@ class EphemSearchSrvStub(object): class EphemSearchSrvServicer(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def Gaia3Search(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') @@ -45,7 +46,7 @@ def add_EphemSearchSrvServicer_to_server(servicer, server): # This class is part of an EXPERIMENTAL API. class EphemSearchSrv(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" @staticmethod def Gaia3Search(request, @@ -53,6 +54,7 @@ class EphemSearchSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -61,4 +63,4 @@ class EphemSearchSrv(object): common_dot_ephem_dot_ephem__pb2.EphemSearchRequest.SerializeToString, common_dot_ephem_dot_ephem__pb2.Gaia3SearchResponse.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/csst_dfs_proto/common/error_pb2.py b/csst_dfs_proto/common/error_pb2.py index 2edca02..a98a168 100644 --- a/csst_dfs_proto/common/error_pb2.py +++ b/csst_dfs_proto/common/error_pb2.py @@ -1,12 +1,10 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: common/error.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder 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 descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -15,64 +13,14 @@ _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor.FileDescriptor( - name='common/error.proto', - package='common', - syntax='proto3', - serialized_options=_b('Z\033cnlab.net/csst/proto/common'), - serialized_pb=_b('\n\x12\x63ommon/error.proto\x12\x06\x63ommon\"%\n\x05\x45rror\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\tB\x1dZ\x1b\x63nlab.net/csst/proto/commonb\x06proto3') -) - - - - -_ERROR = _descriptor.Descriptor( - name='Error', - full_name='common.Error', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='code', full_name='common.Error.code', index=0, - number=1, type=5, cpp_type=1, 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='detail', full_name='common.Error.detail', 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=30, - serialized_end=67, -) - -DESCRIPTOR.message_types_by_name['Error'] = _ERROR -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Error = _reflection.GeneratedProtocolMessageType('Error', (_message.Message,), { - 'DESCRIPTOR' : _ERROR, - '__module__' : 'common.error_pb2' - # @@protoc_insertion_point(class_scope:common.Error) - }) -_sym_db.RegisterMessage(Error) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x12\x63ommon/error.proto\x12\x06\x63ommon\"%\n\x05\x45rror\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x0e\n\x06\x64\x65tail\x18\x02 \x01(\tB\x1dZ\x1b\x63nlab.net/csst/proto/commonb\x06proto3') +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common.error_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: -DESCRIPTOR._options = None + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z\033cnlab.net/csst/proto/common' + _ERROR._serialized_start=30 + _ERROR._serialized_end=67 # @@protoc_insertion_point(module_scope) diff --git a/csst_dfs_proto/common/error_pb2_grpc.py b/csst_dfs_proto/common/error_pb2_grpc.py index a894352..2daafff 100644 --- a/csst_dfs_proto/common/error_pb2_grpc.py +++ b/csst_dfs_proto/common/error_pb2_grpc.py @@ -1,3 +1,4 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc diff --git a/csst_dfs_proto/common/fits_process/__init__.py b/csst_dfs_proto/common/fits_process/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/csst_dfs_proto/common/fits_process/fitsProcess_pb2.py b/csst_dfs_proto/common/fits_process/fitsProcess_pb2.py deleted file mode 100644 index df7b7df..0000000 --- a/csst_dfs_proto/common/fits_process/fitsProcess_pb2.py +++ /dev/null @@ -1,189 +0,0 @@ -# -*- 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) diff --git a/csst_dfs_proto/common/fits_process/fitsProcess_pb2_grpc.py b/csst_dfs_proto/common/fits_process/fitsProcess_pb2_grpc.py deleted file mode 100644 index d93e1e9..0000000 --- a/csst_dfs_proto/common/fits_process/fitsProcess_pb2_grpc.py +++ /dev/null @@ -1,46 +0,0 @@ -# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! -import grpc - -from . import fitsProcess_pb2 as common_dot_fits__process_dot_fitsProcess__pb2 - - -class FitsProcessSrvStub(object): - # missing associated documentation comment in .proto file - pass - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.GetHeaders = channel.unary_unary( - '/dfs.common.fitsProcess.FitsProcessSrv/GetHeaders', - request_serializer=common_dot_fits__process_dot_fitsProcess__pb2.GetHeadersReq.SerializeToString, - response_deserializer=common_dot_fits__process_dot_fitsProcess__pb2.GetHeadersResp.FromString, - ) - - -class FitsProcessSrvServicer(object): - # missing associated documentation comment in .proto file - pass - - def GetHeaders(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - -def add_FitsProcessSrvServicer_to_server(servicer, server): - rpc_method_handlers = { - 'GetHeaders': grpc.unary_unary_rpc_method_handler( - servicer.GetHeaders, - request_deserializer=common_dot_fits__process_dot_fitsProcess__pb2.GetHeadersReq.FromString, - response_serializer=common_dot_fits__process_dot_fitsProcess__pb2.GetHeadersResp.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'dfs.common.fitsProcess.FitsProcessSrv', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) diff --git a/csst_dfs_proto/common/misc/misc_pb2.py b/csst_dfs_proto/common/misc/misc_pb2.py index 298ff9e..9cd03d7 100644 --- a/csst_dfs_proto/common/misc/misc_pb2.py +++ b/csst_dfs_proto/common/misc/misc_pb2.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: common/misc/misc.proto - +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder 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 descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -13,120 +13,18 @@ _sym_db = _symbol_database.Default() -DESCRIPTOR = _descriptor.FileDescriptor( - name='common/misc/misc.proto', - package='dfs.common.misc', - syntax='proto3', - serialized_options=b'Z cnlab.net/csst/proto/common/misc', - serialized_pb=b'\n\x16\x63ommon/misc/misc.proto\x12\x0f\x64\x66s.common.misc\"\x1d\n\x0bGetSeqIdReq\x12\x0e\n\x06prefix\x18\x01 \x01(\t\"\x1e\n\x0cGetSeqIdResp\x12\x0e\n\x06nextId\x18\x01 \x01(\x03\x32T\n\x07MiscSrv\x12I\n\x08GetSeqId\x12\x1c.dfs.common.misc.GetSeqIdReq\x1a\x1d.dfs.common.misc.GetSeqIdResp\"\x00\x42\"Z cnlab.net/csst/proto/common/miscb\x06proto3' -) - - - - -_GETSEQIDREQ = _descriptor.Descriptor( - name='GetSeqIdReq', - full_name='dfs.common.misc.GetSeqIdReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='prefix', full_name='dfs.common.misc.GetSeqIdReq.prefix', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=43, - serialized_end=72, -) - - -_GETSEQIDRESP = _descriptor.Descriptor( - name='GetSeqIdResp', - full_name='dfs.common.misc.GetSeqIdResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='nextId', full_name='dfs.common.misc.GetSeqIdResp.nextId', 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=74, - serialized_end=104, -) - -DESCRIPTOR.message_types_by_name['GetSeqIdReq'] = _GETSEQIDREQ -DESCRIPTOR.message_types_by_name['GetSeqIdResp'] = _GETSEQIDRESP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -GetSeqIdReq = _reflection.GeneratedProtocolMessageType('GetSeqIdReq', (_message.Message,), { - 'DESCRIPTOR' : _GETSEQIDREQ, - '__module__' : 'common.misc.misc_pb2' - # @@protoc_insertion_point(class_scope:dfs.common.misc.GetSeqIdReq) - }) -_sym_db.RegisterMessage(GetSeqIdReq) - -GetSeqIdResp = _reflection.GeneratedProtocolMessageType('GetSeqIdResp', (_message.Message,), { - 'DESCRIPTOR' : _GETSEQIDRESP, - '__module__' : 'common.misc.misc_pb2' - # @@protoc_insertion_point(class_scope:dfs.common.misc.GetSeqIdResp) - }) -_sym_db.RegisterMessage(GetSeqIdResp) - - -DESCRIPTOR._options = None - -_MISCSRV = _descriptor.ServiceDescriptor( - name='MiscSrv', - full_name='dfs.common.misc.MiscSrv', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=106, - serialized_end=190, - methods=[ - _descriptor.MethodDescriptor( - name='GetSeqId', - full_name='dfs.common.misc.MiscSrv.GetSeqId', - index=0, - containing_service=None, - input_type=_GETSEQIDREQ, - output_type=_GETSEQIDRESP, - serialized_options=None, - ), -]) -_sym_db.RegisterServiceDescriptor(_MISCSRV) +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16\x63ommon/misc/misc.proto\x12\x0f\x64\x66s.common.misc\"\x1d\n\x0bGetSeqIdReq\x12\x0e\n\x06prefix\x18\x01 \x01(\t\"\x1e\n\x0cGetSeqIdResp\x12\x0e\n\x06nextId\x18\x01 \x01(\x03\x32T\n\x07MiscSrv\x12I\n\x08GetSeqId\x12\x1c.dfs.common.misc.GetSeqIdReq\x1a\x1d.dfs.common.misc.GetSeqIdResp\"\x00\x42\"Z cnlab.net/csst/proto/common/miscb\x06proto3') -DESCRIPTOR.services_by_name['MiscSrv'] = _MISCSRV +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'common.misc.misc_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z cnlab.net/csst/proto/common/misc' + _GETSEQIDREQ._serialized_start=43 + _GETSEQIDREQ._serialized_end=72 + _GETSEQIDRESP._serialized_start=74 + _GETSEQIDRESP._serialized_end=104 + _MISCSRV._serialized_start=106 + _MISCSRV._serialized_end=190 # @@protoc_insertion_point(module_scope) diff --git a/csst_dfs_proto/common/misc/misc_pb2_grpc.py b/csst_dfs_proto/common/misc/misc_pb2_grpc.py index 2bf8563..66f71ad 100644 --- a/csst_dfs_proto/common/misc/misc_pb2_grpc.py +++ b/csst_dfs_proto/common/misc/misc_pb2_grpc.py @@ -1,11 +1,12 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from . import misc_pb2 as common_dot_misc_dot_misc__pb2 class MiscSrvStub(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def __init__(self, channel): """Constructor. @@ -21,10 +22,10 @@ class MiscSrvStub(object): class MiscSrvServicer(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def GetSeqId(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') @@ -45,7 +46,7 @@ def add_MiscSrvServicer_to_server(servicer, server): # This class is part of an EXPERIMENTAL API. class MiscSrv(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" @staticmethod def GetSeqId(request, @@ -53,6 +54,7 @@ class MiscSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -61,4 +63,4 @@ class MiscSrv(object): common_dot_misc_dot_misc__pb2.GetSeqIdReq.SerializeToString, common_dot_misc_dot_misc__pb2.GetSeqIdResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/csst_dfs_proto/facility/brick/brick_pb2.py b/csst_dfs_proto/facility/brick/brick_pb2.py index 94005e7..7c0c05a 100644 --- a/csst_dfs_proto/facility/brick/brick_pb2.py +++ b/csst_dfs_proto/facility/brick/brick_pb2.py @@ -1,12 +1,10 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: facility/brick/brick.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder 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 descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -16,888 +14,48 @@ _sym_db = _symbol_database.Default() from ...common import error_pb2 as common_dot_error__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='facility/brick/brick.proto', - package='dfs.facility.brick', - syntax='proto3', - serialized_options=_b('Z#cnlab.net/csst/proto/facility/brick'), - serialized_pb=_b('\n\x1a\x66\x61\x63ility/brick/brick.proto\x12\x12\x64\x66s.facility.brick\x1a\x12\x63ommon/error.proto\"G\n\x0b\x42rickRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\n\n\x02ra\x18\x02 \x01(\x02\x12\x0b\n\x03\x64\x65\x63\x18\x03 \x01(\x02\x12\x13\n\x0b\x62oundingbox\x18\x04 \x01(\t\"^\n\x14\x42rickObsStatusRecord\x12\x10\n\x08\x62rick_id\x18\x01 \x01(\x03\x12\x0c\n\x04\x62\x61nd\x18\x02 \x01(\t\x12\x11\n\tcover_num\x18\x03 \x01(\x05\x12\x13\n\x0bupdate_time\x18\x04 \x01(\t\"j\n\x11\x42rickLevel1Record\x12\x10\n\x08\x62rick_id\x18\x01 \x01(\x03\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x0e\n\x06obs_id\x18\x03 \x01(\t\x12\x0e\n\x06module\x18\x04 \x01(\t\x12\x10\n\x08obs_time\x18\x05 \x01(\t\"\xa6\x01\n\x0c\x46indBrickReq\x12\r\n\x05limit\x18\x01 \x01(\x05\x12O\n\x10other_conditions\x18\x02 \x03(\x0b\x32\x35.dfs.facility.brick.FindBrickReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x84\x01\n\rFindBrickResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x30\n\x07records\x18\x04 \x03(\x0b\x32\x1f.dfs.facility.brick.BrickRecord\"\x19\n\x0bGetBrickReq\x12\n\n\x02id\x18\x01 \x01(\x03\"?\n\x0cGetBrickResp\x12/\n\x06record\x18\x01 \x01(\x0b\x32\x1f.dfs.facility.brick.BrickRecord\"@\n\rWriteBrickReq\x12/\n\x06record\x18\x01 \x01(\x0b\x32\x1f.dfs.facility.brick.BrickRecord\"p\n\x0eWriteBrickResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12/\n\x06record\x18\x03 \x01(\x0b\x32\x1f.dfs.facility.brick.BrickRecord\"\xce\x01\n\x10\x46indObsStatusReq\x12\x10\n\x08\x62rick_id\x18\x01 \x01(\x03\x12\x0c\n\x04\x62\x61nd\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x05\x12S\n\x10other_conditions\x18\x04 \x03(\x0b\x32\x39.dfs.facility.brick.FindObsStatusReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x91\x01\n\x11\x46indObsStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x39\n\x07records\x18\x04 \x03(\x0b\x32(.dfs.facility.brick.BrickObsStatusRecord\"S\n\rFindLevel1Req\x12\x10\n\x08\x62rick_id\x18\x01 \x01(\x03\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x0e\n\x06module\x18\x03 \x01(\t\x12\r\n\x05limit\x18\x04 \x01(\x05\"\x8b\x01\n\x0e\x46indLevel1Resp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x36\n\x07records\x18\x04 \x03(\x0b\x32%.dfs.facility.brick.BrickLevel1Record2\xae\x03\n\x08\x42rickSrv\x12M\n\x04\x46ind\x12 .dfs.facility.brick.FindBrickReq\x1a!.dfs.facility.brick.FindBrickResp\"\x00\x12J\n\x03Get\x12\x1f.dfs.facility.brick.GetBrickReq\x1a .dfs.facility.brick.GetBrickResp\"\x00\x12P\n\x05Write\x12!.dfs.facility.brick.WriteBrickReq\x1a\".dfs.facility.brick.WriteBrickResp\"\x00\x12^\n\rFindObsStatus\x12$.dfs.facility.brick.FindObsStatusReq\x1a%.dfs.facility.brick.FindObsStatusResp\"\x00\x12U\n\nFindLevel1\x12!.dfs.facility.brick.FindLevel1Req\x1a\".dfs.facility.brick.FindLevel1Resp\"\x00\x42%Z#cnlab.net/csst/proto/facility/brickb\x06proto3') - , - dependencies=[common_dot_error__pb2.DESCRIPTOR,]) - - - - -_BRICKRECORD = _descriptor.Descriptor( - name='BrickRecord', - full_name='dfs.facility.brick.BrickRecord', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.brick.BrickRecord.id', 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), - _descriptor.FieldDescriptor( - name='ra', full_name='dfs.facility.brick.BrickRecord.ra', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='dec', full_name='dfs.facility.brick.BrickRecord.dec', index=2, - number=3, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='boundingbox', full_name='dfs.facility.brick.BrickRecord.boundingbox', index=3, - number=4, 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=70, - serialized_end=141, -) - - -_BRICKOBSSTATUSRECORD = _descriptor.Descriptor( - name='BrickObsStatusRecord', - full_name='dfs.facility.brick.BrickObsStatusRecord', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='brick_id', full_name='dfs.facility.brick.BrickObsStatusRecord.brick_id', 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), - _descriptor.FieldDescriptor( - name='band', full_name='dfs.facility.brick.BrickObsStatusRecord.band', 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), - _descriptor.FieldDescriptor( - name='cover_num', full_name='dfs.facility.brick.BrickObsStatusRecord.cover_num', index=2, - number=3, type=5, cpp_type=1, 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='update_time', full_name='dfs.facility.brick.BrickObsStatusRecord.update_time', index=3, - number=4, 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=143, - serialized_end=237, -) - - -_BRICKLEVEL1RECORD = _descriptor.Descriptor( - name='BrickLevel1Record', - full_name='dfs.facility.brick.BrickLevel1Record', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='brick_id', full_name='dfs.facility.brick.BrickLevel1Record.brick_id', 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), - _descriptor.FieldDescriptor( - name='level1_id', full_name='dfs.facility.brick.BrickLevel1Record.level1_id', index=1, - number=2, 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), - _descriptor.FieldDescriptor( - name='obs_id', full_name='dfs.facility.brick.BrickLevel1Record.obs_id', index=2, - number=3, 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='module', full_name='dfs.facility.brick.BrickLevel1Record.module', index=3, - number=4, 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='obs_time', full_name='dfs.facility.brick.BrickLevel1Record.obs_time', index=4, - number=5, 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=239, - serialized_end=345, -) - - -_FINDBRICKREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor( - name='OtherConditionsEntry', - full_name='dfs.facility.brick.FindBrickReq.OtherConditionsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dfs.facility.brick.FindBrickReq.OtherConditionsEntry.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.facility.brick.FindBrickReq.OtherConditionsEntry.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=460, - serialized_end=514, -) - -_FINDBRICKREQ = _descriptor.Descriptor( - name='FindBrickReq', - full_name='dfs.facility.brick.FindBrickReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='limit', full_name='dfs.facility.brick.FindBrickReq.limit', index=0, - number=1, type=5, cpp_type=1, 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='other_conditions', full_name='dfs.facility.brick.FindBrickReq.other_conditions', 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=[_FINDBRICKREQ_OTHERCONDITIONSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=348, - serialized_end=514, -) - - -_FINDBRICKRESP = _descriptor.Descriptor( - name='FindBrickResp', - full_name='dfs.facility.brick.FindBrickResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.brick.FindBrickResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.facility.brick.FindBrickResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.facility.brick.FindBrickResp.error', 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='records', full_name='dfs.facility.brick.FindBrickResp.records', index=3, - number=4, 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=517, - serialized_end=649, -) - - -_GETBRICKREQ = _descriptor.Descriptor( - name='GetBrickReq', - full_name='dfs.facility.brick.GetBrickReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.brick.GetBrickReq.id', 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=651, - serialized_end=676, -) - - -_GETBRICKRESP = _descriptor.Descriptor( - name='GetBrickResp', - full_name='dfs.facility.brick.GetBrickResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.brick.GetBrickResp.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=678, - serialized_end=741, -) - - -_WRITEBRICKREQ = _descriptor.Descriptor( - name='WriteBrickReq', - full_name='dfs.facility.brick.WriteBrickReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.brick.WriteBrickReq.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=743, - serialized_end=807, -) - - -_WRITEBRICKRESP = _descriptor.Descriptor( - name='WriteBrickResp', - full_name='dfs.facility.brick.WriteBrickResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.brick.WriteBrickResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.brick.WriteBrickResp.error', 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='record', full_name='dfs.facility.brick.WriteBrickResp.record', 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=809, - serialized_end=921, -) - - -_FINDOBSSTATUSREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor( - name='OtherConditionsEntry', - full_name='dfs.facility.brick.FindObsStatusReq.OtherConditionsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dfs.facility.brick.FindObsStatusReq.OtherConditionsEntry.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.facility.brick.FindObsStatusReq.OtherConditionsEntry.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=460, - serialized_end=514, -) - -_FINDOBSSTATUSREQ = _descriptor.Descriptor( - name='FindObsStatusReq', - full_name='dfs.facility.brick.FindObsStatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='brick_id', full_name='dfs.facility.brick.FindObsStatusReq.brick_id', 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), - _descriptor.FieldDescriptor( - name='band', full_name='dfs.facility.brick.FindObsStatusReq.band', 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), - _descriptor.FieldDescriptor( - name='limit', full_name='dfs.facility.brick.FindObsStatusReq.limit', index=2, - number=3, type=5, cpp_type=1, 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='other_conditions', full_name='dfs.facility.brick.FindObsStatusReq.other_conditions', index=3, - number=4, 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=[_FINDOBSSTATUSREQ_OTHERCONDITIONSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=924, - serialized_end=1130, -) - - -_FINDOBSSTATUSRESP = _descriptor.Descriptor( - name='FindObsStatusResp', - full_name='dfs.facility.brick.FindObsStatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.brick.FindObsStatusResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.facility.brick.FindObsStatusResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.facility.brick.FindObsStatusResp.error', 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='records', full_name='dfs.facility.brick.FindObsStatusResp.records', index=3, - number=4, 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=1133, - serialized_end=1278, -) - - -_FINDLEVEL1REQ = _descriptor.Descriptor( - name='FindLevel1Req', - full_name='dfs.facility.brick.FindLevel1Req', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='brick_id', full_name='dfs.facility.brick.FindLevel1Req.brick_id', 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), - _descriptor.FieldDescriptor( - name='level1_id', full_name='dfs.facility.brick.FindLevel1Req.level1_id', index=1, - number=2, 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), - _descriptor.FieldDescriptor( - name='module', full_name='dfs.facility.brick.FindLevel1Req.module', index=2, - number=3, 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='limit', full_name='dfs.facility.brick.FindLevel1Req.limit', index=3, - number=4, type=5, cpp_type=1, 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=1280, - serialized_end=1363, -) - - -_FINDLEVEL1RESP = _descriptor.Descriptor( - name='FindLevel1Resp', - full_name='dfs.facility.brick.FindLevel1Resp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.brick.FindLevel1Resp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.facility.brick.FindLevel1Resp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.facility.brick.FindLevel1Resp.error', 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='records', full_name='dfs.facility.brick.FindLevel1Resp.records', index=3, - number=4, 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=1366, - serialized_end=1505, -) - -_FINDBRICKREQ_OTHERCONDITIONSENTRY.containing_type = _FINDBRICKREQ -_FINDBRICKREQ.fields_by_name['other_conditions'].message_type = _FINDBRICKREQ_OTHERCONDITIONSENTRY -_FINDBRICKRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDBRICKRESP.fields_by_name['records'].message_type = _BRICKRECORD -_GETBRICKRESP.fields_by_name['record'].message_type = _BRICKRECORD -_WRITEBRICKREQ.fields_by_name['record'].message_type = _BRICKRECORD -_WRITEBRICKRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_WRITEBRICKRESP.fields_by_name['record'].message_type = _BRICKRECORD -_FINDOBSSTATUSREQ_OTHERCONDITIONSENTRY.containing_type = _FINDOBSSTATUSREQ -_FINDOBSSTATUSREQ.fields_by_name['other_conditions'].message_type = _FINDOBSSTATUSREQ_OTHERCONDITIONSENTRY -_FINDOBSSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDOBSSTATUSRESP.fields_by_name['records'].message_type = _BRICKOBSSTATUSRECORD -_FINDLEVEL1RESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDLEVEL1RESP.fields_by_name['records'].message_type = _BRICKLEVEL1RECORD -DESCRIPTOR.message_types_by_name['BrickRecord'] = _BRICKRECORD -DESCRIPTOR.message_types_by_name['BrickObsStatusRecord'] = _BRICKOBSSTATUSRECORD -DESCRIPTOR.message_types_by_name['BrickLevel1Record'] = _BRICKLEVEL1RECORD -DESCRIPTOR.message_types_by_name['FindBrickReq'] = _FINDBRICKREQ -DESCRIPTOR.message_types_by_name['FindBrickResp'] = _FINDBRICKRESP -DESCRIPTOR.message_types_by_name['GetBrickReq'] = _GETBRICKREQ -DESCRIPTOR.message_types_by_name['GetBrickResp'] = _GETBRICKRESP -DESCRIPTOR.message_types_by_name['WriteBrickReq'] = _WRITEBRICKREQ -DESCRIPTOR.message_types_by_name['WriteBrickResp'] = _WRITEBRICKRESP -DESCRIPTOR.message_types_by_name['FindObsStatusReq'] = _FINDOBSSTATUSREQ -DESCRIPTOR.message_types_by_name['FindObsStatusResp'] = _FINDOBSSTATUSRESP -DESCRIPTOR.message_types_by_name['FindLevel1Req'] = _FINDLEVEL1REQ -DESCRIPTOR.message_types_by_name['FindLevel1Resp'] = _FINDLEVEL1RESP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -BrickRecord = _reflection.GeneratedProtocolMessageType('BrickRecord', (_message.Message,), { - 'DESCRIPTOR' : _BRICKRECORD, - '__module__' : 'facility.brick.brick_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.brick.BrickRecord) - }) -_sym_db.RegisterMessage(BrickRecord) - -BrickObsStatusRecord = _reflection.GeneratedProtocolMessageType('BrickObsStatusRecord', (_message.Message,), { - 'DESCRIPTOR' : _BRICKOBSSTATUSRECORD, - '__module__' : 'facility.brick.brick_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.brick.BrickObsStatusRecord) - }) -_sym_db.RegisterMessage(BrickObsStatusRecord) - -BrickLevel1Record = _reflection.GeneratedProtocolMessageType('BrickLevel1Record', (_message.Message,), { - 'DESCRIPTOR' : _BRICKLEVEL1RECORD, - '__module__' : 'facility.brick.brick_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.brick.BrickLevel1Record) - }) -_sym_db.RegisterMessage(BrickLevel1Record) - -FindBrickReq = _reflection.GeneratedProtocolMessageType('FindBrickReq', (_message.Message,), { - - 'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), { - 'DESCRIPTOR' : _FINDBRICKREQ_OTHERCONDITIONSENTRY, - '__module__' : 'facility.brick.brick_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.brick.FindBrickReq.OtherConditionsEntry) - }) - , - 'DESCRIPTOR' : _FINDBRICKREQ, - '__module__' : 'facility.brick.brick_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.brick.FindBrickReq) - }) -_sym_db.RegisterMessage(FindBrickReq) -_sym_db.RegisterMessage(FindBrickReq.OtherConditionsEntry) - -FindBrickResp = _reflection.GeneratedProtocolMessageType('FindBrickResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDBRICKRESP, - '__module__' : 'facility.brick.brick_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.brick.FindBrickResp) - }) -_sym_db.RegisterMessage(FindBrickResp) - -GetBrickReq = _reflection.GeneratedProtocolMessageType('GetBrickReq', (_message.Message,), { - 'DESCRIPTOR' : _GETBRICKREQ, - '__module__' : 'facility.brick.brick_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.brick.GetBrickReq) - }) -_sym_db.RegisterMessage(GetBrickReq) - -GetBrickResp = _reflection.GeneratedProtocolMessageType('GetBrickResp', (_message.Message,), { - 'DESCRIPTOR' : _GETBRICKRESP, - '__module__' : 'facility.brick.brick_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.brick.GetBrickResp) - }) -_sym_db.RegisterMessage(GetBrickResp) - -WriteBrickReq = _reflection.GeneratedProtocolMessageType('WriteBrickReq', (_message.Message,), { - 'DESCRIPTOR' : _WRITEBRICKREQ, - '__module__' : 'facility.brick.brick_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.brick.WriteBrickReq) - }) -_sym_db.RegisterMessage(WriteBrickReq) - -WriteBrickResp = _reflection.GeneratedProtocolMessageType('WriteBrickResp', (_message.Message,), { - 'DESCRIPTOR' : _WRITEBRICKRESP, - '__module__' : 'facility.brick.brick_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.brick.WriteBrickResp) - }) -_sym_db.RegisterMessage(WriteBrickResp) - -FindObsStatusReq = _reflection.GeneratedProtocolMessageType('FindObsStatusReq', (_message.Message,), { - - 'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), { - 'DESCRIPTOR' : _FINDOBSSTATUSREQ_OTHERCONDITIONSENTRY, - '__module__' : 'facility.brick.brick_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.brick.FindObsStatusReq.OtherConditionsEntry) - }) - , - 'DESCRIPTOR' : _FINDOBSSTATUSREQ, - '__module__' : 'facility.brick.brick_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.brick.FindObsStatusReq) - }) -_sym_db.RegisterMessage(FindObsStatusReq) -_sym_db.RegisterMessage(FindObsStatusReq.OtherConditionsEntry) - -FindObsStatusResp = _reflection.GeneratedProtocolMessageType('FindObsStatusResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDOBSSTATUSRESP, - '__module__' : 'facility.brick.brick_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.brick.FindObsStatusResp) - }) -_sym_db.RegisterMessage(FindObsStatusResp) - -FindLevel1Req = _reflection.GeneratedProtocolMessageType('FindLevel1Req', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL1REQ, - '__module__' : 'facility.brick.brick_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.brick.FindLevel1Req) - }) -_sym_db.RegisterMessage(FindLevel1Req) - -FindLevel1Resp = _reflection.GeneratedProtocolMessageType('FindLevel1Resp', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL1RESP, - '__module__' : 'facility.brick.brick_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.brick.FindLevel1Resp) - }) -_sym_db.RegisterMessage(FindLevel1Resp) - - -DESCRIPTOR._options = None -_FINDBRICKREQ_OTHERCONDITIONSENTRY._options = None -_FINDOBSSTATUSREQ_OTHERCONDITIONSENTRY._options = None - -_BRICKSRV = _descriptor.ServiceDescriptor( - name='BrickSrv', - full_name='dfs.facility.brick.BrickSrv', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=1508, - serialized_end=1938, - methods=[ - _descriptor.MethodDescriptor( - name='Find', - full_name='dfs.facility.brick.BrickSrv.Find', - index=0, - containing_service=None, - input_type=_FINDBRICKREQ, - output_type=_FINDBRICKRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Get', - full_name='dfs.facility.brick.BrickSrv.Get', - index=1, - containing_service=None, - input_type=_GETBRICKREQ, - output_type=_GETBRICKRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Write', - full_name='dfs.facility.brick.BrickSrv.Write', - index=2, - containing_service=None, - input_type=_WRITEBRICKREQ, - output_type=_WRITEBRICKRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='FindObsStatus', - full_name='dfs.facility.brick.BrickSrv.FindObsStatus', - index=3, - containing_service=None, - input_type=_FINDOBSSTATUSREQ, - output_type=_FINDOBSSTATUSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='FindLevel1', - full_name='dfs.facility.brick.BrickSrv.FindLevel1', - index=4, - containing_service=None, - input_type=_FINDLEVEL1REQ, - output_type=_FINDLEVEL1RESP, - serialized_options=None, - ), -]) -_sym_db.RegisterServiceDescriptor(_BRICKSRV) - -DESCRIPTOR.services_by_name['BrickSrv'] = _BRICKSRV - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1a\x66\x61\x63ility/brick/brick.proto\x12\x12\x64\x66s.facility.brick\x1a\x12\x63ommon/error.proto\"G\n\x0b\x42rickRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\n\n\x02ra\x18\x02 \x01(\x02\x12\x0b\n\x03\x64\x65\x63\x18\x03 \x01(\x02\x12\x13\n\x0b\x62oundingbox\x18\x04 \x01(\t\"^\n\x14\x42rickObsStatusRecord\x12\x10\n\x08\x62rick_id\x18\x01 \x01(\x03\x12\x0c\n\x04\x62\x61nd\x18\x02 \x01(\t\x12\x11\n\tcover_num\x18\x03 \x01(\x05\x12\x13\n\x0bupdate_time\x18\x04 \x01(\t\"j\n\x11\x42rickLevel1Record\x12\x10\n\x08\x62rick_id\x18\x01 \x01(\x03\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x0e\n\x06obs_id\x18\x03 \x01(\t\x12\x0e\n\x06module\x18\x04 \x01(\t\x12\x10\n\x08obs_time\x18\x05 \x01(\t\"\xa6\x01\n\x0c\x46indBrickReq\x12\r\n\x05limit\x18\x01 \x01(\x05\x12O\n\x10other_conditions\x18\x02 \x03(\x0b\x32\x35.dfs.facility.brick.FindBrickReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x84\x01\n\rFindBrickResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x30\n\x07records\x18\x04 \x03(\x0b\x32\x1f.dfs.facility.brick.BrickRecord\"\x19\n\x0bGetBrickReq\x12\n\n\x02id\x18\x01 \x01(\x03\"?\n\x0cGetBrickResp\x12/\n\x06record\x18\x01 \x01(\x0b\x32\x1f.dfs.facility.brick.BrickRecord\"@\n\rWriteBrickReq\x12/\n\x06record\x18\x01 \x01(\x0b\x32\x1f.dfs.facility.brick.BrickRecord\"p\n\x0eWriteBrickResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12/\n\x06record\x18\x03 \x01(\x0b\x32\x1f.dfs.facility.brick.BrickRecord\"\xce\x01\n\x10\x46indObsStatusReq\x12\x10\n\x08\x62rick_id\x18\x01 \x01(\x03\x12\x0c\n\x04\x62\x61nd\x18\x02 \x01(\t\x12\r\n\x05limit\x18\x03 \x01(\x05\x12S\n\x10other_conditions\x18\x04 \x03(\x0b\x32\x39.dfs.facility.brick.FindObsStatusReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x91\x01\n\x11\x46indObsStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x39\n\x07records\x18\x04 \x03(\x0b\x32(.dfs.facility.brick.BrickObsStatusRecord\"S\n\rFindLevel1Req\x12\x10\n\x08\x62rick_id\x18\x01 \x01(\x03\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x0e\n\x06module\x18\x03 \x01(\t\x12\r\n\x05limit\x18\x04 \x01(\x05\"\x8b\x01\n\x0e\x46indLevel1Resp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x36\n\x07records\x18\x04 \x03(\x0b\x32%.dfs.facility.brick.BrickLevel1Record2\xae\x03\n\x08\x42rickSrv\x12M\n\x04\x46ind\x12 .dfs.facility.brick.FindBrickReq\x1a!.dfs.facility.brick.FindBrickResp\"\x00\x12J\n\x03Get\x12\x1f.dfs.facility.brick.GetBrickReq\x1a .dfs.facility.brick.GetBrickResp\"\x00\x12P\n\x05Write\x12!.dfs.facility.brick.WriteBrickReq\x1a\".dfs.facility.brick.WriteBrickResp\"\x00\x12^\n\rFindObsStatus\x12$.dfs.facility.brick.FindObsStatusReq\x1a%.dfs.facility.brick.FindObsStatusResp\"\x00\x12U\n\nFindLevel1\x12!.dfs.facility.brick.FindLevel1Req\x1a\".dfs.facility.brick.FindLevel1Resp\"\x00\x42%Z#cnlab.net/csst/proto/facility/brickb\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'facility.brick.brick_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z#cnlab.net/csst/proto/facility/brick' + _FINDBRICKREQ_OTHERCONDITIONSENTRY._options = None + _FINDBRICKREQ_OTHERCONDITIONSENTRY._serialized_options = b'8\001' + _FINDOBSSTATUSREQ_OTHERCONDITIONSENTRY._options = None + _FINDOBSSTATUSREQ_OTHERCONDITIONSENTRY._serialized_options = b'8\001' + _BRICKRECORD._serialized_start=70 + _BRICKRECORD._serialized_end=141 + _BRICKOBSSTATUSRECORD._serialized_start=143 + _BRICKOBSSTATUSRECORD._serialized_end=237 + _BRICKLEVEL1RECORD._serialized_start=239 + _BRICKLEVEL1RECORD._serialized_end=345 + _FINDBRICKREQ._serialized_start=348 + _FINDBRICKREQ._serialized_end=514 + _FINDBRICKREQ_OTHERCONDITIONSENTRY._serialized_start=460 + _FINDBRICKREQ_OTHERCONDITIONSENTRY._serialized_end=514 + _FINDBRICKRESP._serialized_start=517 + _FINDBRICKRESP._serialized_end=649 + _GETBRICKREQ._serialized_start=651 + _GETBRICKREQ._serialized_end=676 + _GETBRICKRESP._serialized_start=678 + _GETBRICKRESP._serialized_end=741 + _WRITEBRICKREQ._serialized_start=743 + _WRITEBRICKREQ._serialized_end=807 + _WRITEBRICKRESP._serialized_start=809 + _WRITEBRICKRESP._serialized_end=921 + _FINDOBSSTATUSREQ._serialized_start=924 + _FINDOBSSTATUSREQ._serialized_end=1130 + _FINDOBSSTATUSREQ_OTHERCONDITIONSENTRY._serialized_start=460 + _FINDOBSSTATUSREQ_OTHERCONDITIONSENTRY._serialized_end=514 + _FINDOBSSTATUSRESP._serialized_start=1133 + _FINDOBSSTATUSRESP._serialized_end=1278 + _FINDLEVEL1REQ._serialized_start=1280 + _FINDLEVEL1REQ._serialized_end=1363 + _FINDLEVEL1RESP._serialized_start=1366 + _FINDLEVEL1RESP._serialized_end=1505 + _BRICKSRV._serialized_start=1508 + _BRICKSRV._serialized_end=1938 # @@protoc_insertion_point(module_scope) diff --git a/csst_dfs_proto/facility/brick/brick_pb2_grpc.py b/csst_dfs_proto/facility/brick/brick_pb2_grpc.py index a64029d..51d4e00 100644 --- a/csst_dfs_proto/facility/brick/brick_pb2_grpc.py +++ b/csst_dfs_proto/facility/brick/brick_pb2_grpc.py @@ -1,114 +1,198 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from . import brick_pb2 as facility_dot_brick_dot_brick__pb2 class BrickSrvStub(object): - # missing associated documentation comment in .proto file - pass - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Find = channel.unary_unary( - '/dfs.facility.brick.BrickSrv/Find', - request_serializer=facility_dot_brick_dot_brick__pb2.FindBrickReq.SerializeToString, - response_deserializer=facility_dot_brick_dot_brick__pb2.FindBrickResp.FromString, - ) - self.Get = channel.unary_unary( - '/dfs.facility.brick.BrickSrv/Get', - request_serializer=facility_dot_brick_dot_brick__pb2.GetBrickReq.SerializeToString, - response_deserializer=facility_dot_brick_dot_brick__pb2.GetBrickResp.FromString, - ) - self.Write = channel.unary_unary( - '/dfs.facility.brick.BrickSrv/Write', - request_serializer=facility_dot_brick_dot_brick__pb2.WriteBrickReq.SerializeToString, - response_deserializer=facility_dot_brick_dot_brick__pb2.WriteBrickResp.FromString, - ) - self.FindObsStatus = channel.unary_unary( - '/dfs.facility.brick.BrickSrv/FindObsStatus', - request_serializer=facility_dot_brick_dot_brick__pb2.FindObsStatusReq.SerializeToString, - response_deserializer=facility_dot_brick_dot_brick__pb2.FindObsStatusResp.FromString, - ) - self.FindLevel1 = channel.unary_unary( - '/dfs.facility.brick.BrickSrv/FindLevel1', - request_serializer=facility_dot_brick_dot_brick__pb2.FindLevel1Req.SerializeToString, - response_deserializer=facility_dot_brick_dot_brick__pb2.FindLevel1Resp.FromString, - ) + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Find = channel.unary_unary( + '/dfs.facility.brick.BrickSrv/Find', + request_serializer=facility_dot_brick_dot_brick__pb2.FindBrickReq.SerializeToString, + response_deserializer=facility_dot_brick_dot_brick__pb2.FindBrickResp.FromString, + ) + self.Get = channel.unary_unary( + '/dfs.facility.brick.BrickSrv/Get', + request_serializer=facility_dot_brick_dot_brick__pb2.GetBrickReq.SerializeToString, + response_deserializer=facility_dot_brick_dot_brick__pb2.GetBrickResp.FromString, + ) + self.Write = channel.unary_unary( + '/dfs.facility.brick.BrickSrv/Write', + request_serializer=facility_dot_brick_dot_brick__pb2.WriteBrickReq.SerializeToString, + response_deserializer=facility_dot_brick_dot_brick__pb2.WriteBrickResp.FromString, + ) + self.FindObsStatus = channel.unary_unary( + '/dfs.facility.brick.BrickSrv/FindObsStatus', + request_serializer=facility_dot_brick_dot_brick__pb2.FindObsStatusReq.SerializeToString, + response_deserializer=facility_dot_brick_dot_brick__pb2.FindObsStatusResp.FromString, + ) + self.FindLevel1 = channel.unary_unary( + '/dfs.facility.brick.BrickSrv/FindLevel1', + request_serializer=facility_dot_brick_dot_brick__pb2.FindLevel1Req.SerializeToString, + response_deserializer=facility_dot_brick_dot_brick__pb2.FindLevel1Resp.FromString, + ) class BrickSrvServicer(object): - # missing associated documentation comment in .proto file - pass - - def Find(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Get(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Write(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def FindObsStatus(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def FindLevel1(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + """Missing associated documentation comment in .proto file.""" + + def Find(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Get(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Write(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def FindObsStatus(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def FindLevel1(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_BrickSrvServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Find': grpc.unary_unary_rpc_method_handler( - servicer.Find, - request_deserializer=facility_dot_brick_dot_brick__pb2.FindBrickReq.FromString, - response_serializer=facility_dot_brick_dot_brick__pb2.FindBrickResp.SerializeToString, - ), - 'Get': grpc.unary_unary_rpc_method_handler( - servicer.Get, - request_deserializer=facility_dot_brick_dot_brick__pb2.GetBrickReq.FromString, - response_serializer=facility_dot_brick_dot_brick__pb2.GetBrickResp.SerializeToString, - ), - 'Write': grpc.unary_unary_rpc_method_handler( - servicer.Write, - request_deserializer=facility_dot_brick_dot_brick__pb2.WriteBrickReq.FromString, - response_serializer=facility_dot_brick_dot_brick__pb2.WriteBrickResp.SerializeToString, - ), - 'FindObsStatus': grpc.unary_unary_rpc_method_handler( - servicer.FindObsStatus, - request_deserializer=facility_dot_brick_dot_brick__pb2.FindObsStatusReq.FromString, - response_serializer=facility_dot_brick_dot_brick__pb2.FindObsStatusResp.SerializeToString, - ), - 'FindLevel1': grpc.unary_unary_rpc_method_handler( - servicer.FindLevel1, - request_deserializer=facility_dot_brick_dot_brick__pb2.FindLevel1Req.FromString, - response_serializer=facility_dot_brick_dot_brick__pb2.FindLevel1Resp.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'dfs.facility.brick.BrickSrv', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) + rpc_method_handlers = { + 'Find': grpc.unary_unary_rpc_method_handler( + servicer.Find, + request_deserializer=facility_dot_brick_dot_brick__pb2.FindBrickReq.FromString, + response_serializer=facility_dot_brick_dot_brick__pb2.FindBrickResp.SerializeToString, + ), + 'Get': grpc.unary_unary_rpc_method_handler( + servicer.Get, + request_deserializer=facility_dot_brick_dot_brick__pb2.GetBrickReq.FromString, + response_serializer=facility_dot_brick_dot_brick__pb2.GetBrickResp.SerializeToString, + ), + 'Write': grpc.unary_unary_rpc_method_handler( + servicer.Write, + request_deserializer=facility_dot_brick_dot_brick__pb2.WriteBrickReq.FromString, + response_serializer=facility_dot_brick_dot_brick__pb2.WriteBrickResp.SerializeToString, + ), + 'FindObsStatus': grpc.unary_unary_rpc_method_handler( + servicer.FindObsStatus, + request_deserializer=facility_dot_brick_dot_brick__pb2.FindObsStatusReq.FromString, + response_serializer=facility_dot_brick_dot_brick__pb2.FindObsStatusResp.SerializeToString, + ), + 'FindLevel1': grpc.unary_unary_rpc_method_handler( + servicer.FindLevel1, + request_deserializer=facility_dot_brick_dot_brick__pb2.FindLevel1Req.FromString, + response_serializer=facility_dot_brick_dot_brick__pb2.FindLevel1Resp.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'dfs.facility.brick.BrickSrv', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class BrickSrv(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def Find(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.brick.BrickSrv/Find', + facility_dot_brick_dot_brick__pb2.FindBrickReq.SerializeToString, + facility_dot_brick_dot_brick__pb2.FindBrickResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Get(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.brick.BrickSrv/Get', + facility_dot_brick_dot_brick__pb2.GetBrickReq.SerializeToString, + facility_dot_brick_dot_brick__pb2.GetBrickResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Write(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.brick.BrickSrv/Write', + facility_dot_brick_dot_brick__pb2.WriteBrickReq.SerializeToString, + facility_dot_brick_dot_brick__pb2.WriteBrickResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def FindObsStatus(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.brick.BrickSrv/FindObsStatus', + facility_dot_brick_dot_brick__pb2.FindObsStatusReq.SerializeToString, + facility_dot_brick_dot_brick__pb2.FindObsStatusResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def FindLevel1(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.brick.BrickSrv/FindLevel1', + facility_dot_brick_dot_brick__pb2.FindLevel1Req.SerializeToString, + facility_dot_brick_dot_brick__pb2.FindLevel1Resp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/csst_dfs_proto/facility/calmerge/calmerge_pb2.py b/csst_dfs_proto/facility/calmerge/calmerge_pb2.py index 93a60cc..1bcde91 100644 --- a/csst_dfs_proto/facility/calmerge/calmerge_pb2.py +++ b/csst_dfs_proto/facility/calmerge/calmerge_pb2.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: facility/calmerge/calmerge.proto - +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder 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 descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -14,890 +14,44 @@ _sym_db = _symbol_database.Default() from ...common import error_pb2 as common_dot_error__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='facility/calmerge/calmerge.proto', - package='dfs.facility.calmerge', - syntax='proto3', - serialized_options=b'Z&cnlab.net/csst/proto/facility/calmerge', - serialized_pb=b'\n facility/calmerge/calmerge.proto\x12\x15\x64\x66s.facility.calmerge\x1a\x12\x63ommon/error.proto\"\x91\x02\n\x0e\x43\x61lMergeRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06\x63\x61l_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x03 \x01(\t\x12\x10\n\x08ref_type\x18\x04 \x01(\t\x12\x10\n\x08obs_time\x18\x05 \x01(\t\x12\x10\n\x08\x65xp_time\x18\x06 \x01(\x02\x12\x10\n\x08\x66ilename\x18\x07 \x01(\t\x12\x11\n\tfile_path\x18\x08 \x01(\t\x12\x12\n\nqc1_status\x18\t \x01(\x05\x12\x10\n\x08qc1_time\x18\n \x01(\t\x12\x12\n\nprc_status\x18\x0b \x01(\x05\x12\x10\n\x08prc_time\x18\x0c \x01(\t\x12\x13\n\x0b\x63reate_time\x18\r \x01(\t\x12\x12\n\nlevel0_ids\x18\x0e \x03(\t\"\xbf\x02\n\x0f\x46indCalMergeReq\x12\x13\n\x0b\x64\x65tector_no\x18\x01 \x01(\t\x12\x10\n\x08ref_type\x18\x02 \x01(\t\x12\x16\n\x0e\x65xp_time_start\x18\x03 \x01(\t\x12\x14\n\x0c\x65xp_time_end\x18\x04 \x01(\t\x12\x12\n\nqc1_status\x18\x05 \x01(\x05\x12\x12\n\nprc_status\x18\x06 \x01(\x05\x12\x11\n\tfile_name\x18\x07 \x01(\t\x12\r\n\x05limit\x18\x08 \x01(\x05\x12U\n\x10other_conditions\x18\t \x03(\x0b\x32;.dfs.facility.calmerge.FindCalMergeReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x8d\x01\n\x10\x46indCalMergeResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x36\n\x07records\x18\x04 \x03(\x0b\x32%.dfs.facility.calmerge.CalMergeRecord\"7\n\x10GetLatestByL0Req\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x10\n\x08ref_type\x18\x02 \x01(\t\"J\n\x11GetLatestByL0Resp\x12\x35\n\x06record\x18\x03 \x01(\x0b\x32%.dfs.facility.calmerge.CalMergeRecord\",\n\x0eGetCalMergeReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06\x63\x61l_id\x18\x02 \x01(\t\"H\n\x0fGetCalMergeResp\x12\x35\n\x06record\x18\x01 \x01(\x0b\x32%.dfs.facility.calmerge.CalMergeRecord\"I\n\x10WriteCalMergeReq\x12\x35\n\x06record\x18\x01 \x01(\x0b\x32%.dfs.facility.calmerge.CalMergeRecord\"y\n\x11WriteCalMergeResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x35\n\x06record\x18\x03 \x01(\x0b\x32%.dfs.facility.calmerge.CalMergeRecord\"@\n\x12UpdateQc1StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06\x63\x61l_id\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x05\"D\n\x13UpdateQc1StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"A\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06\x63\x61l_id\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xdf\x04\n\x0b\x43\x61lMergeSrv\x12Y\n\x04\x46ind\x12&.dfs.facility.calmerge.FindCalMergeReq\x1a\'.dfs.facility.calmerge.FindCalMergeResp\"\x00\x12\x64\n\rGetLatestByL0\x12\'.dfs.facility.calmerge.GetLatestByL0Req\x1a(.dfs.facility.calmerge.GetLatestByL0Resp\"\x00\x12V\n\x03Get\x12%.dfs.facility.calmerge.GetCalMergeReq\x1a&.dfs.facility.calmerge.GetCalMergeResp\"\x00\x12\\\n\x05Write\x12\'.dfs.facility.calmerge.WriteCalMergeReq\x1a(.dfs.facility.calmerge.WriteCalMergeResp\"\x00\x12j\n\x0fUpdateQc1Status\x12).dfs.facility.calmerge.UpdateQc1StatusReq\x1a*.dfs.facility.calmerge.UpdateQc1StatusResp\"\x00\x12m\n\x10UpdateProcStatus\x12*.dfs.facility.calmerge.UpdateProcStatusReq\x1a+.dfs.facility.calmerge.UpdateProcStatusResp\"\x00\x42(Z&cnlab.net/csst/proto/facility/calmergeb\x06proto3' - , - dependencies=[common_dot_error__pb2.DESCRIPTOR,]) - - - - -_CALMERGERECORD = _descriptor.Descriptor( - name='CalMergeRecord', - full_name='dfs.facility.calmerge.CalMergeRecord', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.calmerge.CalMergeRecord.id', 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), - _descriptor.FieldDescriptor( - name='cal_id', full_name='dfs.facility.calmerge.CalMergeRecord.cal_id', 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), - _descriptor.FieldDescriptor( - name='detector_no', full_name='dfs.facility.calmerge.CalMergeRecord.detector_no', index=2, - number=3, 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='ref_type', full_name='dfs.facility.calmerge.CalMergeRecord.ref_type', index=3, - number=4, 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='obs_time', full_name='dfs.facility.calmerge.CalMergeRecord.obs_time', index=4, - number=5, 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='exp_time', full_name='dfs.facility.calmerge.CalMergeRecord.exp_time', index=5, - number=6, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='filename', full_name='dfs.facility.calmerge.CalMergeRecord.filename', index=6, - number=7, 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='file_path', full_name='dfs.facility.calmerge.CalMergeRecord.file_path', index=7, - number=8, 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='qc1_status', full_name='dfs.facility.calmerge.CalMergeRecord.qc1_status', index=8, - number=9, type=5, cpp_type=1, 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='qc1_time', full_name='dfs.facility.calmerge.CalMergeRecord.qc1_time', index=9, - number=10, 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='prc_status', full_name='dfs.facility.calmerge.CalMergeRecord.prc_status', index=10, - number=11, type=5, cpp_type=1, 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='prc_time', full_name='dfs.facility.calmerge.CalMergeRecord.prc_time', index=11, - number=12, 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='create_time', full_name='dfs.facility.calmerge.CalMergeRecord.create_time', index=12, - number=13, 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='level0_ids', full_name='dfs.facility.calmerge.CalMergeRecord.level0_ids', index=13, - number=14, 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=80, - serialized_end=353, -) - - -_FINDCALMERGEREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor( - name='OtherConditionsEntry', - full_name='dfs.facility.calmerge.FindCalMergeReq.OtherConditionsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dfs.facility.calmerge.FindCalMergeReq.OtherConditionsEntry.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.facility.calmerge.FindCalMergeReq.OtherConditionsEntry.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=621, - serialized_end=675, -) - -_FINDCALMERGEREQ = _descriptor.Descriptor( - name='FindCalMergeReq', - full_name='dfs.facility.calmerge.FindCalMergeReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='detector_no', full_name='dfs.facility.calmerge.FindCalMergeReq.detector_no', 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='ref_type', full_name='dfs.facility.calmerge.FindCalMergeReq.ref_type', 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), - _descriptor.FieldDescriptor( - name='exp_time_start', full_name='dfs.facility.calmerge.FindCalMergeReq.exp_time_start', index=2, - number=3, 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='exp_time_end', full_name='dfs.facility.calmerge.FindCalMergeReq.exp_time_end', index=3, - number=4, 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='qc1_status', full_name='dfs.facility.calmerge.FindCalMergeReq.qc1_status', index=4, - number=5, type=5, cpp_type=1, 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='prc_status', full_name='dfs.facility.calmerge.FindCalMergeReq.prc_status', index=5, - number=6, type=5, cpp_type=1, 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='file_name', full_name='dfs.facility.calmerge.FindCalMergeReq.file_name', index=6, - number=7, 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='limit', full_name='dfs.facility.calmerge.FindCalMergeReq.limit', index=7, - number=8, type=5, cpp_type=1, 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='other_conditions', full_name='dfs.facility.calmerge.FindCalMergeReq.other_conditions', index=8, - number=9, 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=[_FINDCALMERGEREQ_OTHERCONDITIONSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=356, - serialized_end=675, -) - - -_FINDCALMERGERESP = _descriptor.Descriptor( - name='FindCalMergeResp', - full_name='dfs.facility.calmerge.FindCalMergeResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.calmerge.FindCalMergeResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.facility.calmerge.FindCalMergeResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.facility.calmerge.FindCalMergeResp.error', 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='records', full_name='dfs.facility.calmerge.FindCalMergeResp.records', index=3, - number=4, 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=678, - serialized_end=819, -) - - -_GETLATESTBYL0REQ = _descriptor.Descriptor( - name='GetLatestByL0Req', - full_name='dfs.facility.calmerge.GetLatestByL0Req', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='level0_id', full_name='dfs.facility.calmerge.GetLatestByL0Req.level0_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='ref_type', full_name='dfs.facility.calmerge.GetLatestByL0Req.ref_type', 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=821, - serialized_end=876, -) - - -_GETLATESTBYL0RESP = _descriptor.Descriptor( - name='GetLatestByL0Resp', - full_name='dfs.facility.calmerge.GetLatestByL0Resp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.calmerge.GetLatestByL0Resp.record', index=0, - 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=878, - serialized_end=952, -) - - -_GETCALMERGEREQ = _descriptor.Descriptor( - name='GetCalMergeReq', - full_name='dfs.facility.calmerge.GetCalMergeReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.calmerge.GetCalMergeReq.id', 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), - _descriptor.FieldDescriptor( - name='cal_id', full_name='dfs.facility.calmerge.GetCalMergeReq.cal_id', 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=954, - serialized_end=998, -) - - -_GETCALMERGERESP = _descriptor.Descriptor( - name='GetCalMergeResp', - full_name='dfs.facility.calmerge.GetCalMergeResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.calmerge.GetCalMergeResp.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1000, - serialized_end=1072, -) - - -_WRITECALMERGEREQ = _descriptor.Descriptor( - name='WriteCalMergeReq', - full_name='dfs.facility.calmerge.WriteCalMergeReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.calmerge.WriteCalMergeReq.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1074, - serialized_end=1147, -) - - -_WRITECALMERGERESP = _descriptor.Descriptor( - name='WriteCalMergeResp', - full_name='dfs.facility.calmerge.WriteCalMergeResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.calmerge.WriteCalMergeResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.calmerge.WriteCalMergeResp.error', 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='record', full_name='dfs.facility.calmerge.WriteCalMergeResp.record', 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1149, - serialized_end=1270, -) - - -_UPDATEQC1STATUSREQ = _descriptor.Descriptor( - name='UpdateQc1StatusReq', - full_name='dfs.facility.calmerge.UpdateQc1StatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.calmerge.UpdateQc1StatusReq.id', 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), - _descriptor.FieldDescriptor( - name='cal_id', full_name='dfs.facility.calmerge.UpdateQc1StatusReq.cal_id', 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), - _descriptor.FieldDescriptor( - name='status', full_name='dfs.facility.calmerge.UpdateQc1StatusReq.status', index=2, - number=3, type=5, cpp_type=1, 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=1272, - serialized_end=1336, -) - - -_UPDATEQC1STATUSRESP = _descriptor.Descriptor( - name='UpdateQc1StatusResp', - full_name='dfs.facility.calmerge.UpdateQc1StatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.calmerge.UpdateQc1StatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.calmerge.UpdateQc1StatusResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1338, - serialized_end=1406, -) - - -_UPDATEPROCSTATUSREQ = _descriptor.Descriptor( - name='UpdateProcStatusReq', - full_name='dfs.facility.calmerge.UpdateProcStatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.calmerge.UpdateProcStatusReq.id', 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), - _descriptor.FieldDescriptor( - name='cal_id', full_name='dfs.facility.calmerge.UpdateProcStatusReq.cal_id', 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), - _descriptor.FieldDescriptor( - name='status', full_name='dfs.facility.calmerge.UpdateProcStatusReq.status', index=2, - number=3, type=5, cpp_type=1, 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=1408, - serialized_end=1473, -) - - -_UPDATEPROCSTATUSRESP = _descriptor.Descriptor( - name='UpdateProcStatusResp', - full_name='dfs.facility.calmerge.UpdateProcStatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.calmerge.UpdateProcStatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.calmerge.UpdateProcStatusResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1475, - serialized_end=1544, -) - -_FINDCALMERGEREQ_OTHERCONDITIONSENTRY.containing_type = _FINDCALMERGEREQ -_FINDCALMERGEREQ.fields_by_name['other_conditions'].message_type = _FINDCALMERGEREQ_OTHERCONDITIONSENTRY -_FINDCALMERGERESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDCALMERGERESP.fields_by_name['records'].message_type = _CALMERGERECORD -_GETLATESTBYL0RESP.fields_by_name['record'].message_type = _CALMERGERECORD -_GETCALMERGERESP.fields_by_name['record'].message_type = _CALMERGERECORD -_WRITECALMERGEREQ.fields_by_name['record'].message_type = _CALMERGERECORD -_WRITECALMERGERESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_WRITECALMERGERESP.fields_by_name['record'].message_type = _CALMERGERECORD -_UPDATEQC1STATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -DESCRIPTOR.message_types_by_name['CalMergeRecord'] = _CALMERGERECORD -DESCRIPTOR.message_types_by_name['FindCalMergeReq'] = _FINDCALMERGEREQ -DESCRIPTOR.message_types_by_name['FindCalMergeResp'] = _FINDCALMERGERESP -DESCRIPTOR.message_types_by_name['GetLatestByL0Req'] = _GETLATESTBYL0REQ -DESCRIPTOR.message_types_by_name['GetLatestByL0Resp'] = _GETLATESTBYL0RESP -DESCRIPTOR.message_types_by_name['GetCalMergeReq'] = _GETCALMERGEREQ -DESCRIPTOR.message_types_by_name['GetCalMergeResp'] = _GETCALMERGERESP -DESCRIPTOR.message_types_by_name['WriteCalMergeReq'] = _WRITECALMERGEREQ -DESCRIPTOR.message_types_by_name['WriteCalMergeResp'] = _WRITECALMERGERESP -DESCRIPTOR.message_types_by_name['UpdateQc1StatusReq'] = _UPDATEQC1STATUSREQ -DESCRIPTOR.message_types_by_name['UpdateQc1StatusResp'] = _UPDATEQC1STATUSRESP -DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ -DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -CalMergeRecord = _reflection.GeneratedProtocolMessageType('CalMergeRecord', (_message.Message,), { - 'DESCRIPTOR' : _CALMERGERECORD, - '__module__' : 'facility.calmerge.calmerge_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.calmerge.CalMergeRecord) - }) -_sym_db.RegisterMessage(CalMergeRecord) - -FindCalMergeReq = _reflection.GeneratedProtocolMessageType('FindCalMergeReq', (_message.Message,), { - - 'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), { - 'DESCRIPTOR' : _FINDCALMERGEREQ_OTHERCONDITIONSENTRY, - '__module__' : 'facility.calmerge.calmerge_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.calmerge.FindCalMergeReq.OtherConditionsEntry) - }) - , - 'DESCRIPTOR' : _FINDCALMERGEREQ, - '__module__' : 'facility.calmerge.calmerge_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.calmerge.FindCalMergeReq) - }) -_sym_db.RegisterMessage(FindCalMergeReq) -_sym_db.RegisterMessage(FindCalMergeReq.OtherConditionsEntry) - -FindCalMergeResp = _reflection.GeneratedProtocolMessageType('FindCalMergeResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDCALMERGERESP, - '__module__' : 'facility.calmerge.calmerge_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.calmerge.FindCalMergeResp) - }) -_sym_db.RegisterMessage(FindCalMergeResp) - -GetLatestByL0Req = _reflection.GeneratedProtocolMessageType('GetLatestByL0Req', (_message.Message,), { - 'DESCRIPTOR' : _GETLATESTBYL0REQ, - '__module__' : 'facility.calmerge.calmerge_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.calmerge.GetLatestByL0Req) - }) -_sym_db.RegisterMessage(GetLatestByL0Req) - -GetLatestByL0Resp = _reflection.GeneratedProtocolMessageType('GetLatestByL0Resp', (_message.Message,), { - 'DESCRIPTOR' : _GETLATESTBYL0RESP, - '__module__' : 'facility.calmerge.calmerge_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.calmerge.GetLatestByL0Resp) - }) -_sym_db.RegisterMessage(GetLatestByL0Resp) - -GetCalMergeReq = _reflection.GeneratedProtocolMessageType('GetCalMergeReq', (_message.Message,), { - 'DESCRIPTOR' : _GETCALMERGEREQ, - '__module__' : 'facility.calmerge.calmerge_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.calmerge.GetCalMergeReq) - }) -_sym_db.RegisterMessage(GetCalMergeReq) - -GetCalMergeResp = _reflection.GeneratedProtocolMessageType('GetCalMergeResp', (_message.Message,), { - 'DESCRIPTOR' : _GETCALMERGERESP, - '__module__' : 'facility.calmerge.calmerge_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.calmerge.GetCalMergeResp) - }) -_sym_db.RegisterMessage(GetCalMergeResp) - -WriteCalMergeReq = _reflection.GeneratedProtocolMessageType('WriteCalMergeReq', (_message.Message,), { - 'DESCRIPTOR' : _WRITECALMERGEREQ, - '__module__' : 'facility.calmerge.calmerge_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.calmerge.WriteCalMergeReq) - }) -_sym_db.RegisterMessage(WriteCalMergeReq) - -WriteCalMergeResp = _reflection.GeneratedProtocolMessageType('WriteCalMergeResp', (_message.Message,), { - 'DESCRIPTOR' : _WRITECALMERGERESP, - '__module__' : 'facility.calmerge.calmerge_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.calmerge.WriteCalMergeResp) - }) -_sym_db.RegisterMessage(WriteCalMergeResp) - -UpdateQc1StatusReq = _reflection.GeneratedProtocolMessageType('UpdateQc1StatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEQC1STATUSREQ, - '__module__' : 'facility.calmerge.calmerge_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.calmerge.UpdateQc1StatusReq) - }) -_sym_db.RegisterMessage(UpdateQc1StatusReq) - -UpdateQc1StatusResp = _reflection.GeneratedProtocolMessageType('UpdateQc1StatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEQC1STATUSRESP, - '__module__' : 'facility.calmerge.calmerge_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.calmerge.UpdateQc1StatusResp) - }) -_sym_db.RegisterMessage(UpdateQc1StatusResp) - -UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSREQ, - '__module__' : 'facility.calmerge.calmerge_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.calmerge.UpdateProcStatusReq) - }) -_sym_db.RegisterMessage(UpdateProcStatusReq) - -UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSRESP, - '__module__' : 'facility.calmerge.calmerge_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.calmerge.UpdateProcStatusResp) - }) -_sym_db.RegisterMessage(UpdateProcStatusResp) - - -DESCRIPTOR._options = None -_FINDCALMERGEREQ_OTHERCONDITIONSENTRY._options = None - -_CALMERGESRV = _descriptor.ServiceDescriptor( - name='CalMergeSrv', - full_name='dfs.facility.calmerge.CalMergeSrv', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=1547, - serialized_end=2154, - methods=[ - _descriptor.MethodDescriptor( - name='Find', - full_name='dfs.facility.calmerge.CalMergeSrv.Find', - index=0, - containing_service=None, - input_type=_FINDCALMERGEREQ, - output_type=_FINDCALMERGERESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='GetLatestByL0', - full_name='dfs.facility.calmerge.CalMergeSrv.GetLatestByL0', - index=1, - containing_service=None, - input_type=_GETLATESTBYL0REQ, - output_type=_GETLATESTBYL0RESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Get', - full_name='dfs.facility.calmerge.CalMergeSrv.Get', - index=2, - containing_service=None, - input_type=_GETCALMERGEREQ, - output_type=_GETCALMERGERESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Write', - full_name='dfs.facility.calmerge.CalMergeSrv.Write', - index=3, - containing_service=None, - input_type=_WRITECALMERGEREQ, - output_type=_WRITECALMERGERESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateQc1Status', - full_name='dfs.facility.calmerge.CalMergeSrv.UpdateQc1Status', - index=4, - containing_service=None, - input_type=_UPDATEQC1STATUSREQ, - output_type=_UPDATEQC1STATUSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateProcStatus', - full_name='dfs.facility.calmerge.CalMergeSrv.UpdateProcStatus', - index=5, - containing_service=None, - input_type=_UPDATEPROCSTATUSREQ, - output_type=_UPDATEPROCSTATUSRESP, - serialized_options=None, - ), -]) -_sym_db.RegisterServiceDescriptor(_CALMERGESRV) - -DESCRIPTOR.services_by_name['CalMergeSrv'] = _CALMERGESRV - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n facility/calmerge/calmerge.proto\x12\x15\x64\x66s.facility.calmerge\x1a\x12\x63ommon/error.proto\"\x91\x02\n\x0e\x43\x61lMergeRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06\x63\x61l_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x03 \x01(\t\x12\x10\n\x08ref_type\x18\x04 \x01(\t\x12\x10\n\x08obs_time\x18\x05 \x01(\t\x12\x10\n\x08\x65xp_time\x18\x06 \x01(\x02\x12\x10\n\x08\x66ilename\x18\x07 \x01(\t\x12\x11\n\tfile_path\x18\x08 \x01(\t\x12\x12\n\nqc1_status\x18\t \x01(\x05\x12\x10\n\x08qc1_time\x18\n \x01(\t\x12\x12\n\nprc_status\x18\x0b \x01(\x05\x12\x10\n\x08prc_time\x18\x0c \x01(\t\x12\x13\n\x0b\x63reate_time\x18\r \x01(\t\x12\x12\n\nlevel0_ids\x18\x0e \x03(\t\"\xbf\x02\n\x0f\x46indCalMergeReq\x12\x13\n\x0b\x64\x65tector_no\x18\x01 \x01(\t\x12\x10\n\x08ref_type\x18\x02 \x01(\t\x12\x16\n\x0e\x65xp_time_start\x18\x03 \x01(\t\x12\x14\n\x0c\x65xp_time_end\x18\x04 \x01(\t\x12\x12\n\nqc1_status\x18\x05 \x01(\x05\x12\x12\n\nprc_status\x18\x06 \x01(\x05\x12\x11\n\tfile_name\x18\x07 \x01(\t\x12\r\n\x05limit\x18\x08 \x01(\x05\x12U\n\x10other_conditions\x18\t \x03(\x0b\x32;.dfs.facility.calmerge.FindCalMergeReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x8d\x01\n\x10\x46indCalMergeResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x36\n\x07records\x18\x04 \x03(\x0b\x32%.dfs.facility.calmerge.CalMergeRecord\"7\n\x10GetLatestByL0Req\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x10\n\x08ref_type\x18\x02 \x01(\t\"J\n\x11GetLatestByL0Resp\x12\x35\n\x06record\x18\x03 \x01(\x0b\x32%.dfs.facility.calmerge.CalMergeRecord\",\n\x0eGetCalMergeReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06\x63\x61l_id\x18\x02 \x01(\t\"H\n\x0fGetCalMergeResp\x12\x35\n\x06record\x18\x01 \x01(\x0b\x32%.dfs.facility.calmerge.CalMergeRecord\"I\n\x10WriteCalMergeReq\x12\x35\n\x06record\x18\x01 \x01(\x0b\x32%.dfs.facility.calmerge.CalMergeRecord\"y\n\x11WriteCalMergeResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x35\n\x06record\x18\x03 \x01(\x0b\x32%.dfs.facility.calmerge.CalMergeRecord\"@\n\x12UpdateQc1StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06\x63\x61l_id\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x05\"D\n\x13UpdateQc1StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"A\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06\x63\x61l_id\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xdf\x04\n\x0b\x43\x61lMergeSrv\x12Y\n\x04\x46ind\x12&.dfs.facility.calmerge.FindCalMergeReq\x1a\'.dfs.facility.calmerge.FindCalMergeResp\"\x00\x12\x64\n\rGetLatestByL0\x12\'.dfs.facility.calmerge.GetLatestByL0Req\x1a(.dfs.facility.calmerge.GetLatestByL0Resp\"\x00\x12V\n\x03Get\x12%.dfs.facility.calmerge.GetCalMergeReq\x1a&.dfs.facility.calmerge.GetCalMergeResp\"\x00\x12\\\n\x05Write\x12\'.dfs.facility.calmerge.WriteCalMergeReq\x1a(.dfs.facility.calmerge.WriteCalMergeResp\"\x00\x12j\n\x0fUpdateQc1Status\x12).dfs.facility.calmerge.UpdateQc1StatusReq\x1a*.dfs.facility.calmerge.UpdateQc1StatusResp\"\x00\x12m\n\x10UpdateProcStatus\x12*.dfs.facility.calmerge.UpdateProcStatusReq\x1a+.dfs.facility.calmerge.UpdateProcStatusResp\"\x00\x42(Z&cnlab.net/csst/proto/facility/calmergeb\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'facility.calmerge.calmerge_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z&cnlab.net/csst/proto/facility/calmerge' + _FINDCALMERGEREQ_OTHERCONDITIONSENTRY._options = None + _FINDCALMERGEREQ_OTHERCONDITIONSENTRY._serialized_options = b'8\001' + _CALMERGERECORD._serialized_start=80 + _CALMERGERECORD._serialized_end=353 + _FINDCALMERGEREQ._serialized_start=356 + _FINDCALMERGEREQ._serialized_end=675 + _FINDCALMERGEREQ_OTHERCONDITIONSENTRY._serialized_start=621 + _FINDCALMERGEREQ_OTHERCONDITIONSENTRY._serialized_end=675 + _FINDCALMERGERESP._serialized_start=678 + _FINDCALMERGERESP._serialized_end=819 + _GETLATESTBYL0REQ._serialized_start=821 + _GETLATESTBYL0REQ._serialized_end=876 + _GETLATESTBYL0RESP._serialized_start=878 + _GETLATESTBYL0RESP._serialized_end=952 + _GETCALMERGEREQ._serialized_start=954 + _GETCALMERGEREQ._serialized_end=998 + _GETCALMERGERESP._serialized_start=1000 + _GETCALMERGERESP._serialized_end=1072 + _WRITECALMERGEREQ._serialized_start=1074 + _WRITECALMERGEREQ._serialized_end=1147 + _WRITECALMERGERESP._serialized_start=1149 + _WRITECALMERGERESP._serialized_end=1270 + _UPDATEQC1STATUSREQ._serialized_start=1272 + _UPDATEQC1STATUSREQ._serialized_end=1336 + _UPDATEQC1STATUSRESP._serialized_start=1338 + _UPDATEQC1STATUSRESP._serialized_end=1406 + _UPDATEPROCSTATUSREQ._serialized_start=1408 + _UPDATEPROCSTATUSREQ._serialized_end=1473 + _UPDATEPROCSTATUSRESP._serialized_start=1475 + _UPDATEPROCSTATUSRESP._serialized_end=1544 + _CALMERGESRV._serialized_start=1547 + _CALMERGESRV._serialized_end=2154 # @@protoc_insertion_point(module_scope) diff --git a/csst_dfs_proto/facility/calmerge/calmerge_pb2_grpc.py b/csst_dfs_proto/facility/calmerge/calmerge_pb2_grpc.py index 958a486..957992e 100644 --- a/csst_dfs_proto/facility/calmerge/calmerge_pb2_grpc.py +++ b/csst_dfs_proto/facility/calmerge/calmerge_pb2_grpc.py @@ -1,11 +1,12 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from . import calmerge_pb2 as facility_dot_calmerge_dot_calmerge__pb2 class CalMergeSrvStub(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def __init__(self, channel): """Constructor. @@ -46,40 +47,40 @@ class CalMergeSrvStub(object): class CalMergeSrvServicer(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def Find(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def GetLatestByL0(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Get(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Write(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateQc1Status(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateProcStatus(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') @@ -125,7 +126,7 @@ def add_CalMergeSrvServicer_to_server(servicer, server): # This class is part of an EXPERIMENTAL API. class CalMergeSrv(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" @staticmethod def Find(request, @@ -133,6 +134,7 @@ class CalMergeSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -141,7 +143,7 @@ class CalMergeSrv(object): facility_dot_calmerge_dot_calmerge__pb2.FindCalMergeReq.SerializeToString, facility_dot_calmerge_dot_calmerge__pb2.FindCalMergeResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def GetLatestByL0(request, @@ -149,6 +151,7 @@ class CalMergeSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -157,7 +160,7 @@ class CalMergeSrv(object): facility_dot_calmerge_dot_calmerge__pb2.GetLatestByL0Req.SerializeToString, facility_dot_calmerge_dot_calmerge__pb2.GetLatestByL0Resp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Get(request, @@ -165,6 +168,7 @@ class CalMergeSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -173,7 +177,7 @@ class CalMergeSrv(object): facility_dot_calmerge_dot_calmerge__pb2.GetCalMergeReq.SerializeToString, facility_dot_calmerge_dot_calmerge__pb2.GetCalMergeResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Write(request, @@ -181,6 +185,7 @@ class CalMergeSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -189,7 +194,7 @@ class CalMergeSrv(object): facility_dot_calmerge_dot_calmerge__pb2.WriteCalMergeReq.SerializeToString, facility_dot_calmerge_dot_calmerge__pb2.WriteCalMergeResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateQc1Status(request, @@ -197,6 +202,7 @@ class CalMergeSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -205,7 +211,7 @@ class CalMergeSrv(object): facility_dot_calmerge_dot_calmerge__pb2.UpdateQc1StatusReq.SerializeToString, facility_dot_calmerge_dot_calmerge__pb2.UpdateQc1StatusResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateProcStatus(request, @@ -213,6 +219,7 @@ class CalMergeSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -221,4 +228,4 @@ class CalMergeSrv(object): facility_dot_calmerge_dot_calmerge__pb2.UpdateProcStatusReq.SerializeToString, facility_dot_calmerge_dot_calmerge__pb2.UpdateProcStatusResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/csst_dfs_proto/facility/detector/detector_pb2.py b/csst_dfs_proto/facility/detector/detector_pb2.py index f3db83e..f14f259 100644 --- a/csst_dfs_proto/facility/detector/detector_pb2.py +++ b/csst_dfs_proto/facility/detector/detector_pb2.py @@ -1,12 +1,10 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: facility/detector/detector.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder 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 descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -16,998 +14,50 @@ _sym_db = _symbol_database.Default() from ...common import error_pb2 as common_dot_error__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='facility/detector/detector.proto', - package='dfs.facility.detector', - syntax='proto3', - serialized_options=_b('Z&cnlab.net/csst/proto/facility/detector'), - serialized_pb=_b('\n facility/detector/detector.proto\x12\x15\x64\x66s.facility.detector\x1a\x12\x63ommon/error.proto\"}\n\x08\x44\x65tector\x12\n\n\x02no\x18\x01 \x01(\t\x12\x15\n\rdetector_name\x18\x02 \x01(\t\x12\x11\n\tmodule_id\x18\x03 \x01(\t\x12\x11\n\tfilter_id\x18\x04 \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x05 \x01(\t\x12\x13\n\x0bupdate_time\x18\x06 \x01(\t\"k\n\x0e\x44\x65tectorStatus\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x13\n\x0b\x64\x65tector_no\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\t\x12\x13\n\x0bstatus_time\x18\x04 \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x05 \x01(\t\"1\n\x0f\x46indDetectorReq\x12\x11\n\tmodule_id\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\t\"\x87\x01\n\x10\x46indDetectorResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x30\n\x07records\x18\x04 \x03(\x0b\x32\x1f.dfs.facility.detector.Detector\"\x1c\n\x0eGetDetectorReq\x12\n\n\x02no\x18\x01 \x01(\t\"B\n\x0fGetDetectorResp\x12/\n\x06record\x18\x01 \x01(\x0b\x32\x1f.dfs.facility.detector.Detector\"C\n\x10WriteDetectorReq\x12/\n\x06record\x18\x01 \x01(\x0b\x32\x1f.dfs.facility.detector.Detector\"s\n\x11WriteDetectorResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12/\n\x06record\x18\x03 \x01(\x0b\x32\x1f.dfs.facility.detector.Detector\"D\n\x11UpdateDetectorReq\x12/\n\x06record\x18\x03 \x01(\x0b\x32\x1f.dfs.facility.detector.Detector\"C\n\x12UpdateDetectorResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"\x1f\n\x11\x44\x65leteDetectorReq\x12\n\n\x02no\x18\x01 \x01(\t\"C\n\x12\x44\x65leteDetectorResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"g\n\rFindStatusReq\x12\x13\n\x0b\x64\x65tector_no\x18\x01 \x01(\t\x12\x19\n\x11status_begin_time\x18\x02 \x01(\t\x12\x17\n\x0fstatus_end_time\x18\x03 \x01(\t\x12\r\n\x05limit\x18\x04 \x01(\x05\"\x8b\x01\n\x0e\x46indStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x36\n\x07records\x18\x04 \x03(\x0b\x32%.dfs.facility.detector.DetectorStatus\"\x1a\n\x0cGetStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\"F\n\rGetStatusResp\x12\x35\n\x06record\x18\x01 \x01(\x0b\x32%.dfs.facility.detector.DetectorStatus\"G\n\x0eWriteStatusReq\x12\x35\n\x06record\x18\x01 \x01(\x0b\x32%.dfs.facility.detector.DetectorStatus\"w\n\x0fWriteStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x35\n\x06record\x18\x03 \x01(\x0b\x32%.dfs.facility.detector.DetectorStatus2\xf7\x05\n\x0b\x44\x65tectorSrv\x12Y\n\x04\x46ind\x12&.dfs.facility.detector.FindDetectorReq\x1a\'.dfs.facility.detector.FindDetectorResp\"\x00\x12V\n\x03Get\x12%.dfs.facility.detector.GetDetectorReq\x1a&.dfs.facility.detector.GetDetectorResp\"\x00\x12\\\n\x05Write\x12\'.dfs.facility.detector.WriteDetectorReq\x1a(.dfs.facility.detector.WriteDetectorResp\"\x00\x12_\n\x06Update\x12(.dfs.facility.detector.UpdateDetectorReq\x1a).dfs.facility.detector.UpdateDetectorResp\"\x00\x12_\n\x06\x44\x65lete\x12(.dfs.facility.detector.DeleteDetectorReq\x1a).dfs.facility.detector.DeleteDetectorResp\"\x00\x12[\n\nFindStatus\x12$.dfs.facility.detector.FindStatusReq\x1a%.dfs.facility.detector.FindStatusResp\"\x00\x12X\n\tGetStatus\x12#.dfs.facility.detector.GetStatusReq\x1a$.dfs.facility.detector.GetStatusResp\"\x00\x12^\n\x0bWriteStatus\x12%.dfs.facility.detector.WriteStatusReq\x1a&.dfs.facility.detector.WriteStatusResp\"\x00\x42(Z&cnlab.net/csst/proto/facility/detectorb\x06proto3') - , - dependencies=[common_dot_error__pb2.DESCRIPTOR,]) - - - - -_DETECTOR = _descriptor.Descriptor( - name='Detector', - full_name='dfs.facility.detector.Detector', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='no', full_name='dfs.facility.detector.Detector.no', 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='detector_name', full_name='dfs.facility.detector.Detector.detector_name', 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), - _descriptor.FieldDescriptor( - name='module_id', full_name='dfs.facility.detector.Detector.module_id', index=2, - number=3, 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='filter_id', full_name='dfs.facility.detector.Detector.filter_id', index=3, - number=4, 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='create_time', full_name='dfs.facility.detector.Detector.create_time', index=4, - number=5, 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='update_time', full_name='dfs.facility.detector.Detector.update_time', index=5, - number=6, 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=79, - serialized_end=204, -) - - -_DETECTORSTATUS = _descriptor.Descriptor( - name='DetectorStatus', - full_name='dfs.facility.detector.DetectorStatus', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.detector.DetectorStatus.id', 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), - _descriptor.FieldDescriptor( - name='detector_no', full_name='dfs.facility.detector.DetectorStatus.detector_no', 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), - _descriptor.FieldDescriptor( - name='status', full_name='dfs.facility.detector.DetectorStatus.status', index=2, - number=3, 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='status_time', full_name='dfs.facility.detector.DetectorStatus.status_time', index=3, - number=4, 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='create_time', full_name='dfs.facility.detector.DetectorStatus.create_time', index=4, - number=5, 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=206, - serialized_end=313, -) - - -_FINDDETECTORREQ = _descriptor.Descriptor( - name='FindDetectorReq', - full_name='dfs.facility.detector.FindDetectorReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='module_id', full_name='dfs.facility.detector.FindDetectorReq.module_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='key', full_name='dfs.facility.detector.FindDetectorReq.key', 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=315, - serialized_end=364, -) - - -_FINDDETECTORRESP = _descriptor.Descriptor( - name='FindDetectorResp', - full_name='dfs.facility.detector.FindDetectorResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.detector.FindDetectorResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.facility.detector.FindDetectorResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.facility.detector.FindDetectorResp.error', 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='records', full_name='dfs.facility.detector.FindDetectorResp.records', index=3, - number=4, 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=367, - serialized_end=502, -) - - -_GETDETECTORREQ = _descriptor.Descriptor( - name='GetDetectorReq', - full_name='dfs.facility.detector.GetDetectorReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='no', full_name='dfs.facility.detector.GetDetectorReq.no', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=504, - serialized_end=532, -) - - -_GETDETECTORRESP = _descriptor.Descriptor( - name='GetDetectorResp', - full_name='dfs.facility.detector.GetDetectorResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.detector.GetDetectorResp.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=534, - serialized_end=600, -) - - -_WRITEDETECTORREQ = _descriptor.Descriptor( - name='WriteDetectorReq', - full_name='dfs.facility.detector.WriteDetectorReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.detector.WriteDetectorReq.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=602, - serialized_end=669, -) - - -_WRITEDETECTORRESP = _descriptor.Descriptor( - name='WriteDetectorResp', - full_name='dfs.facility.detector.WriteDetectorResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.detector.WriteDetectorResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.detector.WriteDetectorResp.error', 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='record', full_name='dfs.facility.detector.WriteDetectorResp.record', 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=671, - serialized_end=786, -) - - -_UPDATEDETECTORREQ = _descriptor.Descriptor( - name='UpdateDetectorReq', - full_name='dfs.facility.detector.UpdateDetectorReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.detector.UpdateDetectorReq.record', index=0, - 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=788, - serialized_end=856, -) - - -_UPDATEDETECTORRESP = _descriptor.Descriptor( - name='UpdateDetectorResp', - full_name='dfs.facility.detector.UpdateDetectorResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.detector.UpdateDetectorResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.detector.UpdateDetectorResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=858, - serialized_end=925, -) - - -_DELETEDETECTORREQ = _descriptor.Descriptor( - name='DeleteDetectorReq', - full_name='dfs.facility.detector.DeleteDetectorReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='no', full_name='dfs.facility.detector.DeleteDetectorReq.no', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=927, - serialized_end=958, -) - - -_DELETEDETECTORRESP = _descriptor.Descriptor( - name='DeleteDetectorResp', - full_name='dfs.facility.detector.DeleteDetectorResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.detector.DeleteDetectorResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.detector.DeleteDetectorResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=960, - serialized_end=1027, -) - - -_FINDSTATUSREQ = _descriptor.Descriptor( - name='FindStatusReq', - full_name='dfs.facility.detector.FindStatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='detector_no', full_name='dfs.facility.detector.FindStatusReq.detector_no', 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='status_begin_time', full_name='dfs.facility.detector.FindStatusReq.status_begin_time', 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), - _descriptor.FieldDescriptor( - name='status_end_time', full_name='dfs.facility.detector.FindStatusReq.status_end_time', index=2, - number=3, 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='limit', full_name='dfs.facility.detector.FindStatusReq.limit', index=3, - number=4, type=5, cpp_type=1, 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=1029, - serialized_end=1132, -) - - -_FINDSTATUSRESP = _descriptor.Descriptor( - name='FindStatusResp', - full_name='dfs.facility.detector.FindStatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.detector.FindStatusResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.facility.detector.FindStatusResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.facility.detector.FindStatusResp.error', 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='records', full_name='dfs.facility.detector.FindStatusResp.records', index=3, - number=4, 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=1135, - serialized_end=1274, -) - - -_GETSTATUSREQ = _descriptor.Descriptor( - name='GetStatusReq', - full_name='dfs.facility.detector.GetStatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.detector.GetStatusReq.id', 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=1276, - serialized_end=1302, -) - - -_GETSTATUSRESP = _descriptor.Descriptor( - name='GetStatusResp', - full_name='dfs.facility.detector.GetStatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.detector.GetStatusResp.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1304, - serialized_end=1374, -) - - -_WRITESTATUSREQ = _descriptor.Descriptor( - name='WriteStatusReq', - full_name='dfs.facility.detector.WriteStatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.detector.WriteStatusReq.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1376, - serialized_end=1447, -) - - -_WRITESTATUSRESP = _descriptor.Descriptor( - name='WriteStatusResp', - full_name='dfs.facility.detector.WriteStatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.detector.WriteStatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.detector.WriteStatusResp.error', 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='record', full_name='dfs.facility.detector.WriteStatusResp.record', 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1449, - serialized_end=1568, -) - -_FINDDETECTORRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDDETECTORRESP.fields_by_name['records'].message_type = _DETECTOR -_GETDETECTORRESP.fields_by_name['record'].message_type = _DETECTOR -_WRITEDETECTORREQ.fields_by_name['record'].message_type = _DETECTOR -_WRITEDETECTORRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_WRITEDETECTORRESP.fields_by_name['record'].message_type = _DETECTOR -_UPDATEDETECTORREQ.fields_by_name['record'].message_type = _DETECTOR -_UPDATEDETECTORRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_DELETEDETECTORRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDSTATUSRESP.fields_by_name['records'].message_type = _DETECTORSTATUS -_GETSTATUSRESP.fields_by_name['record'].message_type = _DETECTORSTATUS -_WRITESTATUSREQ.fields_by_name['record'].message_type = _DETECTORSTATUS -_WRITESTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_WRITESTATUSRESP.fields_by_name['record'].message_type = _DETECTORSTATUS -DESCRIPTOR.message_types_by_name['Detector'] = _DETECTOR -DESCRIPTOR.message_types_by_name['DetectorStatus'] = _DETECTORSTATUS -DESCRIPTOR.message_types_by_name['FindDetectorReq'] = _FINDDETECTORREQ -DESCRIPTOR.message_types_by_name['FindDetectorResp'] = _FINDDETECTORRESP -DESCRIPTOR.message_types_by_name['GetDetectorReq'] = _GETDETECTORREQ -DESCRIPTOR.message_types_by_name['GetDetectorResp'] = _GETDETECTORRESP -DESCRIPTOR.message_types_by_name['WriteDetectorReq'] = _WRITEDETECTORREQ -DESCRIPTOR.message_types_by_name['WriteDetectorResp'] = _WRITEDETECTORRESP -DESCRIPTOR.message_types_by_name['UpdateDetectorReq'] = _UPDATEDETECTORREQ -DESCRIPTOR.message_types_by_name['UpdateDetectorResp'] = _UPDATEDETECTORRESP -DESCRIPTOR.message_types_by_name['DeleteDetectorReq'] = _DELETEDETECTORREQ -DESCRIPTOR.message_types_by_name['DeleteDetectorResp'] = _DELETEDETECTORRESP -DESCRIPTOR.message_types_by_name['FindStatusReq'] = _FINDSTATUSREQ -DESCRIPTOR.message_types_by_name['FindStatusResp'] = _FINDSTATUSRESP -DESCRIPTOR.message_types_by_name['GetStatusReq'] = _GETSTATUSREQ -DESCRIPTOR.message_types_by_name['GetStatusResp'] = _GETSTATUSRESP -DESCRIPTOR.message_types_by_name['WriteStatusReq'] = _WRITESTATUSREQ -DESCRIPTOR.message_types_by_name['WriteStatusResp'] = _WRITESTATUSRESP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Detector = _reflection.GeneratedProtocolMessageType('Detector', (_message.Message,), { - 'DESCRIPTOR' : _DETECTOR, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.Detector) - }) -_sym_db.RegisterMessage(Detector) - -DetectorStatus = _reflection.GeneratedProtocolMessageType('DetectorStatus', (_message.Message,), { - 'DESCRIPTOR' : _DETECTORSTATUS, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.DetectorStatus) - }) -_sym_db.RegisterMessage(DetectorStatus) - -FindDetectorReq = _reflection.GeneratedProtocolMessageType('FindDetectorReq', (_message.Message,), { - 'DESCRIPTOR' : _FINDDETECTORREQ, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.FindDetectorReq) - }) -_sym_db.RegisterMessage(FindDetectorReq) - -FindDetectorResp = _reflection.GeneratedProtocolMessageType('FindDetectorResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDDETECTORRESP, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.FindDetectorResp) - }) -_sym_db.RegisterMessage(FindDetectorResp) - -GetDetectorReq = _reflection.GeneratedProtocolMessageType('GetDetectorReq', (_message.Message,), { - 'DESCRIPTOR' : _GETDETECTORREQ, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.GetDetectorReq) - }) -_sym_db.RegisterMessage(GetDetectorReq) - -GetDetectorResp = _reflection.GeneratedProtocolMessageType('GetDetectorResp', (_message.Message,), { - 'DESCRIPTOR' : _GETDETECTORRESP, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.GetDetectorResp) - }) -_sym_db.RegisterMessage(GetDetectorResp) - -WriteDetectorReq = _reflection.GeneratedProtocolMessageType('WriteDetectorReq', (_message.Message,), { - 'DESCRIPTOR' : _WRITEDETECTORREQ, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.WriteDetectorReq) - }) -_sym_db.RegisterMessage(WriteDetectorReq) - -WriteDetectorResp = _reflection.GeneratedProtocolMessageType('WriteDetectorResp', (_message.Message,), { - 'DESCRIPTOR' : _WRITEDETECTORRESP, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.WriteDetectorResp) - }) -_sym_db.RegisterMessage(WriteDetectorResp) - -UpdateDetectorReq = _reflection.GeneratedProtocolMessageType('UpdateDetectorReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEDETECTORREQ, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.UpdateDetectorReq) - }) -_sym_db.RegisterMessage(UpdateDetectorReq) - -UpdateDetectorResp = _reflection.GeneratedProtocolMessageType('UpdateDetectorResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEDETECTORRESP, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.UpdateDetectorResp) - }) -_sym_db.RegisterMessage(UpdateDetectorResp) - -DeleteDetectorReq = _reflection.GeneratedProtocolMessageType('DeleteDetectorReq', (_message.Message,), { - 'DESCRIPTOR' : _DELETEDETECTORREQ, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.DeleteDetectorReq) - }) -_sym_db.RegisterMessage(DeleteDetectorReq) - -DeleteDetectorResp = _reflection.GeneratedProtocolMessageType('DeleteDetectorResp', (_message.Message,), { - 'DESCRIPTOR' : _DELETEDETECTORRESP, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.DeleteDetectorResp) - }) -_sym_db.RegisterMessage(DeleteDetectorResp) - -FindStatusReq = _reflection.GeneratedProtocolMessageType('FindStatusReq', (_message.Message,), { - 'DESCRIPTOR' : _FINDSTATUSREQ, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.FindStatusReq) - }) -_sym_db.RegisterMessage(FindStatusReq) - -FindStatusResp = _reflection.GeneratedProtocolMessageType('FindStatusResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDSTATUSRESP, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.FindStatusResp) - }) -_sym_db.RegisterMessage(FindStatusResp) - -GetStatusReq = _reflection.GeneratedProtocolMessageType('GetStatusReq', (_message.Message,), { - 'DESCRIPTOR' : _GETSTATUSREQ, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.GetStatusReq) - }) -_sym_db.RegisterMessage(GetStatusReq) - -GetStatusResp = _reflection.GeneratedProtocolMessageType('GetStatusResp', (_message.Message,), { - 'DESCRIPTOR' : _GETSTATUSRESP, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.GetStatusResp) - }) -_sym_db.RegisterMessage(GetStatusResp) - -WriteStatusReq = _reflection.GeneratedProtocolMessageType('WriteStatusReq', (_message.Message,), { - 'DESCRIPTOR' : _WRITESTATUSREQ, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.WriteStatusReq) - }) -_sym_db.RegisterMessage(WriteStatusReq) - -WriteStatusResp = _reflection.GeneratedProtocolMessageType('WriteStatusResp', (_message.Message,), { - 'DESCRIPTOR' : _WRITESTATUSRESP, - '__module__' : 'facility.detector.detector_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.detector.WriteStatusResp) - }) -_sym_db.RegisterMessage(WriteStatusResp) - - -DESCRIPTOR._options = None - -_DETECTORSRV = _descriptor.ServiceDescriptor( - name='DetectorSrv', - full_name='dfs.facility.detector.DetectorSrv', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=1571, - serialized_end=2330, - methods=[ - _descriptor.MethodDescriptor( - name='Find', - full_name='dfs.facility.detector.DetectorSrv.Find', - index=0, - containing_service=None, - input_type=_FINDDETECTORREQ, - output_type=_FINDDETECTORRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Get', - full_name='dfs.facility.detector.DetectorSrv.Get', - index=1, - containing_service=None, - input_type=_GETDETECTORREQ, - output_type=_GETDETECTORRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Write', - full_name='dfs.facility.detector.DetectorSrv.Write', - index=2, - containing_service=None, - input_type=_WRITEDETECTORREQ, - output_type=_WRITEDETECTORRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Update', - full_name='dfs.facility.detector.DetectorSrv.Update', - index=3, - containing_service=None, - input_type=_UPDATEDETECTORREQ, - output_type=_UPDATEDETECTORRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Delete', - full_name='dfs.facility.detector.DetectorSrv.Delete', - index=4, - containing_service=None, - input_type=_DELETEDETECTORREQ, - output_type=_DELETEDETECTORRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='FindStatus', - full_name='dfs.facility.detector.DetectorSrv.FindStatus', - index=5, - containing_service=None, - input_type=_FINDSTATUSREQ, - output_type=_FINDSTATUSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='GetStatus', - full_name='dfs.facility.detector.DetectorSrv.GetStatus', - index=6, - containing_service=None, - input_type=_GETSTATUSREQ, - output_type=_GETSTATUSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='WriteStatus', - full_name='dfs.facility.detector.DetectorSrv.WriteStatus', - index=7, - containing_service=None, - input_type=_WRITESTATUSREQ, - output_type=_WRITESTATUSRESP, - serialized_options=None, - ), -]) -_sym_db.RegisterServiceDescriptor(_DETECTORSRV) - -DESCRIPTOR.services_by_name['DetectorSrv'] = _DETECTORSRV - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n facility/detector/detector.proto\x12\x15\x64\x66s.facility.detector\x1a\x12\x63ommon/error.proto\"}\n\x08\x44\x65tector\x12\n\n\x02no\x18\x01 \x01(\t\x12\x15\n\rdetector_name\x18\x02 \x01(\t\x12\x11\n\tmodule_id\x18\x03 \x01(\t\x12\x11\n\tfilter_id\x18\x04 \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x05 \x01(\t\x12\x13\n\x0bupdate_time\x18\x06 \x01(\t\"k\n\x0e\x44\x65tectorStatus\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x13\n\x0b\x64\x65tector_no\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\t\x12\x13\n\x0bstatus_time\x18\x04 \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x05 \x01(\t\"1\n\x0f\x46indDetectorReq\x12\x11\n\tmodule_id\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\t\"\x87\x01\n\x10\x46indDetectorResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x30\n\x07records\x18\x04 \x03(\x0b\x32\x1f.dfs.facility.detector.Detector\"\x1c\n\x0eGetDetectorReq\x12\n\n\x02no\x18\x01 \x01(\t\"B\n\x0fGetDetectorResp\x12/\n\x06record\x18\x01 \x01(\x0b\x32\x1f.dfs.facility.detector.Detector\"C\n\x10WriteDetectorReq\x12/\n\x06record\x18\x01 \x01(\x0b\x32\x1f.dfs.facility.detector.Detector\"s\n\x11WriteDetectorResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12/\n\x06record\x18\x03 \x01(\x0b\x32\x1f.dfs.facility.detector.Detector\"D\n\x11UpdateDetectorReq\x12/\n\x06record\x18\x03 \x01(\x0b\x32\x1f.dfs.facility.detector.Detector\"C\n\x12UpdateDetectorResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"\x1f\n\x11\x44\x65leteDetectorReq\x12\n\n\x02no\x18\x01 \x01(\t\"C\n\x12\x44\x65leteDetectorResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"g\n\rFindStatusReq\x12\x13\n\x0b\x64\x65tector_no\x18\x01 \x01(\t\x12\x19\n\x11status_begin_time\x18\x02 \x01(\t\x12\x17\n\x0fstatus_end_time\x18\x03 \x01(\t\x12\r\n\x05limit\x18\x04 \x01(\x05\"\x8b\x01\n\x0e\x46indStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x36\n\x07records\x18\x04 \x03(\x0b\x32%.dfs.facility.detector.DetectorStatus\"\x1a\n\x0cGetStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\"F\n\rGetStatusResp\x12\x35\n\x06record\x18\x01 \x01(\x0b\x32%.dfs.facility.detector.DetectorStatus\"G\n\x0eWriteStatusReq\x12\x35\n\x06record\x18\x01 \x01(\x0b\x32%.dfs.facility.detector.DetectorStatus\"w\n\x0fWriteStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x35\n\x06record\x18\x03 \x01(\x0b\x32%.dfs.facility.detector.DetectorStatus2\xf7\x05\n\x0b\x44\x65tectorSrv\x12Y\n\x04\x46ind\x12&.dfs.facility.detector.FindDetectorReq\x1a\'.dfs.facility.detector.FindDetectorResp\"\x00\x12V\n\x03Get\x12%.dfs.facility.detector.GetDetectorReq\x1a&.dfs.facility.detector.GetDetectorResp\"\x00\x12\\\n\x05Write\x12\'.dfs.facility.detector.WriteDetectorReq\x1a(.dfs.facility.detector.WriteDetectorResp\"\x00\x12_\n\x06Update\x12(.dfs.facility.detector.UpdateDetectorReq\x1a).dfs.facility.detector.UpdateDetectorResp\"\x00\x12_\n\x06\x44\x65lete\x12(.dfs.facility.detector.DeleteDetectorReq\x1a).dfs.facility.detector.DeleteDetectorResp\"\x00\x12[\n\nFindStatus\x12$.dfs.facility.detector.FindStatusReq\x1a%.dfs.facility.detector.FindStatusResp\"\x00\x12X\n\tGetStatus\x12#.dfs.facility.detector.GetStatusReq\x1a$.dfs.facility.detector.GetStatusResp\"\x00\x12^\n\x0bWriteStatus\x12%.dfs.facility.detector.WriteStatusReq\x1a&.dfs.facility.detector.WriteStatusResp\"\x00\x42(Z&cnlab.net/csst/proto/facility/detectorb\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'facility.detector.detector_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z&cnlab.net/csst/proto/facility/detector' + _DETECTOR._serialized_start=79 + _DETECTOR._serialized_end=204 + _DETECTORSTATUS._serialized_start=206 + _DETECTORSTATUS._serialized_end=313 + _FINDDETECTORREQ._serialized_start=315 + _FINDDETECTORREQ._serialized_end=364 + _FINDDETECTORRESP._serialized_start=367 + _FINDDETECTORRESP._serialized_end=502 + _GETDETECTORREQ._serialized_start=504 + _GETDETECTORREQ._serialized_end=532 + _GETDETECTORRESP._serialized_start=534 + _GETDETECTORRESP._serialized_end=600 + _WRITEDETECTORREQ._serialized_start=602 + _WRITEDETECTORREQ._serialized_end=669 + _WRITEDETECTORRESP._serialized_start=671 + _WRITEDETECTORRESP._serialized_end=786 + _UPDATEDETECTORREQ._serialized_start=788 + _UPDATEDETECTORREQ._serialized_end=856 + _UPDATEDETECTORRESP._serialized_start=858 + _UPDATEDETECTORRESP._serialized_end=925 + _DELETEDETECTORREQ._serialized_start=927 + _DELETEDETECTORREQ._serialized_end=958 + _DELETEDETECTORRESP._serialized_start=960 + _DELETEDETECTORRESP._serialized_end=1027 + _FINDSTATUSREQ._serialized_start=1029 + _FINDSTATUSREQ._serialized_end=1132 + _FINDSTATUSRESP._serialized_start=1135 + _FINDSTATUSRESP._serialized_end=1274 + _GETSTATUSREQ._serialized_start=1276 + _GETSTATUSREQ._serialized_end=1302 + _GETSTATUSRESP._serialized_start=1304 + _GETSTATUSRESP._serialized_end=1374 + _WRITESTATUSREQ._serialized_start=1376 + _WRITESTATUSREQ._serialized_end=1447 + _WRITESTATUSRESP._serialized_start=1449 + _WRITESTATUSRESP._serialized_end=1568 + _DETECTORSRV._serialized_start=1571 + _DETECTORSRV._serialized_end=2330 # @@protoc_insertion_point(module_scope) diff --git a/csst_dfs_proto/facility/detector/detector_pb2_grpc.py b/csst_dfs_proto/facility/detector/detector_pb2_grpc.py index 895cda3..48d9ed2 100644 --- a/csst_dfs_proto/facility/detector/detector_pb2_grpc.py +++ b/csst_dfs_proto/facility/detector/detector_pb2_grpc.py @@ -1,165 +1,297 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from . import detector_pb2 as facility_dot_detector_dot_detector__pb2 class DetectorSrvStub(object): - # missing associated documentation comment in .proto file - pass - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Find = channel.unary_unary( - '/dfs.facility.detector.DetectorSrv/Find', - request_serializer=facility_dot_detector_dot_detector__pb2.FindDetectorReq.SerializeToString, - response_deserializer=facility_dot_detector_dot_detector__pb2.FindDetectorResp.FromString, - ) - self.Get = channel.unary_unary( - '/dfs.facility.detector.DetectorSrv/Get', - request_serializer=facility_dot_detector_dot_detector__pb2.GetDetectorReq.SerializeToString, - response_deserializer=facility_dot_detector_dot_detector__pb2.GetDetectorResp.FromString, - ) - self.Write = channel.unary_unary( - '/dfs.facility.detector.DetectorSrv/Write', - request_serializer=facility_dot_detector_dot_detector__pb2.WriteDetectorReq.SerializeToString, - response_deserializer=facility_dot_detector_dot_detector__pb2.WriteDetectorResp.FromString, - ) - self.Update = channel.unary_unary( - '/dfs.facility.detector.DetectorSrv/Update', - request_serializer=facility_dot_detector_dot_detector__pb2.UpdateDetectorReq.SerializeToString, - response_deserializer=facility_dot_detector_dot_detector__pb2.UpdateDetectorResp.FromString, - ) - self.Delete = channel.unary_unary( - '/dfs.facility.detector.DetectorSrv/Delete', - request_serializer=facility_dot_detector_dot_detector__pb2.DeleteDetectorReq.SerializeToString, - response_deserializer=facility_dot_detector_dot_detector__pb2.DeleteDetectorResp.FromString, - ) - self.FindStatus = channel.unary_unary( - '/dfs.facility.detector.DetectorSrv/FindStatus', - request_serializer=facility_dot_detector_dot_detector__pb2.FindStatusReq.SerializeToString, - response_deserializer=facility_dot_detector_dot_detector__pb2.FindStatusResp.FromString, - ) - self.GetStatus = channel.unary_unary( - '/dfs.facility.detector.DetectorSrv/GetStatus', - request_serializer=facility_dot_detector_dot_detector__pb2.GetStatusReq.SerializeToString, - response_deserializer=facility_dot_detector_dot_detector__pb2.GetStatusResp.FromString, - ) - self.WriteStatus = channel.unary_unary( - '/dfs.facility.detector.DetectorSrv/WriteStatus', - request_serializer=facility_dot_detector_dot_detector__pb2.WriteStatusReq.SerializeToString, - response_deserializer=facility_dot_detector_dot_detector__pb2.WriteStatusResp.FromString, - ) + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Find = channel.unary_unary( + '/dfs.facility.detector.DetectorSrv/Find', + request_serializer=facility_dot_detector_dot_detector__pb2.FindDetectorReq.SerializeToString, + response_deserializer=facility_dot_detector_dot_detector__pb2.FindDetectorResp.FromString, + ) + self.Get = channel.unary_unary( + '/dfs.facility.detector.DetectorSrv/Get', + request_serializer=facility_dot_detector_dot_detector__pb2.GetDetectorReq.SerializeToString, + response_deserializer=facility_dot_detector_dot_detector__pb2.GetDetectorResp.FromString, + ) + self.Write = channel.unary_unary( + '/dfs.facility.detector.DetectorSrv/Write', + request_serializer=facility_dot_detector_dot_detector__pb2.WriteDetectorReq.SerializeToString, + response_deserializer=facility_dot_detector_dot_detector__pb2.WriteDetectorResp.FromString, + ) + self.Update = channel.unary_unary( + '/dfs.facility.detector.DetectorSrv/Update', + request_serializer=facility_dot_detector_dot_detector__pb2.UpdateDetectorReq.SerializeToString, + response_deserializer=facility_dot_detector_dot_detector__pb2.UpdateDetectorResp.FromString, + ) + self.Delete = channel.unary_unary( + '/dfs.facility.detector.DetectorSrv/Delete', + request_serializer=facility_dot_detector_dot_detector__pb2.DeleteDetectorReq.SerializeToString, + response_deserializer=facility_dot_detector_dot_detector__pb2.DeleteDetectorResp.FromString, + ) + self.FindStatus = channel.unary_unary( + '/dfs.facility.detector.DetectorSrv/FindStatus', + request_serializer=facility_dot_detector_dot_detector__pb2.FindStatusReq.SerializeToString, + response_deserializer=facility_dot_detector_dot_detector__pb2.FindStatusResp.FromString, + ) + self.GetStatus = channel.unary_unary( + '/dfs.facility.detector.DetectorSrv/GetStatus', + request_serializer=facility_dot_detector_dot_detector__pb2.GetStatusReq.SerializeToString, + response_deserializer=facility_dot_detector_dot_detector__pb2.GetStatusResp.FromString, + ) + self.WriteStatus = channel.unary_unary( + '/dfs.facility.detector.DetectorSrv/WriteStatus', + request_serializer=facility_dot_detector_dot_detector__pb2.WriteStatusReq.SerializeToString, + response_deserializer=facility_dot_detector_dot_detector__pb2.WriteStatusResp.FromString, + ) class DetectorSrvServicer(object): - # missing associated documentation comment in .proto file - pass - - def Find(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Get(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Write(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Update(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Delete(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def FindStatus(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetStatus(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def WriteStatus(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + """Missing associated documentation comment in .proto file.""" + + def Find(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Get(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Write(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Update(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Delete(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def FindStatus(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetStatus(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def WriteStatus(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_DetectorSrvServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Find': grpc.unary_unary_rpc_method_handler( - servicer.Find, - request_deserializer=facility_dot_detector_dot_detector__pb2.FindDetectorReq.FromString, - response_serializer=facility_dot_detector_dot_detector__pb2.FindDetectorResp.SerializeToString, - ), - 'Get': grpc.unary_unary_rpc_method_handler( - servicer.Get, - request_deserializer=facility_dot_detector_dot_detector__pb2.GetDetectorReq.FromString, - response_serializer=facility_dot_detector_dot_detector__pb2.GetDetectorResp.SerializeToString, - ), - 'Write': grpc.unary_unary_rpc_method_handler( - servicer.Write, - request_deserializer=facility_dot_detector_dot_detector__pb2.WriteDetectorReq.FromString, - response_serializer=facility_dot_detector_dot_detector__pb2.WriteDetectorResp.SerializeToString, - ), - 'Update': grpc.unary_unary_rpc_method_handler( - servicer.Update, - request_deserializer=facility_dot_detector_dot_detector__pb2.UpdateDetectorReq.FromString, - response_serializer=facility_dot_detector_dot_detector__pb2.UpdateDetectorResp.SerializeToString, - ), - 'Delete': grpc.unary_unary_rpc_method_handler( - servicer.Delete, - request_deserializer=facility_dot_detector_dot_detector__pb2.DeleteDetectorReq.FromString, - response_serializer=facility_dot_detector_dot_detector__pb2.DeleteDetectorResp.SerializeToString, - ), - 'FindStatus': grpc.unary_unary_rpc_method_handler( - servicer.FindStatus, - request_deserializer=facility_dot_detector_dot_detector__pb2.FindStatusReq.FromString, - response_serializer=facility_dot_detector_dot_detector__pb2.FindStatusResp.SerializeToString, - ), - 'GetStatus': grpc.unary_unary_rpc_method_handler( - servicer.GetStatus, - request_deserializer=facility_dot_detector_dot_detector__pb2.GetStatusReq.FromString, - response_serializer=facility_dot_detector_dot_detector__pb2.GetStatusResp.SerializeToString, - ), - 'WriteStatus': grpc.unary_unary_rpc_method_handler( - servicer.WriteStatus, - request_deserializer=facility_dot_detector_dot_detector__pb2.WriteStatusReq.FromString, - response_serializer=facility_dot_detector_dot_detector__pb2.WriteStatusResp.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'dfs.facility.detector.DetectorSrv', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) + rpc_method_handlers = { + 'Find': grpc.unary_unary_rpc_method_handler( + servicer.Find, + request_deserializer=facility_dot_detector_dot_detector__pb2.FindDetectorReq.FromString, + response_serializer=facility_dot_detector_dot_detector__pb2.FindDetectorResp.SerializeToString, + ), + 'Get': grpc.unary_unary_rpc_method_handler( + servicer.Get, + request_deserializer=facility_dot_detector_dot_detector__pb2.GetDetectorReq.FromString, + response_serializer=facility_dot_detector_dot_detector__pb2.GetDetectorResp.SerializeToString, + ), + 'Write': grpc.unary_unary_rpc_method_handler( + servicer.Write, + request_deserializer=facility_dot_detector_dot_detector__pb2.WriteDetectorReq.FromString, + response_serializer=facility_dot_detector_dot_detector__pb2.WriteDetectorResp.SerializeToString, + ), + 'Update': grpc.unary_unary_rpc_method_handler( + servicer.Update, + request_deserializer=facility_dot_detector_dot_detector__pb2.UpdateDetectorReq.FromString, + response_serializer=facility_dot_detector_dot_detector__pb2.UpdateDetectorResp.SerializeToString, + ), + 'Delete': grpc.unary_unary_rpc_method_handler( + servicer.Delete, + request_deserializer=facility_dot_detector_dot_detector__pb2.DeleteDetectorReq.FromString, + response_serializer=facility_dot_detector_dot_detector__pb2.DeleteDetectorResp.SerializeToString, + ), + 'FindStatus': grpc.unary_unary_rpc_method_handler( + servicer.FindStatus, + request_deserializer=facility_dot_detector_dot_detector__pb2.FindStatusReq.FromString, + response_serializer=facility_dot_detector_dot_detector__pb2.FindStatusResp.SerializeToString, + ), + 'GetStatus': grpc.unary_unary_rpc_method_handler( + servicer.GetStatus, + request_deserializer=facility_dot_detector_dot_detector__pb2.GetStatusReq.FromString, + response_serializer=facility_dot_detector_dot_detector__pb2.GetStatusResp.SerializeToString, + ), + 'WriteStatus': grpc.unary_unary_rpc_method_handler( + servicer.WriteStatus, + request_deserializer=facility_dot_detector_dot_detector__pb2.WriteStatusReq.FromString, + response_serializer=facility_dot_detector_dot_detector__pb2.WriteStatusResp.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'dfs.facility.detector.DetectorSrv', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class DetectorSrv(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def Find(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.detector.DetectorSrv/Find', + facility_dot_detector_dot_detector__pb2.FindDetectorReq.SerializeToString, + facility_dot_detector_dot_detector__pb2.FindDetectorResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Get(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.detector.DetectorSrv/Get', + facility_dot_detector_dot_detector__pb2.GetDetectorReq.SerializeToString, + facility_dot_detector_dot_detector__pb2.GetDetectorResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Write(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.detector.DetectorSrv/Write', + facility_dot_detector_dot_detector__pb2.WriteDetectorReq.SerializeToString, + facility_dot_detector_dot_detector__pb2.WriteDetectorResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Update(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.detector.DetectorSrv/Update', + facility_dot_detector_dot_detector__pb2.UpdateDetectorReq.SerializeToString, + facility_dot_detector_dot_detector__pb2.UpdateDetectorResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Delete(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.detector.DetectorSrv/Delete', + facility_dot_detector_dot_detector__pb2.DeleteDetectorReq.SerializeToString, + facility_dot_detector_dot_detector__pb2.DeleteDetectorResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def FindStatus(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.detector.DetectorSrv/FindStatus', + facility_dot_detector_dot_detector__pb2.FindStatusReq.SerializeToString, + facility_dot_detector_dot_detector__pb2.FindStatusResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetStatus(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.detector.DetectorSrv/GetStatus', + facility_dot_detector_dot_detector__pb2.GetStatusReq.SerializeToString, + facility_dot_detector_dot_detector__pb2.GetStatusResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def WriteStatus(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.detector.DetectorSrv/WriteStatus', + facility_dot_detector_dot_detector__pb2.WriteStatusReq.SerializeToString, + facility_dot_detector_dot_detector__pb2.WriteStatusResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/csst_dfs_proto/facility/level0/level0_pb2.py b/csst_dfs_proto/facility/level0/level0_pb2.py index 2792921..8444212 100644 --- a/csst_dfs_proto/facility/level0/level0_pb2.py +++ b/csst_dfs_proto/facility/level0/level0_pb2.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: facility/level0/level0.proto - +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder 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 descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -14,1003 +14,44 @@ _sym_db = _symbol_database.Default() from ...common import error_pb2 as common_dot_error__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='facility/level0/level0.proto', - package='dfs.facility.level0', - syntax='proto3', - serialized_options=b'Z$cnlab.net/csst/proto/facility/level0', - serialized_pb=b'\n\x1c\x66\x61\x63ility/level0/level0.proto\x12\x13\x64\x66s.facility.level0\x1a\x12\x63ommon/error.proto\"\xdd\x02\n\x0cLevel0Record\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x0e\n\x06obs_id\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x04 \x01(\t\x12\x11\n\tmodule_id\x18\x05 \x01(\t\x12\x10\n\x08obs_type\x18\x06 \x01(\t\x12\x10\n\x08obs_time\x18\x07 \x01(\t\x12\x10\n\x08\x65xp_time\x18\x08 \x01(\x02\x12\x0e\n\x06\x66ilter\x18\t \x01(\t\x12\x1a\n\x12\x64\x65tector_status_id\x18\n \x01(\x03\x12\x10\n\x08\x66ilename\x18\x0b \x01(\t\x12\x11\n\tfile_path\x18\x0c \x01(\t\x12\x12\n\nqc0_status\x18\r \x01(\x05\x12\x10\n\x08qc0_time\x18\x0e \x01(\t\x12\x12\n\nprc_status\x18\x0f \x01(\x05\x12\x10\n\x08prc_time\x18\x10 \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x11 \x01(\t\x12\x0e\n\x06header\x18\x12 \x01(\t\"\xcb\x03\n\x11\x46indLevel0DataReq\x12\x0e\n\x06obs_id\x18\x01 \x01(\t\x12\x11\n\tmodule_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x03 \x01(\t\x12\x10\n\x08obs_type\x18\x04 \x01(\t\x12\x16\n\x0e\x65xp_time_start\x18\x05 \x01(\t\x12\x14\n\x0c\x65xp_time_end\x18\x06 \x01(\t\x12\x12\n\nqc0_status\x18\x07 \x01(\x05\x12\x12\n\nprc_status\x18\x08 \x01(\x05\x12\x11\n\tfile_name\x18\t \x01(\t\x12\x0e\n\x06ra_obj\x18\n \x01(\x02\x12\x0f\n\x07\x64\x65\x63_obj\x18\x0b \x01(\x02\x12\x0e\n\x06radius\x18\x0c \x01(\x02\x12\x13\n\x0bobject_name\x18\r \x01(\t\x12\x0e\n\x06\x66ilter\x18\x0e \x01(\t\x12\x0f\n\x07version\x18\x0f \x01(\t\x12\r\n\x05limit\x18\x10 \x01(\x05\x12U\n\x10other_conditions\x18\x11 \x03(\x0b\x32;.dfs.facility.level0.FindLevel0DataReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x8b\x01\n\x12\x46indLevel0DataResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x32\n\x07records\x18\x04 \x03(\x0b\x32!.dfs.facility.level0.Level0Record\"&\n\x11\x46indByBrickIdsReq\x12\x11\n\tbrick_ids\x18\x01 \x03(\x05\"w\n\x12\x46indByBrickIdsResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x32\n\x07records\x18\x03 \x03(\x0b\x32!.dfs.facility.level0.Level0Record\"C\n\x10GetLevel0DataReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x10\n\x08obs_type\x18\x03 \x01(\t\"F\n\x11GetLevel0DataResp\x12\x31\n\x06record\x18\x01 \x01(\x0b\x32!.dfs.facility.level0.Level0Record\"G\n\x12WriteLevel0DataReq\x12\x31\n\x06record\x18\x01 \x01(\x0b\x32!.dfs.facility.level0.Level0Record\"w\n\x13WriteLevel0DataResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x31\n\x06record\x18\x03 \x01(\x0b\x32!.dfs.facility.level0.Level0Record\"U\n\x12UpdateQc0StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x10\n\x08obs_type\x18\x03 \x01(\t\x12\x0e\n\x06status\x18\x04 \x01(\x05\"D\n\x13UpdateQc0StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"V\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x10\n\x08obs_type\x18\x03 \x01(\t\x12\x0e\n\x06status\x18\x04 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xd4\x04\n\tLevel0Srv\x12Y\n\x04\x46ind\x12&.dfs.facility.level0.FindLevel0DataReq\x1a\'.dfs.facility.level0.FindLevel0DataResp\"\x00\x12\x63\n\x0e\x46indByBrickIds\x12&.dfs.facility.level0.FindByBrickIdsReq\x1a\'.dfs.facility.level0.FindByBrickIdsResp\"\x00\x12V\n\x03Get\x12%.dfs.facility.level0.GetLevel0DataReq\x1a&.dfs.facility.level0.GetLevel0DataResp\"\x00\x12\\\n\x05Write\x12\'.dfs.facility.level0.WriteLevel0DataReq\x1a(.dfs.facility.level0.WriteLevel0DataResp\"\x00\x12\x66\n\x0fUpdateQc0Status\x12\'.dfs.facility.level0.UpdateQc0StatusReq\x1a(.dfs.facility.level0.UpdateQc0StatusResp\"\x00\x12i\n\x10UpdateProcStatus\x12(.dfs.facility.level0.UpdateProcStatusReq\x1a).dfs.facility.level0.UpdateProcStatusResp\"\x00\x42&Z$cnlab.net/csst/proto/facility/level0b\x06proto3' - , - dependencies=[common_dot_error__pb2.DESCRIPTOR,]) - - - - -_LEVEL0RECORD = _descriptor.Descriptor( - name='Level0Record', - full_name='dfs.facility.level0.Level0Record', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level0.Level0Record.id', 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), - _descriptor.FieldDescriptor( - name='level0_id', full_name='dfs.facility.level0.Level0Record.level0_id', 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), - _descriptor.FieldDescriptor( - name='obs_id', full_name='dfs.facility.level0.Level0Record.obs_id', index=2, - number=3, 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='detector_no', full_name='dfs.facility.level0.Level0Record.detector_no', index=3, - number=4, 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='module_id', full_name='dfs.facility.level0.Level0Record.module_id', index=4, - number=5, 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='obs_type', full_name='dfs.facility.level0.Level0Record.obs_type', index=5, - number=6, 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='obs_time', full_name='dfs.facility.level0.Level0Record.obs_time', index=6, - number=7, 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='exp_time', full_name='dfs.facility.level0.Level0Record.exp_time', index=7, - number=8, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='filter', full_name='dfs.facility.level0.Level0Record.filter', index=8, - number=9, 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='detector_status_id', full_name='dfs.facility.level0.Level0Record.detector_status_id', index=9, - number=10, 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), - _descriptor.FieldDescriptor( - name='filename', full_name='dfs.facility.level0.Level0Record.filename', index=10, - number=11, 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='file_path', full_name='dfs.facility.level0.Level0Record.file_path', index=11, - number=12, 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='qc0_status', full_name='dfs.facility.level0.Level0Record.qc0_status', index=12, - number=13, type=5, cpp_type=1, 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='qc0_time', full_name='dfs.facility.level0.Level0Record.qc0_time', index=13, - number=14, 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='prc_status', full_name='dfs.facility.level0.Level0Record.prc_status', index=14, - number=15, type=5, cpp_type=1, 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='prc_time', full_name='dfs.facility.level0.Level0Record.prc_time', index=15, - number=16, 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='create_time', full_name='dfs.facility.level0.Level0Record.create_time', index=16, - number=17, 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='header', full_name='dfs.facility.level0.Level0Record.header', index=17, - number=18, 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=74, - serialized_end=423, -) - - -_FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor( - name='OtherConditionsEntry', - full_name='dfs.facility.level0.FindLevel0DataReq.OtherConditionsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dfs.facility.level0.FindLevel0DataReq.OtherConditionsEntry.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.facility.level0.FindLevel0DataReq.OtherConditionsEntry.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=831, - serialized_end=885, -) - -_FINDLEVEL0DATAREQ = _descriptor.Descriptor( - name='FindLevel0DataReq', - full_name='dfs.facility.level0.FindLevel0DataReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='obs_id', full_name='dfs.facility.level0.FindLevel0DataReq.obs_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='module_id', full_name='dfs.facility.level0.FindLevel0DataReq.module_id', 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), - _descriptor.FieldDescriptor( - name='detector_no', full_name='dfs.facility.level0.FindLevel0DataReq.detector_no', index=2, - number=3, 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='obs_type', full_name='dfs.facility.level0.FindLevel0DataReq.obs_type', index=3, - number=4, 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='exp_time_start', full_name='dfs.facility.level0.FindLevel0DataReq.exp_time_start', index=4, - number=5, 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='exp_time_end', full_name='dfs.facility.level0.FindLevel0DataReq.exp_time_end', index=5, - number=6, 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='qc0_status', full_name='dfs.facility.level0.FindLevel0DataReq.qc0_status', index=6, - number=7, type=5, cpp_type=1, 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='prc_status', full_name='dfs.facility.level0.FindLevel0DataReq.prc_status', index=7, - number=8, type=5, cpp_type=1, 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='file_name', full_name='dfs.facility.level0.FindLevel0DataReq.file_name', index=8, - number=9, 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='ra_obj', full_name='dfs.facility.level0.FindLevel0DataReq.ra_obj', index=9, - number=10, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='dec_obj', full_name='dfs.facility.level0.FindLevel0DataReq.dec_obj', index=10, - number=11, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='radius', full_name='dfs.facility.level0.FindLevel0DataReq.radius', index=11, - number=12, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='object_name', full_name='dfs.facility.level0.FindLevel0DataReq.object_name', index=12, - number=13, 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='filter', full_name='dfs.facility.level0.FindLevel0DataReq.filter', index=13, - number=14, 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='version', full_name='dfs.facility.level0.FindLevel0DataReq.version', index=14, - number=15, 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='limit', full_name='dfs.facility.level0.FindLevel0DataReq.limit', index=15, - number=16, type=5, cpp_type=1, 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='other_conditions', full_name='dfs.facility.level0.FindLevel0DataReq.other_conditions', index=16, - number=17, 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=[_FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=426, - serialized_end=885, -) - - -_FINDLEVEL0DATARESP = _descriptor.Descriptor( - name='FindLevel0DataResp', - full_name='dfs.facility.level0.FindLevel0DataResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level0.FindLevel0DataResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.facility.level0.FindLevel0DataResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.facility.level0.FindLevel0DataResp.error', 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='records', full_name='dfs.facility.level0.FindLevel0DataResp.records', index=3, - number=4, 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=888, - serialized_end=1027, -) - - -_FINDBYBRICKIDSREQ = _descriptor.Descriptor( - name='FindByBrickIdsReq', - full_name='dfs.facility.level0.FindByBrickIdsReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='brick_ids', full_name='dfs.facility.level0.FindByBrickIdsReq.brick_ids', index=0, - number=1, type=5, cpp_type=1, 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=1029, - serialized_end=1067, -) - - -_FINDBYBRICKIDSRESP = _descriptor.Descriptor( - name='FindByBrickIdsResp', - full_name='dfs.facility.level0.FindByBrickIdsResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level0.FindByBrickIdsResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level0.FindByBrickIdsResp.error', 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='records', full_name='dfs.facility.level0.FindByBrickIdsResp.records', index=2, - number=3, 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=1069, - serialized_end=1188, -) - - -_GETLEVEL0DATAREQ = _descriptor.Descriptor( - name='GetLevel0DataReq', - full_name='dfs.facility.level0.GetLevel0DataReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level0.GetLevel0DataReq.id', 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), - _descriptor.FieldDescriptor( - name='level0_id', full_name='dfs.facility.level0.GetLevel0DataReq.level0_id', 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), - _descriptor.FieldDescriptor( - name='obs_type', full_name='dfs.facility.level0.GetLevel0DataReq.obs_type', index=2, - number=3, 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1190, - serialized_end=1257, -) - - -_GETLEVEL0DATARESP = _descriptor.Descriptor( - name='GetLevel0DataResp', - full_name='dfs.facility.level0.GetLevel0DataResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level0.GetLevel0DataResp.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1259, - serialized_end=1329, -) - - -_WRITELEVEL0DATAREQ = _descriptor.Descriptor( - name='WriteLevel0DataReq', - full_name='dfs.facility.level0.WriteLevel0DataReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level0.WriteLevel0DataReq.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1331, - serialized_end=1402, -) - - -_WRITELEVEL0DATARESP = _descriptor.Descriptor( - name='WriteLevel0DataResp', - full_name='dfs.facility.level0.WriteLevel0DataResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level0.WriteLevel0DataResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level0.WriteLevel0DataResp.error', 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='record', full_name='dfs.facility.level0.WriteLevel0DataResp.record', 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1404, - serialized_end=1523, -) - - -_UPDATEQC0STATUSREQ = _descriptor.Descriptor( - name='UpdateQc0StatusReq', - full_name='dfs.facility.level0.UpdateQc0StatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level0.UpdateQc0StatusReq.id', 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), - _descriptor.FieldDescriptor( - name='level0_id', full_name='dfs.facility.level0.UpdateQc0StatusReq.level0_id', 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), - _descriptor.FieldDescriptor( - name='obs_type', full_name='dfs.facility.level0.UpdateQc0StatusReq.obs_type', index=2, - number=3, 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='status', full_name='dfs.facility.level0.UpdateQc0StatusReq.status', index=3, - number=4, type=5, cpp_type=1, 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=1525, - serialized_end=1610, -) - - -_UPDATEQC0STATUSRESP = _descriptor.Descriptor( - name='UpdateQc0StatusResp', - full_name='dfs.facility.level0.UpdateQc0StatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level0.UpdateQc0StatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level0.UpdateQc0StatusResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1612, - serialized_end=1680, -) - - -_UPDATEPROCSTATUSREQ = _descriptor.Descriptor( - name='UpdateProcStatusReq', - full_name='dfs.facility.level0.UpdateProcStatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level0.UpdateProcStatusReq.id', 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), - _descriptor.FieldDescriptor( - name='level0_id', full_name='dfs.facility.level0.UpdateProcStatusReq.level0_id', 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), - _descriptor.FieldDescriptor( - name='obs_type', full_name='dfs.facility.level0.UpdateProcStatusReq.obs_type', index=2, - number=3, 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='status', full_name='dfs.facility.level0.UpdateProcStatusReq.status', index=3, - number=4, type=5, cpp_type=1, 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=1682, - serialized_end=1768, -) - - -_UPDATEPROCSTATUSRESP = _descriptor.Descriptor( - name='UpdateProcStatusResp', - full_name='dfs.facility.level0.UpdateProcStatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level0.UpdateProcStatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level0.UpdateProcStatusResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1770, - serialized_end=1839, -) - -_FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL0DATAREQ -_FINDLEVEL0DATAREQ.fields_by_name['other_conditions'].message_type = _FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY -_FINDLEVEL0DATARESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDLEVEL0DATARESP.fields_by_name['records'].message_type = _LEVEL0RECORD -_FINDBYBRICKIDSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDBYBRICKIDSRESP.fields_by_name['records'].message_type = _LEVEL0RECORD -_GETLEVEL0DATARESP.fields_by_name['record'].message_type = _LEVEL0RECORD -_WRITELEVEL0DATAREQ.fields_by_name['record'].message_type = _LEVEL0RECORD -_WRITELEVEL0DATARESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_WRITELEVEL0DATARESP.fields_by_name['record'].message_type = _LEVEL0RECORD -_UPDATEQC0STATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -DESCRIPTOR.message_types_by_name['Level0Record'] = _LEVEL0RECORD -DESCRIPTOR.message_types_by_name['FindLevel0DataReq'] = _FINDLEVEL0DATAREQ -DESCRIPTOR.message_types_by_name['FindLevel0DataResp'] = _FINDLEVEL0DATARESP -DESCRIPTOR.message_types_by_name['FindByBrickIdsReq'] = _FINDBYBRICKIDSREQ -DESCRIPTOR.message_types_by_name['FindByBrickIdsResp'] = _FINDBYBRICKIDSRESP -DESCRIPTOR.message_types_by_name['GetLevel0DataReq'] = _GETLEVEL0DATAREQ -DESCRIPTOR.message_types_by_name['GetLevel0DataResp'] = _GETLEVEL0DATARESP -DESCRIPTOR.message_types_by_name['WriteLevel0DataReq'] = _WRITELEVEL0DATAREQ -DESCRIPTOR.message_types_by_name['WriteLevel0DataResp'] = _WRITELEVEL0DATARESP -DESCRIPTOR.message_types_by_name['UpdateQc0StatusReq'] = _UPDATEQC0STATUSREQ -DESCRIPTOR.message_types_by_name['UpdateQc0StatusResp'] = _UPDATEQC0STATUSRESP -DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ -DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Level0Record = _reflection.GeneratedProtocolMessageType('Level0Record', (_message.Message,), { - 'DESCRIPTOR' : _LEVEL0RECORD, - '__module__' : 'facility.level0.level0_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0.Level0Record) - }) -_sym_db.RegisterMessage(Level0Record) - -FindLevel0DataReq = _reflection.GeneratedProtocolMessageType('FindLevel0DataReq', (_message.Message,), { - - 'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY, - '__module__' : 'facility.level0.level0_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0.FindLevel0DataReq.OtherConditionsEntry) - }) - , - 'DESCRIPTOR' : _FINDLEVEL0DATAREQ, - '__module__' : 'facility.level0.level0_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0.FindLevel0DataReq) - }) -_sym_db.RegisterMessage(FindLevel0DataReq) -_sym_db.RegisterMessage(FindLevel0DataReq.OtherConditionsEntry) - -FindLevel0DataResp = _reflection.GeneratedProtocolMessageType('FindLevel0DataResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL0DATARESP, - '__module__' : 'facility.level0.level0_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0.FindLevel0DataResp) - }) -_sym_db.RegisterMessage(FindLevel0DataResp) - -FindByBrickIdsReq = _reflection.GeneratedProtocolMessageType('FindByBrickIdsReq', (_message.Message,), { - 'DESCRIPTOR' : _FINDBYBRICKIDSREQ, - '__module__' : 'facility.level0.level0_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0.FindByBrickIdsReq) - }) -_sym_db.RegisterMessage(FindByBrickIdsReq) - -FindByBrickIdsResp = _reflection.GeneratedProtocolMessageType('FindByBrickIdsResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDBYBRICKIDSRESP, - '__module__' : 'facility.level0.level0_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0.FindByBrickIdsResp) - }) -_sym_db.RegisterMessage(FindByBrickIdsResp) - -GetLevel0DataReq = _reflection.GeneratedProtocolMessageType('GetLevel0DataReq', (_message.Message,), { - 'DESCRIPTOR' : _GETLEVEL0DATAREQ, - '__module__' : 'facility.level0.level0_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0.GetLevel0DataReq) - }) -_sym_db.RegisterMessage(GetLevel0DataReq) - -GetLevel0DataResp = _reflection.GeneratedProtocolMessageType('GetLevel0DataResp', (_message.Message,), { - 'DESCRIPTOR' : _GETLEVEL0DATARESP, - '__module__' : 'facility.level0.level0_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0.GetLevel0DataResp) - }) -_sym_db.RegisterMessage(GetLevel0DataResp) - -WriteLevel0DataReq = _reflection.GeneratedProtocolMessageType('WriteLevel0DataReq', (_message.Message,), { - 'DESCRIPTOR' : _WRITELEVEL0DATAREQ, - '__module__' : 'facility.level0.level0_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0.WriteLevel0DataReq) - }) -_sym_db.RegisterMessage(WriteLevel0DataReq) - -WriteLevel0DataResp = _reflection.GeneratedProtocolMessageType('WriteLevel0DataResp', (_message.Message,), { - 'DESCRIPTOR' : _WRITELEVEL0DATARESP, - '__module__' : 'facility.level0.level0_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0.WriteLevel0DataResp) - }) -_sym_db.RegisterMessage(WriteLevel0DataResp) - -UpdateQc0StatusReq = _reflection.GeneratedProtocolMessageType('UpdateQc0StatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEQC0STATUSREQ, - '__module__' : 'facility.level0.level0_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0.UpdateQc0StatusReq) - }) -_sym_db.RegisterMessage(UpdateQc0StatusReq) - -UpdateQc0StatusResp = _reflection.GeneratedProtocolMessageType('UpdateQc0StatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEQC0STATUSRESP, - '__module__' : 'facility.level0.level0_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0.UpdateQc0StatusResp) - }) -_sym_db.RegisterMessage(UpdateQc0StatusResp) - -UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSREQ, - '__module__' : 'facility.level0.level0_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0.UpdateProcStatusReq) - }) -_sym_db.RegisterMessage(UpdateProcStatusReq) - -UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSRESP, - '__module__' : 'facility.level0.level0_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0.UpdateProcStatusResp) - }) -_sym_db.RegisterMessage(UpdateProcStatusResp) - - -DESCRIPTOR._options = None -_FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY._options = None - -_LEVEL0SRV = _descriptor.ServiceDescriptor( - name='Level0Srv', - full_name='dfs.facility.level0.Level0Srv', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=1842, - serialized_end=2438, - methods=[ - _descriptor.MethodDescriptor( - name='Find', - full_name='dfs.facility.level0.Level0Srv.Find', - index=0, - containing_service=None, - input_type=_FINDLEVEL0DATAREQ, - output_type=_FINDLEVEL0DATARESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='FindByBrickIds', - full_name='dfs.facility.level0.Level0Srv.FindByBrickIds', - index=1, - containing_service=None, - input_type=_FINDBYBRICKIDSREQ, - output_type=_FINDBYBRICKIDSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Get', - full_name='dfs.facility.level0.Level0Srv.Get', - index=2, - containing_service=None, - input_type=_GETLEVEL0DATAREQ, - output_type=_GETLEVEL0DATARESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Write', - full_name='dfs.facility.level0.Level0Srv.Write', - index=3, - containing_service=None, - input_type=_WRITELEVEL0DATAREQ, - output_type=_WRITELEVEL0DATARESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateQc0Status', - full_name='dfs.facility.level0.Level0Srv.UpdateQc0Status', - index=4, - containing_service=None, - input_type=_UPDATEQC0STATUSREQ, - output_type=_UPDATEQC0STATUSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateProcStatus', - full_name='dfs.facility.level0.Level0Srv.UpdateProcStatus', - index=5, - containing_service=None, - input_type=_UPDATEPROCSTATUSREQ, - output_type=_UPDATEPROCSTATUSRESP, - serialized_options=None, - ), -]) -_sym_db.RegisterServiceDescriptor(_LEVEL0SRV) - -DESCRIPTOR.services_by_name['Level0Srv'] = _LEVEL0SRV - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66\x61\x63ility/level0/level0.proto\x12\x13\x64\x66s.facility.level0\x1a\x12\x63ommon/error.proto\"\xdd\x02\n\x0cLevel0Record\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x0e\n\x06obs_id\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x04 \x01(\t\x12\x11\n\tmodule_id\x18\x05 \x01(\t\x12\x10\n\x08obs_type\x18\x06 \x01(\t\x12\x10\n\x08obs_time\x18\x07 \x01(\t\x12\x10\n\x08\x65xp_time\x18\x08 \x01(\x02\x12\x0e\n\x06\x66ilter\x18\t \x01(\t\x12\x1a\n\x12\x64\x65tector_status_id\x18\n \x01(\x03\x12\x10\n\x08\x66ilename\x18\x0b \x01(\t\x12\x11\n\tfile_path\x18\x0c \x01(\t\x12\x12\n\nqc0_status\x18\r \x01(\x05\x12\x10\n\x08qc0_time\x18\x0e \x01(\t\x12\x12\n\nprc_status\x18\x0f \x01(\x05\x12\x10\n\x08prc_time\x18\x10 \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x11 \x01(\t\x12\x0e\n\x06header\x18\x12 \x01(\t\"\xcb\x03\n\x11\x46indLevel0DataReq\x12\x0e\n\x06obs_id\x18\x01 \x01(\t\x12\x11\n\tmodule_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x03 \x01(\t\x12\x10\n\x08obs_type\x18\x04 \x01(\t\x12\x16\n\x0e\x65xp_time_start\x18\x05 \x01(\t\x12\x14\n\x0c\x65xp_time_end\x18\x06 \x01(\t\x12\x12\n\nqc0_status\x18\x07 \x01(\x05\x12\x12\n\nprc_status\x18\x08 \x01(\x05\x12\x11\n\tfile_name\x18\t \x01(\t\x12\x0e\n\x06ra_obj\x18\n \x01(\x02\x12\x0f\n\x07\x64\x65\x63_obj\x18\x0b \x01(\x02\x12\x0e\n\x06radius\x18\x0c \x01(\x02\x12\x13\n\x0bobject_name\x18\r \x01(\t\x12\x0e\n\x06\x66ilter\x18\x0e \x01(\t\x12\x0f\n\x07version\x18\x0f \x01(\t\x12\r\n\x05limit\x18\x10 \x01(\x05\x12U\n\x10other_conditions\x18\x11 \x03(\x0b\x32;.dfs.facility.level0.FindLevel0DataReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x8b\x01\n\x12\x46indLevel0DataResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x32\n\x07records\x18\x04 \x03(\x0b\x32!.dfs.facility.level0.Level0Record\"&\n\x11\x46indByBrickIdsReq\x12\x11\n\tbrick_ids\x18\x01 \x03(\x05\"w\n\x12\x46indByBrickIdsResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x32\n\x07records\x18\x03 \x03(\x0b\x32!.dfs.facility.level0.Level0Record\"C\n\x10GetLevel0DataReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x10\n\x08obs_type\x18\x03 \x01(\t\"F\n\x11GetLevel0DataResp\x12\x31\n\x06record\x18\x01 \x01(\x0b\x32!.dfs.facility.level0.Level0Record\"G\n\x12WriteLevel0DataReq\x12\x31\n\x06record\x18\x01 \x01(\x0b\x32!.dfs.facility.level0.Level0Record\"w\n\x13WriteLevel0DataResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x31\n\x06record\x18\x03 \x01(\x0b\x32!.dfs.facility.level0.Level0Record\"U\n\x12UpdateQc0StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x10\n\x08obs_type\x18\x03 \x01(\t\x12\x0e\n\x06status\x18\x04 \x01(\x05\"D\n\x13UpdateQc0StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"V\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x10\n\x08obs_type\x18\x03 \x01(\t\x12\x0e\n\x06status\x18\x04 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xd4\x04\n\tLevel0Srv\x12Y\n\x04\x46ind\x12&.dfs.facility.level0.FindLevel0DataReq\x1a\'.dfs.facility.level0.FindLevel0DataResp\"\x00\x12\x63\n\x0e\x46indByBrickIds\x12&.dfs.facility.level0.FindByBrickIdsReq\x1a\'.dfs.facility.level0.FindByBrickIdsResp\"\x00\x12V\n\x03Get\x12%.dfs.facility.level0.GetLevel0DataReq\x1a&.dfs.facility.level0.GetLevel0DataResp\"\x00\x12\\\n\x05Write\x12\'.dfs.facility.level0.WriteLevel0DataReq\x1a(.dfs.facility.level0.WriteLevel0DataResp\"\x00\x12\x66\n\x0fUpdateQc0Status\x12\'.dfs.facility.level0.UpdateQc0StatusReq\x1a(.dfs.facility.level0.UpdateQc0StatusResp\"\x00\x12i\n\x10UpdateProcStatus\x12(.dfs.facility.level0.UpdateProcStatusReq\x1a).dfs.facility.level0.UpdateProcStatusResp\"\x00\x42&Z$cnlab.net/csst/proto/facility/level0b\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'facility.level0.level0_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z$cnlab.net/csst/proto/facility/level0' + _FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY._options = None + _FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY._serialized_options = b'8\001' + _LEVEL0RECORD._serialized_start=74 + _LEVEL0RECORD._serialized_end=423 + _FINDLEVEL0DATAREQ._serialized_start=426 + _FINDLEVEL0DATAREQ._serialized_end=885 + _FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY._serialized_start=831 + _FINDLEVEL0DATAREQ_OTHERCONDITIONSENTRY._serialized_end=885 + _FINDLEVEL0DATARESP._serialized_start=888 + _FINDLEVEL0DATARESP._serialized_end=1027 + _FINDBYBRICKIDSREQ._serialized_start=1029 + _FINDBYBRICKIDSREQ._serialized_end=1067 + _FINDBYBRICKIDSRESP._serialized_start=1069 + _FINDBYBRICKIDSRESP._serialized_end=1188 + _GETLEVEL0DATAREQ._serialized_start=1190 + _GETLEVEL0DATAREQ._serialized_end=1257 + _GETLEVEL0DATARESP._serialized_start=1259 + _GETLEVEL0DATARESP._serialized_end=1329 + _WRITELEVEL0DATAREQ._serialized_start=1331 + _WRITELEVEL0DATAREQ._serialized_end=1402 + _WRITELEVEL0DATARESP._serialized_start=1404 + _WRITELEVEL0DATARESP._serialized_end=1523 + _UPDATEQC0STATUSREQ._serialized_start=1525 + _UPDATEQC0STATUSREQ._serialized_end=1610 + _UPDATEQC0STATUSRESP._serialized_start=1612 + _UPDATEQC0STATUSRESP._serialized_end=1680 + _UPDATEPROCSTATUSREQ._serialized_start=1682 + _UPDATEPROCSTATUSREQ._serialized_end=1768 + _UPDATEPROCSTATUSRESP._serialized_start=1770 + _UPDATEPROCSTATUSRESP._serialized_end=1839 + _LEVEL0SRV._serialized_start=1842 + _LEVEL0SRV._serialized_end=2438 # @@protoc_insertion_point(module_scope) diff --git a/csst_dfs_proto/facility/level0/level0_pb2_grpc.py b/csst_dfs_proto/facility/level0/level0_pb2_grpc.py index 655f706..05c699e 100644 --- a/csst_dfs_proto/facility/level0/level0_pb2_grpc.py +++ b/csst_dfs_proto/facility/level0/level0_pb2_grpc.py @@ -1,11 +1,12 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from . import level0_pb2 as facility_dot_level0_dot_level0__pb2 class Level0SrvStub(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def __init__(self, channel): """Constructor. @@ -46,40 +47,40 @@ class Level0SrvStub(object): class Level0SrvServicer(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def Find(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def FindByBrickIds(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Get(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Write(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateQc0Status(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateProcStatus(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') @@ -125,7 +126,7 @@ def add_Level0SrvServicer_to_server(servicer, server): # This class is part of an EXPERIMENTAL API. class Level0Srv(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" @staticmethod def Find(request, @@ -133,6 +134,7 @@ class Level0Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -141,7 +143,7 @@ class Level0Srv(object): facility_dot_level0_dot_level0__pb2.FindLevel0DataReq.SerializeToString, facility_dot_level0_dot_level0__pb2.FindLevel0DataResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FindByBrickIds(request, @@ -149,6 +151,7 @@ class Level0Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -157,7 +160,7 @@ class Level0Srv(object): facility_dot_level0_dot_level0__pb2.FindByBrickIdsReq.SerializeToString, facility_dot_level0_dot_level0__pb2.FindByBrickIdsResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Get(request, @@ -165,6 +168,7 @@ class Level0Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -173,7 +177,7 @@ class Level0Srv(object): facility_dot_level0_dot_level0__pb2.GetLevel0DataReq.SerializeToString, facility_dot_level0_dot_level0__pb2.GetLevel0DataResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Write(request, @@ -181,6 +185,7 @@ class Level0Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -189,7 +194,7 @@ class Level0Srv(object): facility_dot_level0_dot_level0__pb2.WriteLevel0DataReq.SerializeToString, facility_dot_level0_dot_level0__pb2.WriteLevel0DataResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateQc0Status(request, @@ -197,6 +202,7 @@ class Level0Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -205,7 +211,7 @@ class Level0Srv(object): facility_dot_level0_dot_level0__pb2.UpdateQc0StatusReq.SerializeToString, facility_dot_level0_dot_level0__pb2.UpdateQc0StatusResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateProcStatus(request, @@ -213,6 +219,7 @@ class Level0Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -221,4 +228,4 @@ class Level0Srv(object): facility_dot_level0_dot_level0__pb2.UpdateProcStatusReq.SerializeToString, facility_dot_level0_dot_level0__pb2.UpdateProcStatusResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/csst_dfs_proto/facility/level0prc/level0prc_pb2.py b/csst_dfs_proto/facility/level0prc/level0prc_pb2.py index 1be362f..c24c3a4 100644 --- a/csst_dfs_proto/facility/level0prc/level0prc_pb2.py +++ b/csst_dfs_proto/facility/level0prc/level0prc_pb2.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: facility/level0prc/level0prc.proto - +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder 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 descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -14,514 +14,32 @@ _sym_db = _symbol_database.Default() from ...common import error_pb2 as common_dot_error__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='facility/level0prc/level0prc.proto', - package='dfs.facility.level0prc', - syntax='proto3', - serialized_options=b'Z\'cnlab.net/csst/proto/facility/level0prc', - serialized_pb=b'\n\"facility/level0prc/level0prc.proto\x12\x16\x64\x66s.facility.level0prc\x1a\x12\x63ommon/error.proto\"\xb3\x01\n\x0fLevel0PrcRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x13\n\x0bpipeline_id\x18\x03 \x01(\t\x12\x12\n\nprc_module\x18\x04 \x01(\t\x12\x18\n\x10params_file_path\x18\x05 \x01(\t\x12\x12\n\nprc_status\x18\x06 \x01(\x05\x12\x10\n\x08prc_time\x18\x07 \x01(\t\x12\x18\n\x10result_file_path\x18\x08 \x01(\t\"\xf3\x01\n\x10\x46indLevel0PrcReq\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x13\n\x0bpipeline_id\x18\x02 \x01(\t\x12\x12\n\nprc_module\x18\x03 \x01(\t\x12\x12\n\nprc_status\x18\x04 \x01(\x05\x12W\n\x10other_conditions\x18\x05 \x03(\x0b\x32=.dfs.facility.level0prc.FindLevel0PrcReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x90\x01\n\x11\x46indLevel0PrcResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x38\n\x07records\x18\x04 \x03(\x0b\x32\'.dfs.facility.level0prc.Level0PrcRecord\"L\n\x11WriteLevel0PrcReq\x12\x37\n\x06record\x18\x01 \x01(\x0b\x32\'.dfs.facility.level0prc.Level0PrcRecord\"|\n\x12WriteLevel0PrcResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x37\n\x06record\x18\x03 \x01(\x0b\x32\'.dfs.facility.level0prc.Level0PrcRecord\"1\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xc0\x02\n\x0cLevel0PrcSrv\x12]\n\x04\x46ind\x12(.dfs.facility.level0prc.FindLevel0PrcReq\x1a).dfs.facility.level0prc.FindLevel0PrcResp\"\x00\x12`\n\x05Write\x12).dfs.facility.level0prc.WriteLevel0PrcReq\x1a*.dfs.facility.level0prc.WriteLevel0PrcResp\"\x00\x12o\n\x10UpdateProcStatus\x12+.dfs.facility.level0prc.UpdateProcStatusReq\x1a,.dfs.facility.level0prc.UpdateProcStatusResp\"\x00\x42)Z\'cnlab.net/csst/proto/facility/level0prcb\x06proto3' - , - dependencies=[common_dot_error__pb2.DESCRIPTOR,]) - - - - -_LEVEL0PRCRECORD = _descriptor.Descriptor( - name='Level0PrcRecord', - full_name='dfs.facility.level0prc.Level0PrcRecord', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level0prc.Level0PrcRecord.id', 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), - _descriptor.FieldDescriptor( - name='level0_id', full_name='dfs.facility.level0prc.Level0PrcRecord.level0_id', 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), - _descriptor.FieldDescriptor( - name='pipeline_id', full_name='dfs.facility.level0prc.Level0PrcRecord.pipeline_id', index=2, - number=3, 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='prc_module', full_name='dfs.facility.level0prc.Level0PrcRecord.prc_module', index=3, - number=4, 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='params_file_path', full_name='dfs.facility.level0prc.Level0PrcRecord.params_file_path', index=4, - number=5, 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='prc_status', full_name='dfs.facility.level0prc.Level0PrcRecord.prc_status', index=5, - number=6, type=5, cpp_type=1, 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='prc_time', full_name='dfs.facility.level0prc.Level0PrcRecord.prc_time', index=6, - number=7, 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='result_file_path', full_name='dfs.facility.level0prc.Level0PrcRecord.result_file_path', index=7, - number=8, 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=83, - serialized_end=262, -) - - -_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor( - name='OtherConditionsEntry', - full_name='dfs.facility.level0prc.FindLevel0PrcReq.OtherConditionsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dfs.facility.level0prc.FindLevel0PrcReq.OtherConditionsEntry.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.facility.level0prc.FindLevel0PrcReq.OtherConditionsEntry.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=454, - serialized_end=508, -) - -_FINDLEVEL0PRCREQ = _descriptor.Descriptor( - name='FindLevel0PrcReq', - full_name='dfs.facility.level0prc.FindLevel0PrcReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='level0_id', full_name='dfs.facility.level0prc.FindLevel0PrcReq.level0_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='pipeline_id', full_name='dfs.facility.level0prc.FindLevel0PrcReq.pipeline_id', 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), - _descriptor.FieldDescriptor( - name='prc_module', full_name='dfs.facility.level0prc.FindLevel0PrcReq.prc_module', index=2, - number=3, 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='prc_status', full_name='dfs.facility.level0prc.FindLevel0PrcReq.prc_status', index=3, - number=4, type=5, cpp_type=1, 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='other_conditions', full_name='dfs.facility.level0prc.FindLevel0PrcReq.other_conditions', 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), - ], - extensions=[ - ], - nested_types=[_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=265, - serialized_end=508, -) - - -_FINDLEVEL0PRCRESP = _descriptor.Descriptor( - name='FindLevel0PrcResp', - full_name='dfs.facility.level0prc.FindLevel0PrcResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level0prc.FindLevel0PrcResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.facility.level0prc.FindLevel0PrcResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.facility.level0prc.FindLevel0PrcResp.error', 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='records', full_name='dfs.facility.level0prc.FindLevel0PrcResp.records', index=3, - number=4, 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=511, - serialized_end=655, -) - - -_WRITELEVEL0PRCREQ = _descriptor.Descriptor( - name='WriteLevel0PrcReq', - full_name='dfs.facility.level0prc.WriteLevel0PrcReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level0prc.WriteLevel0PrcReq.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=657, - serialized_end=733, -) - - -_WRITELEVEL0PRCRESP = _descriptor.Descriptor( - name='WriteLevel0PrcResp', - full_name='dfs.facility.level0prc.WriteLevel0PrcResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level0prc.WriteLevel0PrcResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level0prc.WriteLevel0PrcResp.error', 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='record', full_name='dfs.facility.level0prc.WriteLevel0PrcResp.record', 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=735, - serialized_end=859, -) - - -_UPDATEPROCSTATUSREQ = _descriptor.Descriptor( - name='UpdateProcStatusReq', - full_name='dfs.facility.level0prc.UpdateProcStatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level0prc.UpdateProcStatusReq.id', 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), - _descriptor.FieldDescriptor( - name='status', full_name='dfs.facility.level0prc.UpdateProcStatusReq.status', index=1, - number=2, type=5, cpp_type=1, 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=861, - serialized_end=910, -) - - -_UPDATEPROCSTATUSRESP = _descriptor.Descriptor( - name='UpdateProcStatusResp', - full_name='dfs.facility.level0prc.UpdateProcStatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level0prc.UpdateProcStatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level0prc.UpdateProcStatusResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=912, - serialized_end=981, -) - -_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL0PRCREQ -_FINDLEVEL0PRCREQ.fields_by_name['other_conditions'].message_type = _FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY -_FINDLEVEL0PRCRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDLEVEL0PRCRESP.fields_by_name['records'].message_type = _LEVEL0PRCRECORD -_WRITELEVEL0PRCREQ.fields_by_name['record'].message_type = _LEVEL0PRCRECORD -_WRITELEVEL0PRCRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_WRITELEVEL0PRCRESP.fields_by_name['record'].message_type = _LEVEL0PRCRECORD -_UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -DESCRIPTOR.message_types_by_name['Level0PrcRecord'] = _LEVEL0PRCRECORD -DESCRIPTOR.message_types_by_name['FindLevel0PrcReq'] = _FINDLEVEL0PRCREQ -DESCRIPTOR.message_types_by_name['FindLevel0PrcResp'] = _FINDLEVEL0PRCRESP -DESCRIPTOR.message_types_by_name['WriteLevel0PrcReq'] = _WRITELEVEL0PRCREQ -DESCRIPTOR.message_types_by_name['WriteLevel0PrcResp'] = _WRITELEVEL0PRCRESP -DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ -DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Level0PrcRecord = _reflection.GeneratedProtocolMessageType('Level0PrcRecord', (_message.Message,), { - 'DESCRIPTOR' : _LEVEL0PRCRECORD, - '__module__' : 'facility.level0prc.level0prc_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0prc.Level0PrcRecord) - }) -_sym_db.RegisterMessage(Level0PrcRecord) - -FindLevel0PrcReq = _reflection.GeneratedProtocolMessageType('FindLevel0PrcReq', (_message.Message,), { - - 'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY, - '__module__' : 'facility.level0prc.level0prc_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0prc.FindLevel0PrcReq.OtherConditionsEntry) - }) - , - 'DESCRIPTOR' : _FINDLEVEL0PRCREQ, - '__module__' : 'facility.level0prc.level0prc_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0prc.FindLevel0PrcReq) - }) -_sym_db.RegisterMessage(FindLevel0PrcReq) -_sym_db.RegisterMessage(FindLevel0PrcReq.OtherConditionsEntry) - -FindLevel0PrcResp = _reflection.GeneratedProtocolMessageType('FindLevel0PrcResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL0PRCRESP, - '__module__' : 'facility.level0prc.level0prc_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0prc.FindLevel0PrcResp) - }) -_sym_db.RegisterMessage(FindLevel0PrcResp) - -WriteLevel0PrcReq = _reflection.GeneratedProtocolMessageType('WriteLevel0PrcReq', (_message.Message,), { - 'DESCRIPTOR' : _WRITELEVEL0PRCREQ, - '__module__' : 'facility.level0prc.level0prc_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0prc.WriteLevel0PrcReq) - }) -_sym_db.RegisterMessage(WriteLevel0PrcReq) - -WriteLevel0PrcResp = _reflection.GeneratedProtocolMessageType('WriteLevel0PrcResp', (_message.Message,), { - 'DESCRIPTOR' : _WRITELEVEL0PRCRESP, - '__module__' : 'facility.level0prc.level0prc_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0prc.WriteLevel0PrcResp) - }) -_sym_db.RegisterMessage(WriteLevel0PrcResp) - -UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSREQ, - '__module__' : 'facility.level0prc.level0prc_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0prc.UpdateProcStatusReq) - }) -_sym_db.RegisterMessage(UpdateProcStatusReq) - -UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSRESP, - '__module__' : 'facility.level0prc.level0prc_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level0prc.UpdateProcStatusResp) - }) -_sym_db.RegisterMessage(UpdateProcStatusResp) - - -DESCRIPTOR._options = None -_FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY._options = None - -_LEVEL0PRCSRV = _descriptor.ServiceDescriptor( - name='Level0PrcSrv', - full_name='dfs.facility.level0prc.Level0PrcSrv', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=984, - serialized_end=1304, - methods=[ - _descriptor.MethodDescriptor( - name='Find', - full_name='dfs.facility.level0prc.Level0PrcSrv.Find', - index=0, - containing_service=None, - input_type=_FINDLEVEL0PRCREQ, - output_type=_FINDLEVEL0PRCRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Write', - full_name='dfs.facility.level0prc.Level0PrcSrv.Write', - index=1, - containing_service=None, - input_type=_WRITELEVEL0PRCREQ, - output_type=_WRITELEVEL0PRCRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateProcStatus', - full_name='dfs.facility.level0prc.Level0PrcSrv.UpdateProcStatus', - index=2, - containing_service=None, - input_type=_UPDATEPROCSTATUSREQ, - output_type=_UPDATEPROCSTATUSRESP, - serialized_options=None, - ), -]) -_sym_db.RegisterServiceDescriptor(_LEVEL0PRCSRV) - -DESCRIPTOR.services_by_name['Level0PrcSrv'] = _LEVEL0PRCSRV - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"facility/level0prc/level0prc.proto\x12\x16\x64\x66s.facility.level0prc\x1a\x12\x63ommon/error.proto\"\xb3\x01\n\x0fLevel0PrcRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x13\n\x0bpipeline_id\x18\x03 \x01(\t\x12\x12\n\nprc_module\x18\x04 \x01(\t\x12\x18\n\x10params_file_path\x18\x05 \x01(\t\x12\x12\n\nprc_status\x18\x06 \x01(\x05\x12\x10\n\x08prc_time\x18\x07 \x01(\t\x12\x18\n\x10result_file_path\x18\x08 \x01(\t\"\xf3\x01\n\x10\x46indLevel0PrcReq\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x13\n\x0bpipeline_id\x18\x02 \x01(\t\x12\x12\n\nprc_module\x18\x03 \x01(\t\x12\x12\n\nprc_status\x18\x04 \x01(\x05\x12W\n\x10other_conditions\x18\x05 \x03(\x0b\x32=.dfs.facility.level0prc.FindLevel0PrcReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x90\x01\n\x11\x46indLevel0PrcResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x38\n\x07records\x18\x04 \x03(\x0b\x32\'.dfs.facility.level0prc.Level0PrcRecord\"L\n\x11WriteLevel0PrcReq\x12\x37\n\x06record\x18\x01 \x01(\x0b\x32\'.dfs.facility.level0prc.Level0PrcRecord\"|\n\x12WriteLevel0PrcResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x37\n\x06record\x18\x03 \x01(\x0b\x32\'.dfs.facility.level0prc.Level0PrcRecord\"1\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xc0\x02\n\x0cLevel0PrcSrv\x12]\n\x04\x46ind\x12(.dfs.facility.level0prc.FindLevel0PrcReq\x1a).dfs.facility.level0prc.FindLevel0PrcResp\"\x00\x12`\n\x05Write\x12).dfs.facility.level0prc.WriteLevel0PrcReq\x1a*.dfs.facility.level0prc.WriteLevel0PrcResp\"\x00\x12o\n\x10UpdateProcStatus\x12+.dfs.facility.level0prc.UpdateProcStatusReq\x1a,.dfs.facility.level0prc.UpdateProcStatusResp\"\x00\x42)Z\'cnlab.net/csst/proto/facility/level0prcb\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'facility.level0prc.level0prc_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z\'cnlab.net/csst/proto/facility/level0prc' + _FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY._options = None + _FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY._serialized_options = b'8\001' + _LEVEL0PRCRECORD._serialized_start=83 + _LEVEL0PRCRECORD._serialized_end=262 + _FINDLEVEL0PRCREQ._serialized_start=265 + _FINDLEVEL0PRCREQ._serialized_end=508 + _FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY._serialized_start=454 + _FINDLEVEL0PRCREQ_OTHERCONDITIONSENTRY._serialized_end=508 + _FINDLEVEL0PRCRESP._serialized_start=511 + _FINDLEVEL0PRCRESP._serialized_end=655 + _WRITELEVEL0PRCREQ._serialized_start=657 + _WRITELEVEL0PRCREQ._serialized_end=733 + _WRITELEVEL0PRCRESP._serialized_start=735 + _WRITELEVEL0PRCRESP._serialized_end=859 + _UPDATEPROCSTATUSREQ._serialized_start=861 + _UPDATEPROCSTATUSREQ._serialized_end=910 + _UPDATEPROCSTATUSRESP._serialized_start=912 + _UPDATEPROCSTATUSRESP._serialized_end=981 + _LEVEL0PRCSRV._serialized_start=984 + _LEVEL0PRCSRV._serialized_end=1304 # @@protoc_insertion_point(module_scope) diff --git a/csst_dfs_proto/facility/level0prc/level0prc_pb2_grpc.py b/csst_dfs_proto/facility/level0prc/level0prc_pb2_grpc.py index 1d9bd37..5c211e3 100644 --- a/csst_dfs_proto/facility/level0prc/level0prc_pb2_grpc.py +++ b/csst_dfs_proto/facility/level0prc/level0prc_pb2_grpc.py @@ -1,11 +1,12 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from . import level0prc_pb2 as facility_dot_level0prc_dot_level0prc__pb2 class Level0PrcSrvStub(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def __init__(self, channel): """Constructor. @@ -31,22 +32,22 @@ class Level0PrcSrvStub(object): class Level0PrcSrvServicer(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def Find(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Write(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateProcStatus(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') @@ -77,7 +78,7 @@ def add_Level0PrcSrvServicer_to_server(servicer, server): # This class is part of an EXPERIMENTAL API. class Level0PrcSrv(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" @staticmethod def Find(request, @@ -85,6 +86,7 @@ class Level0PrcSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -93,7 +95,7 @@ class Level0PrcSrv(object): facility_dot_level0prc_dot_level0prc__pb2.FindLevel0PrcReq.SerializeToString, facility_dot_level0prc_dot_level0prc__pb2.FindLevel0PrcResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Write(request, @@ -101,6 +103,7 @@ class Level0PrcSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -109,7 +112,7 @@ class Level0PrcSrv(object): facility_dot_level0prc_dot_level0prc__pb2.WriteLevel0PrcReq.SerializeToString, facility_dot_level0prc_dot_level0prc__pb2.WriteLevel0PrcResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateProcStatus(request, @@ -117,6 +120,7 @@ class Level0PrcSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -125,4 +129,4 @@ class Level0PrcSrv(object): facility_dot_level0prc_dot_level0prc__pb2.UpdateProcStatusReq.SerializeToString, facility_dot_level0prc_dot_level0prc__pb2.UpdateProcStatusResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/csst_dfs_proto/facility/level1/level1_pb2.py b/csst_dfs_proto/facility/level1/level1_pb2.py index 176db8b..49c06e9 100644 --- a/csst_dfs_proto/facility/level1/level1_pb2.py +++ b/csst_dfs_proto/facility/level1/level1_pb2.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: facility/level1/level1.proto - +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder 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 descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -14,983 +14,48 @@ _sym_db = _symbol_database.Default() from ...common import error_pb2 as common_dot_error__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='facility/level1/level1.proto', - package='dfs.facility.level1', - syntax='proto3', - serialized_options=b'Z$cnlab.net/csst/proto/facility/level1', - serialized_pb=b'\n\x1c\x66\x61\x63ility/level1/level1.proto\x12\x13\x64\x66s.facility.level1\x1a\x12\x63ommon/error.proto\"\x9e\x03\n\x0cLevel1Record\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x11\n\tdata_type\x18\x03 \x01(\t\x12\x12\n\ncor_sci_id\x18\x04 \x01(\x03\x12\x11\n\tmodule_id\x18\x05 \x01(\t\x12\x12\n\nprc_params\x18\x06 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x07 \x01(\t\x12\x10\n\x08\x66ilename\x18\x08 \x01(\t\x12\x11\n\tfile_path\x18\t \x01(\t\x12\x12\n\nqc1_status\x18\n \x01(\x05\x12\x10\n\x08qc1_time\x18\x0b \x01(\t\x12\x12\n\nprc_status\x18\x0c \x01(\x05\x12\x10\n\x08prc_time\x18\r \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x0e \x01(\t\x12\x13\n\x0bpipeline_id\x18\x0f \x01(\t\x12\x0e\n\x06header\x18\x10 \x01(\t\x12\x39\n\x04refs\x18\x11 \x03(\x0b\x32+.dfs.facility.level1.Level1Record.RefsEntry\x1a+\n\tRefsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xd0\x02\n\rFindLevel1Req\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x11\n\tmodule_id\x18\x03 \x01(\t\x12\x19\n\x11\x63reate_time_start\x18\x04 \x01(\t\x12\x17\n\x0f\x63reate_time_end\x18\x05 \x01(\t\x12\x12\n\nqc1_status\x18\x06 \x01(\x05\x12\x12\n\nprc_status\x18\x07 \x01(\x05\x12\x10\n\x08\x66ilename\x18\x08 \x01(\t\x12\r\n\x05limit\x18\t \x01(\x05\x12Q\n\x10other_conditions\x18\n \x03(\x0b\x32\x37.dfs.facility.level1.FindLevel1Req.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x87\x01\n\x0e\x46indLevel1Resp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x32\n\x07records\x18\x04 \x03(\x0b\x32!.dfs.facility.level1.Level1Record\"&\n\x11\x46indByBrickIdsReq\x12\x11\n\tbrick_ids\x18\x01 \x03(\x05\"w\n\x12\x46indByBrickIdsResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x32\n\x07records\x18\x03 \x03(\x0b\x32!.dfs.facility.level1.Level1Record\"@\n\x0cGetLevel1Req\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x11\n\tdata_type\x18\x03 \x01(\t\"B\n\rGetLevel1Resp\x12\x31\n\x06record\x18\x01 \x01(\x0b\x32!.dfs.facility.level1.Level1Record\"Q\n\x0eWriteLevel1Req\x12\x31\n\x06record\x18\x01 \x01(\x0b\x32!.dfs.facility.level1.Level1Record\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"s\n\x0fWriteLevel1Resp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x31\n\x06record\x18\x03 \x01(\x0b\x32!.dfs.facility.level1.Level1Record\"0\n\x12UpdateQc1StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"D\n\x13UpdateQc1StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"1\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\x9c\x05\n\tLevel1Srv\x12Q\n\x04\x46ind\x12\".dfs.facility.level1.FindLevel1Req\x1a#.dfs.facility.level1.FindLevel1Resp\"\x00\x12\x63\n\x0e\x46indByBrickIds\x12&.dfs.facility.level1.FindByBrickIdsReq\x1a\'.dfs.facility.level1.FindByBrickIdsResp\"\x00\x12\\\n\x0f\x46indByQc1Status\x12\".dfs.facility.level1.FindLevel1Req\x1a#.dfs.facility.level1.FindLevel1Resp\"\x00\x12N\n\x03Get\x12!.dfs.facility.level1.GetLevel1Req\x1a\".dfs.facility.level1.GetLevel1Resp\"\x00\x12V\n\x05Write\x12#.dfs.facility.level1.WriteLevel1Req\x1a$.dfs.facility.level1.WriteLevel1Resp\"\x00(\x01\x12\x66\n\x0fUpdateQc1Status\x12\'.dfs.facility.level1.UpdateQc1StatusReq\x1a(.dfs.facility.level1.UpdateQc1StatusResp\"\x00\x12i\n\x10UpdateProcStatus\x12(.dfs.facility.level1.UpdateProcStatusReq\x1a).dfs.facility.level1.UpdateProcStatusResp\"\x00\x42&Z$cnlab.net/csst/proto/facility/level1b\x06proto3' - , - dependencies=[common_dot_error__pb2.DESCRIPTOR,]) - - - - -_LEVEL1RECORD_REFSENTRY = _descriptor.Descriptor( - name='RefsEntry', - full_name='dfs.facility.level1.Level1Record.RefsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dfs.facility.level1.Level1Record.RefsEntry.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.facility.level1.Level1Record.RefsEntry.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=445, - serialized_end=488, -) - -_LEVEL1RECORD = _descriptor.Descriptor( - name='Level1Record', - full_name='dfs.facility.level1.Level1Record', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level1.Level1Record.id', 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), - _descriptor.FieldDescriptor( - name='level0_id', full_name='dfs.facility.level1.Level1Record.level0_id', 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), - _descriptor.FieldDescriptor( - name='data_type', full_name='dfs.facility.level1.Level1Record.data_type', index=2, - number=3, 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='cor_sci_id', full_name='dfs.facility.level1.Level1Record.cor_sci_id', index=3, - number=4, 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), - _descriptor.FieldDescriptor( - name='module_id', full_name='dfs.facility.level1.Level1Record.module_id', index=4, - number=5, 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='prc_params', full_name='dfs.facility.level1.Level1Record.prc_params', index=5, - number=6, 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='filter', full_name='dfs.facility.level1.Level1Record.filter', index=6, - number=7, 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='filename', full_name='dfs.facility.level1.Level1Record.filename', index=7, - number=8, 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='file_path', full_name='dfs.facility.level1.Level1Record.file_path', index=8, - number=9, 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='qc1_status', full_name='dfs.facility.level1.Level1Record.qc1_status', index=9, - number=10, type=5, cpp_type=1, 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='qc1_time', full_name='dfs.facility.level1.Level1Record.qc1_time', index=10, - number=11, 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='prc_status', full_name='dfs.facility.level1.Level1Record.prc_status', index=11, - number=12, type=5, cpp_type=1, 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='prc_time', full_name='dfs.facility.level1.Level1Record.prc_time', index=12, - number=13, 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='create_time', full_name='dfs.facility.level1.Level1Record.create_time', index=13, - number=14, 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='pipeline_id', full_name='dfs.facility.level1.Level1Record.pipeline_id', index=14, - number=15, 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='header', full_name='dfs.facility.level1.Level1Record.header', index=15, - number=16, 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='refs', full_name='dfs.facility.level1.Level1Record.refs', index=16, - number=17, 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=[_LEVEL1RECORD_REFSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=74, - serialized_end=488, -) - - -_FINDLEVEL1REQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor( - name='OtherConditionsEntry', - full_name='dfs.facility.level1.FindLevel1Req.OtherConditionsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dfs.facility.level1.FindLevel1Req.OtherConditionsEntry.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.facility.level1.FindLevel1Req.OtherConditionsEntry.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=773, - serialized_end=827, -) - -_FINDLEVEL1REQ = _descriptor.Descriptor( - name='FindLevel1Req', - full_name='dfs.facility.level1.FindLevel1Req', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='level0_id', full_name='dfs.facility.level1.FindLevel1Req.level0_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='data_type', full_name='dfs.facility.level1.FindLevel1Req.data_type', 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), - _descriptor.FieldDescriptor( - name='module_id', full_name='dfs.facility.level1.FindLevel1Req.module_id', index=2, - number=3, 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='create_time_start', full_name='dfs.facility.level1.FindLevel1Req.create_time_start', index=3, - number=4, 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='create_time_end', full_name='dfs.facility.level1.FindLevel1Req.create_time_end', index=4, - number=5, 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='qc1_status', full_name='dfs.facility.level1.FindLevel1Req.qc1_status', index=5, - number=6, type=5, cpp_type=1, 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='prc_status', full_name='dfs.facility.level1.FindLevel1Req.prc_status', index=6, - number=7, type=5, cpp_type=1, 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='filename', full_name='dfs.facility.level1.FindLevel1Req.filename', index=7, - number=8, 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='limit', full_name='dfs.facility.level1.FindLevel1Req.limit', index=8, - number=9, type=5, cpp_type=1, 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='other_conditions', full_name='dfs.facility.level1.FindLevel1Req.other_conditions', index=9, - number=10, 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=[_FINDLEVEL1REQ_OTHERCONDITIONSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=491, - serialized_end=827, -) - - -_FINDLEVEL1RESP = _descriptor.Descriptor( - name='FindLevel1Resp', - full_name='dfs.facility.level1.FindLevel1Resp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level1.FindLevel1Resp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.facility.level1.FindLevel1Resp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.facility.level1.FindLevel1Resp.error', 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='records', full_name='dfs.facility.level1.FindLevel1Resp.records', index=3, - number=4, 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=830, - serialized_end=965, -) - - -_FINDBYBRICKIDSREQ = _descriptor.Descriptor( - name='FindByBrickIdsReq', - full_name='dfs.facility.level1.FindByBrickIdsReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='brick_ids', full_name='dfs.facility.level1.FindByBrickIdsReq.brick_ids', index=0, - number=1, type=5, cpp_type=1, 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=967, - serialized_end=1005, -) - - -_FINDBYBRICKIDSRESP = _descriptor.Descriptor( - name='FindByBrickIdsResp', - full_name='dfs.facility.level1.FindByBrickIdsResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level1.FindByBrickIdsResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level1.FindByBrickIdsResp.error', 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='records', full_name='dfs.facility.level1.FindByBrickIdsResp.records', index=2, - number=3, 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=1007, - serialized_end=1126, -) - - -_GETLEVEL1REQ = _descriptor.Descriptor( - name='GetLevel1Req', - full_name='dfs.facility.level1.GetLevel1Req', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level1.GetLevel1Req.id', 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), - _descriptor.FieldDescriptor( - name='level0_id', full_name='dfs.facility.level1.GetLevel1Req.level0_id', 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), - _descriptor.FieldDescriptor( - name='data_type', full_name='dfs.facility.level1.GetLevel1Req.data_type', index=2, - number=3, 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1128, - serialized_end=1192, -) - - -_GETLEVEL1RESP = _descriptor.Descriptor( - name='GetLevel1Resp', - full_name='dfs.facility.level1.GetLevel1Resp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level1.GetLevel1Resp.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1194, - serialized_end=1260, -) - - -_WRITELEVEL1REQ = _descriptor.Descriptor( - name='WriteLevel1Req', - full_name='dfs.facility.level1.WriteLevel1Req', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level1.WriteLevel1Req.record', 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='data', full_name='dfs.facility.level1.WriteLevel1Req.data', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=b"", - 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=1262, - serialized_end=1343, -) - - -_WRITELEVEL1RESP = _descriptor.Descriptor( - name='WriteLevel1Resp', - full_name='dfs.facility.level1.WriteLevel1Resp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level1.WriteLevel1Resp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level1.WriteLevel1Resp.error', 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='record', full_name='dfs.facility.level1.WriteLevel1Resp.record', 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1345, - serialized_end=1460, -) - - -_UPDATEQC1STATUSREQ = _descriptor.Descriptor( - name='UpdateQc1StatusReq', - full_name='dfs.facility.level1.UpdateQc1StatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level1.UpdateQc1StatusReq.id', 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), - _descriptor.FieldDescriptor( - name='status', full_name='dfs.facility.level1.UpdateQc1StatusReq.status', index=1, - number=2, type=5, cpp_type=1, 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=1462, - serialized_end=1510, -) - - -_UPDATEQC1STATUSRESP = _descriptor.Descriptor( - name='UpdateQc1StatusResp', - full_name='dfs.facility.level1.UpdateQc1StatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level1.UpdateQc1StatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level1.UpdateQc1StatusResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1512, - serialized_end=1580, -) - - -_UPDATEPROCSTATUSREQ = _descriptor.Descriptor( - name='UpdateProcStatusReq', - full_name='dfs.facility.level1.UpdateProcStatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level1.UpdateProcStatusReq.id', 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), - _descriptor.FieldDescriptor( - name='status', full_name='dfs.facility.level1.UpdateProcStatusReq.status', index=1, - number=2, type=5, cpp_type=1, 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=1582, - serialized_end=1631, -) - - -_UPDATEPROCSTATUSRESP = _descriptor.Descriptor( - name='UpdateProcStatusResp', - full_name='dfs.facility.level1.UpdateProcStatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level1.UpdateProcStatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level1.UpdateProcStatusResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1633, - serialized_end=1702, -) - -_LEVEL1RECORD_REFSENTRY.containing_type = _LEVEL1RECORD -_LEVEL1RECORD.fields_by_name['refs'].message_type = _LEVEL1RECORD_REFSENTRY -_FINDLEVEL1REQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL1REQ -_FINDLEVEL1REQ.fields_by_name['other_conditions'].message_type = _FINDLEVEL1REQ_OTHERCONDITIONSENTRY -_FINDLEVEL1RESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDLEVEL1RESP.fields_by_name['records'].message_type = _LEVEL1RECORD -_FINDBYBRICKIDSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDBYBRICKIDSRESP.fields_by_name['records'].message_type = _LEVEL1RECORD -_GETLEVEL1RESP.fields_by_name['record'].message_type = _LEVEL1RECORD -_WRITELEVEL1REQ.fields_by_name['record'].message_type = _LEVEL1RECORD -_WRITELEVEL1RESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_WRITELEVEL1RESP.fields_by_name['record'].message_type = _LEVEL1RECORD -_UPDATEQC1STATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -DESCRIPTOR.message_types_by_name['Level1Record'] = _LEVEL1RECORD -DESCRIPTOR.message_types_by_name['FindLevel1Req'] = _FINDLEVEL1REQ -DESCRIPTOR.message_types_by_name['FindLevel1Resp'] = _FINDLEVEL1RESP -DESCRIPTOR.message_types_by_name['FindByBrickIdsReq'] = _FINDBYBRICKIDSREQ -DESCRIPTOR.message_types_by_name['FindByBrickIdsResp'] = _FINDBYBRICKIDSRESP -DESCRIPTOR.message_types_by_name['GetLevel1Req'] = _GETLEVEL1REQ -DESCRIPTOR.message_types_by_name['GetLevel1Resp'] = _GETLEVEL1RESP -DESCRIPTOR.message_types_by_name['WriteLevel1Req'] = _WRITELEVEL1REQ -DESCRIPTOR.message_types_by_name['WriteLevel1Resp'] = _WRITELEVEL1RESP -DESCRIPTOR.message_types_by_name['UpdateQc1StatusReq'] = _UPDATEQC1STATUSREQ -DESCRIPTOR.message_types_by_name['UpdateQc1StatusResp'] = _UPDATEQC1STATUSRESP -DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ -DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Level1Record = _reflection.GeneratedProtocolMessageType('Level1Record', (_message.Message,), { - - 'RefsEntry' : _reflection.GeneratedProtocolMessageType('RefsEntry', (_message.Message,), { - 'DESCRIPTOR' : _LEVEL1RECORD_REFSENTRY, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.Level1Record.RefsEntry) - }) - , - 'DESCRIPTOR' : _LEVEL1RECORD, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.Level1Record) - }) -_sym_db.RegisterMessage(Level1Record) -_sym_db.RegisterMessage(Level1Record.RefsEntry) - -FindLevel1Req = _reflection.GeneratedProtocolMessageType('FindLevel1Req', (_message.Message,), { - - 'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL1REQ_OTHERCONDITIONSENTRY, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.FindLevel1Req.OtherConditionsEntry) - }) - , - 'DESCRIPTOR' : _FINDLEVEL1REQ, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.FindLevel1Req) - }) -_sym_db.RegisterMessage(FindLevel1Req) -_sym_db.RegisterMessage(FindLevel1Req.OtherConditionsEntry) - -FindLevel1Resp = _reflection.GeneratedProtocolMessageType('FindLevel1Resp', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL1RESP, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.FindLevel1Resp) - }) -_sym_db.RegisterMessage(FindLevel1Resp) - -FindByBrickIdsReq = _reflection.GeneratedProtocolMessageType('FindByBrickIdsReq', (_message.Message,), { - 'DESCRIPTOR' : _FINDBYBRICKIDSREQ, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.FindByBrickIdsReq) - }) -_sym_db.RegisterMessage(FindByBrickIdsReq) - -FindByBrickIdsResp = _reflection.GeneratedProtocolMessageType('FindByBrickIdsResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDBYBRICKIDSRESP, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.FindByBrickIdsResp) - }) -_sym_db.RegisterMessage(FindByBrickIdsResp) - -GetLevel1Req = _reflection.GeneratedProtocolMessageType('GetLevel1Req', (_message.Message,), { - 'DESCRIPTOR' : _GETLEVEL1REQ, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.GetLevel1Req) - }) -_sym_db.RegisterMessage(GetLevel1Req) - -GetLevel1Resp = _reflection.GeneratedProtocolMessageType('GetLevel1Resp', (_message.Message,), { - 'DESCRIPTOR' : _GETLEVEL1RESP, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.GetLevel1Resp) - }) -_sym_db.RegisterMessage(GetLevel1Resp) - -WriteLevel1Req = _reflection.GeneratedProtocolMessageType('WriteLevel1Req', (_message.Message,), { - 'DESCRIPTOR' : _WRITELEVEL1REQ, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.WriteLevel1Req) - }) -_sym_db.RegisterMessage(WriteLevel1Req) - -WriteLevel1Resp = _reflection.GeneratedProtocolMessageType('WriteLevel1Resp', (_message.Message,), { - 'DESCRIPTOR' : _WRITELEVEL1RESP, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.WriteLevel1Resp) - }) -_sym_db.RegisterMessage(WriteLevel1Resp) - -UpdateQc1StatusReq = _reflection.GeneratedProtocolMessageType('UpdateQc1StatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEQC1STATUSREQ, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.UpdateQc1StatusReq) - }) -_sym_db.RegisterMessage(UpdateQc1StatusReq) - -UpdateQc1StatusResp = _reflection.GeneratedProtocolMessageType('UpdateQc1StatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEQC1STATUSRESP, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.UpdateQc1StatusResp) - }) -_sym_db.RegisterMessage(UpdateQc1StatusResp) - -UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSREQ, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.UpdateProcStatusReq) - }) -_sym_db.RegisterMessage(UpdateProcStatusReq) - -UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSRESP, - '__module__' : 'facility.level1.level1_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1.UpdateProcStatusResp) - }) -_sym_db.RegisterMessage(UpdateProcStatusResp) - - -DESCRIPTOR._options = None -_LEVEL1RECORD_REFSENTRY._options = None -_FINDLEVEL1REQ_OTHERCONDITIONSENTRY._options = None - -_LEVEL1SRV = _descriptor.ServiceDescriptor( - name='Level1Srv', - full_name='dfs.facility.level1.Level1Srv', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=1705, - serialized_end=2373, - methods=[ - _descriptor.MethodDescriptor( - name='Find', - full_name='dfs.facility.level1.Level1Srv.Find', - index=0, - containing_service=None, - input_type=_FINDLEVEL1REQ, - output_type=_FINDLEVEL1RESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='FindByBrickIds', - full_name='dfs.facility.level1.Level1Srv.FindByBrickIds', - index=1, - containing_service=None, - input_type=_FINDBYBRICKIDSREQ, - output_type=_FINDBYBRICKIDSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='FindByQc1Status', - full_name='dfs.facility.level1.Level1Srv.FindByQc1Status', - index=2, - containing_service=None, - input_type=_FINDLEVEL1REQ, - output_type=_FINDLEVEL1RESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Get', - full_name='dfs.facility.level1.Level1Srv.Get', - index=3, - containing_service=None, - input_type=_GETLEVEL1REQ, - output_type=_GETLEVEL1RESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Write', - full_name='dfs.facility.level1.Level1Srv.Write', - index=4, - containing_service=None, - input_type=_WRITELEVEL1REQ, - output_type=_WRITELEVEL1RESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateQc1Status', - full_name='dfs.facility.level1.Level1Srv.UpdateQc1Status', - index=5, - containing_service=None, - input_type=_UPDATEQC1STATUSREQ, - output_type=_UPDATEQC1STATUSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateProcStatus', - full_name='dfs.facility.level1.Level1Srv.UpdateProcStatus', - index=6, - containing_service=None, - input_type=_UPDATEPROCSTATUSREQ, - output_type=_UPDATEPROCSTATUSRESP, - serialized_options=None, - ), -]) -_sym_db.RegisterServiceDescriptor(_LEVEL1SRV) - -DESCRIPTOR.services_by_name['Level1Srv'] = _LEVEL1SRV - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1c\x66\x61\x63ility/level1/level1.proto\x12\x13\x64\x66s.facility.level1\x1a\x12\x63ommon/error.proto\"\x9e\x03\n\x0cLevel1Record\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x11\n\tdata_type\x18\x03 \x01(\t\x12\x12\n\ncor_sci_id\x18\x04 \x01(\x03\x12\x11\n\tmodule_id\x18\x05 \x01(\t\x12\x12\n\nprc_params\x18\x06 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x07 \x01(\t\x12\x10\n\x08\x66ilename\x18\x08 \x01(\t\x12\x11\n\tfile_path\x18\t \x01(\t\x12\x12\n\nqc1_status\x18\n \x01(\x05\x12\x10\n\x08qc1_time\x18\x0b \x01(\t\x12\x12\n\nprc_status\x18\x0c \x01(\x05\x12\x10\n\x08prc_time\x18\r \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x0e \x01(\t\x12\x13\n\x0bpipeline_id\x18\x0f \x01(\t\x12\x0e\n\x06header\x18\x10 \x01(\t\x12\x39\n\x04refs\x18\x11 \x03(\x0b\x32+.dfs.facility.level1.Level1Record.RefsEntry\x1a+\n\tRefsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xd0\x02\n\rFindLevel1Req\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x11\n\tmodule_id\x18\x03 \x01(\t\x12\x19\n\x11\x63reate_time_start\x18\x04 \x01(\t\x12\x17\n\x0f\x63reate_time_end\x18\x05 \x01(\t\x12\x12\n\nqc1_status\x18\x06 \x01(\x05\x12\x12\n\nprc_status\x18\x07 \x01(\x05\x12\x10\n\x08\x66ilename\x18\x08 \x01(\t\x12\r\n\x05limit\x18\t \x01(\x05\x12Q\n\x10other_conditions\x18\n \x03(\x0b\x32\x37.dfs.facility.level1.FindLevel1Req.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x87\x01\n\x0e\x46indLevel1Resp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x32\n\x07records\x18\x04 \x03(\x0b\x32!.dfs.facility.level1.Level1Record\"&\n\x11\x46indByBrickIdsReq\x12\x11\n\tbrick_ids\x18\x01 \x03(\x05\"w\n\x12\x46indByBrickIdsResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x32\n\x07records\x18\x03 \x03(\x0b\x32!.dfs.facility.level1.Level1Record\"@\n\x0cGetLevel1Req\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x11\n\tdata_type\x18\x03 \x01(\t\"B\n\rGetLevel1Resp\x12\x31\n\x06record\x18\x01 \x01(\x0b\x32!.dfs.facility.level1.Level1Record\"Q\n\x0eWriteLevel1Req\x12\x31\n\x06record\x18\x01 \x01(\x0b\x32!.dfs.facility.level1.Level1Record\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"s\n\x0fWriteLevel1Resp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x31\n\x06record\x18\x03 \x01(\x0b\x32!.dfs.facility.level1.Level1Record\"0\n\x12UpdateQc1StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"D\n\x13UpdateQc1StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"1\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\x9c\x05\n\tLevel1Srv\x12Q\n\x04\x46ind\x12\".dfs.facility.level1.FindLevel1Req\x1a#.dfs.facility.level1.FindLevel1Resp\"\x00\x12\x63\n\x0e\x46indByBrickIds\x12&.dfs.facility.level1.FindByBrickIdsReq\x1a\'.dfs.facility.level1.FindByBrickIdsResp\"\x00\x12\\\n\x0f\x46indByQc1Status\x12\".dfs.facility.level1.FindLevel1Req\x1a#.dfs.facility.level1.FindLevel1Resp\"\x00\x12N\n\x03Get\x12!.dfs.facility.level1.GetLevel1Req\x1a\".dfs.facility.level1.GetLevel1Resp\"\x00\x12V\n\x05Write\x12#.dfs.facility.level1.WriteLevel1Req\x1a$.dfs.facility.level1.WriteLevel1Resp\"\x00(\x01\x12\x66\n\x0fUpdateQc1Status\x12\'.dfs.facility.level1.UpdateQc1StatusReq\x1a(.dfs.facility.level1.UpdateQc1StatusResp\"\x00\x12i\n\x10UpdateProcStatus\x12(.dfs.facility.level1.UpdateProcStatusReq\x1a).dfs.facility.level1.UpdateProcStatusResp\"\x00\x42&Z$cnlab.net/csst/proto/facility/level1b\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'facility.level1.level1_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z$cnlab.net/csst/proto/facility/level1' + _LEVEL1RECORD_REFSENTRY._options = None + _LEVEL1RECORD_REFSENTRY._serialized_options = b'8\001' + _FINDLEVEL1REQ_OTHERCONDITIONSENTRY._options = None + _FINDLEVEL1REQ_OTHERCONDITIONSENTRY._serialized_options = b'8\001' + _LEVEL1RECORD._serialized_start=74 + _LEVEL1RECORD._serialized_end=488 + _LEVEL1RECORD_REFSENTRY._serialized_start=445 + _LEVEL1RECORD_REFSENTRY._serialized_end=488 + _FINDLEVEL1REQ._serialized_start=491 + _FINDLEVEL1REQ._serialized_end=827 + _FINDLEVEL1REQ_OTHERCONDITIONSENTRY._serialized_start=773 + _FINDLEVEL1REQ_OTHERCONDITIONSENTRY._serialized_end=827 + _FINDLEVEL1RESP._serialized_start=830 + _FINDLEVEL1RESP._serialized_end=965 + _FINDBYBRICKIDSREQ._serialized_start=967 + _FINDBYBRICKIDSREQ._serialized_end=1005 + _FINDBYBRICKIDSRESP._serialized_start=1007 + _FINDBYBRICKIDSRESP._serialized_end=1126 + _GETLEVEL1REQ._serialized_start=1128 + _GETLEVEL1REQ._serialized_end=1192 + _GETLEVEL1RESP._serialized_start=1194 + _GETLEVEL1RESP._serialized_end=1260 + _WRITELEVEL1REQ._serialized_start=1262 + _WRITELEVEL1REQ._serialized_end=1343 + _WRITELEVEL1RESP._serialized_start=1345 + _WRITELEVEL1RESP._serialized_end=1460 + _UPDATEQC1STATUSREQ._serialized_start=1462 + _UPDATEQC1STATUSREQ._serialized_end=1510 + _UPDATEQC1STATUSRESP._serialized_start=1512 + _UPDATEQC1STATUSRESP._serialized_end=1580 + _UPDATEPROCSTATUSREQ._serialized_start=1582 + _UPDATEPROCSTATUSREQ._serialized_end=1631 + _UPDATEPROCSTATUSRESP._serialized_start=1633 + _UPDATEPROCSTATUSRESP._serialized_end=1702 + _LEVEL1SRV._serialized_start=1705 + _LEVEL1SRV._serialized_end=2373 # @@protoc_insertion_point(module_scope) diff --git a/csst_dfs_proto/facility/level1/level1_pb2_grpc.py b/csst_dfs_proto/facility/level1/level1_pb2_grpc.py index 40b5f32..00a3f53 100644 --- a/csst_dfs_proto/facility/level1/level1_pb2_grpc.py +++ b/csst_dfs_proto/facility/level1/level1_pb2_grpc.py @@ -1,11 +1,12 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from . import level1_pb2 as facility_dot_level1_dot_level1__pb2 class Level1SrvStub(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def __init__(self, channel): """Constructor. @@ -51,46 +52,46 @@ class Level1SrvStub(object): class Level1SrvServicer(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def Find(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def FindByBrickIds(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def FindByQc1Status(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Get(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Write(self, request_iterator, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateQc1Status(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateProcStatus(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') @@ -141,7 +142,7 @@ def add_Level1SrvServicer_to_server(servicer, server): # This class is part of an EXPERIMENTAL API. class Level1Srv(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" @staticmethod def Find(request, @@ -149,6 +150,7 @@ class Level1Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -157,7 +159,7 @@ class Level1Srv(object): facility_dot_level1_dot_level1__pb2.FindLevel1Req.SerializeToString, facility_dot_level1_dot_level1__pb2.FindLevel1Resp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FindByBrickIds(request, @@ -165,6 +167,7 @@ class Level1Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -173,7 +176,7 @@ class Level1Srv(object): facility_dot_level1_dot_level1__pb2.FindByBrickIdsReq.SerializeToString, facility_dot_level1_dot_level1__pb2.FindByBrickIdsResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FindByQc1Status(request, @@ -181,6 +184,7 @@ class Level1Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -189,7 +193,7 @@ class Level1Srv(object): facility_dot_level1_dot_level1__pb2.FindLevel1Req.SerializeToString, facility_dot_level1_dot_level1__pb2.FindLevel1Resp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Get(request, @@ -197,6 +201,7 @@ class Level1Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -205,7 +210,7 @@ class Level1Srv(object): facility_dot_level1_dot_level1__pb2.GetLevel1Req.SerializeToString, facility_dot_level1_dot_level1__pb2.GetLevel1Resp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Write(request_iterator, @@ -213,6 +218,7 @@ class Level1Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -221,7 +227,7 @@ class Level1Srv(object): facility_dot_level1_dot_level1__pb2.WriteLevel1Req.SerializeToString, facility_dot_level1_dot_level1__pb2.WriteLevel1Resp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateQc1Status(request, @@ -229,6 +235,7 @@ class Level1Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -237,7 +244,7 @@ class Level1Srv(object): facility_dot_level1_dot_level1__pb2.UpdateQc1StatusReq.SerializeToString, facility_dot_level1_dot_level1__pb2.UpdateQc1StatusResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateProcStatus(request, @@ -245,6 +252,7 @@ class Level1Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -253,4 +261,4 @@ class Level1Srv(object): facility_dot_level1_dot_level1__pb2.UpdateProcStatusReq.SerializeToString, facility_dot_level1_dot_level1__pb2.UpdateProcStatusResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/csst_dfs_proto/facility/level1prc/level1prc_pb2.py b/csst_dfs_proto/facility/level1prc/level1prc_pb2.py index 077ee54..7fc1e8f 100644 --- a/csst_dfs_proto/facility/level1prc/level1prc_pb2.py +++ b/csst_dfs_proto/facility/level1prc/level1prc_pb2.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: facility/level1prc/level1prc.proto - +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder 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 descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -14,514 +14,32 @@ _sym_db = _symbol_database.Default() from ...common import error_pb2 as common_dot_error__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='facility/level1prc/level1prc.proto', - package='dfs.facility.level1prc', - syntax='proto3', - serialized_options=b'Z\'cnlab.net/csst/proto/facility/level1prc', - serialized_pb=b'\n\"facility/level1prc/level1prc.proto\x12\x16\x64\x66s.facility.level1prc\x1a\x12\x63ommon/error.proto\"\xb3\x01\n\x0fLevel1PrcRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x13\n\x0bpipeline_id\x18\x03 \x01(\t\x12\x12\n\nprc_module\x18\x04 \x01(\t\x12\x18\n\x10params_file_path\x18\x05 \x01(\t\x12\x12\n\nprc_status\x18\x06 \x01(\x05\x12\x10\n\x08prc_time\x18\x07 \x01(\t\x12\x18\n\x10result_file_path\x18\x08 \x01(\t\"\xf3\x01\n\x10\x46indLevel1PrcReq\x12\x11\n\tlevel1_id\x18\x01 \x01(\x03\x12\x13\n\x0bpipeline_id\x18\x02 \x01(\t\x12\x12\n\nprc_module\x18\x03 \x01(\t\x12\x12\n\nprc_status\x18\x04 \x01(\x05\x12W\n\x10other_conditions\x18\x05 \x03(\x0b\x32=.dfs.facility.level1prc.FindLevel1PrcReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x90\x01\n\x11\x46indLevel1PrcResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x38\n\x07records\x18\x04 \x03(\x0b\x32\'.dfs.facility.level1prc.Level1PrcRecord\"L\n\x11WriteLevel1PrcReq\x12\x37\n\x06record\x18\x01 \x01(\x0b\x32\'.dfs.facility.level1prc.Level1PrcRecord\"|\n\x12WriteLevel1PrcResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x37\n\x06record\x18\x03 \x01(\x0b\x32\'.dfs.facility.level1prc.Level1PrcRecord\"1\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xc0\x02\n\x0cLevel1PrcSrv\x12]\n\x04\x46ind\x12(.dfs.facility.level1prc.FindLevel1PrcReq\x1a).dfs.facility.level1prc.FindLevel1PrcResp\"\x00\x12`\n\x05Write\x12).dfs.facility.level1prc.WriteLevel1PrcReq\x1a*.dfs.facility.level1prc.WriteLevel1PrcResp\"\x00\x12o\n\x10UpdateProcStatus\x12+.dfs.facility.level1prc.UpdateProcStatusReq\x1a,.dfs.facility.level1prc.UpdateProcStatusResp\"\x00\x42)Z\'cnlab.net/csst/proto/facility/level1prcb\x06proto3' - , - dependencies=[common_dot_error__pb2.DESCRIPTOR,]) - - - - -_LEVEL1PRCRECORD = _descriptor.Descriptor( - name='Level1PrcRecord', - full_name='dfs.facility.level1prc.Level1PrcRecord', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level1prc.Level1PrcRecord.id', 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), - _descriptor.FieldDescriptor( - name='level1_id', full_name='dfs.facility.level1prc.Level1PrcRecord.level1_id', index=1, - number=2, 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), - _descriptor.FieldDescriptor( - name='pipeline_id', full_name='dfs.facility.level1prc.Level1PrcRecord.pipeline_id', index=2, - number=3, 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='prc_module', full_name='dfs.facility.level1prc.Level1PrcRecord.prc_module', index=3, - number=4, 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='params_file_path', full_name='dfs.facility.level1prc.Level1PrcRecord.params_file_path', index=4, - number=5, 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='prc_status', full_name='dfs.facility.level1prc.Level1PrcRecord.prc_status', index=5, - number=6, type=5, cpp_type=1, 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='prc_time', full_name='dfs.facility.level1prc.Level1PrcRecord.prc_time', index=6, - number=7, 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='result_file_path', full_name='dfs.facility.level1prc.Level1PrcRecord.result_file_path', index=7, - number=8, 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=83, - serialized_end=262, -) - - -_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor( - name='OtherConditionsEntry', - full_name='dfs.facility.level1prc.FindLevel1PrcReq.OtherConditionsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dfs.facility.level1prc.FindLevel1PrcReq.OtherConditionsEntry.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.facility.level1prc.FindLevel1PrcReq.OtherConditionsEntry.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=454, - serialized_end=508, -) - -_FINDLEVEL1PRCREQ = _descriptor.Descriptor( - name='FindLevel1PrcReq', - full_name='dfs.facility.level1prc.FindLevel1PrcReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='level1_id', full_name='dfs.facility.level1prc.FindLevel1PrcReq.level1_id', 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), - _descriptor.FieldDescriptor( - name='pipeline_id', full_name='dfs.facility.level1prc.FindLevel1PrcReq.pipeline_id', 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), - _descriptor.FieldDescriptor( - name='prc_module', full_name='dfs.facility.level1prc.FindLevel1PrcReq.prc_module', index=2, - number=3, 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='prc_status', full_name='dfs.facility.level1prc.FindLevel1PrcReq.prc_status', index=3, - number=4, type=5, cpp_type=1, 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='other_conditions', full_name='dfs.facility.level1prc.FindLevel1PrcReq.other_conditions', 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), - ], - extensions=[ - ], - nested_types=[_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=265, - serialized_end=508, -) - - -_FINDLEVEL1PRCRESP = _descriptor.Descriptor( - name='FindLevel1PrcResp', - full_name='dfs.facility.level1prc.FindLevel1PrcResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level1prc.FindLevel1PrcResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.facility.level1prc.FindLevel1PrcResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.facility.level1prc.FindLevel1PrcResp.error', 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='records', full_name='dfs.facility.level1prc.FindLevel1PrcResp.records', index=3, - number=4, 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=511, - serialized_end=655, -) - - -_WRITELEVEL1PRCREQ = _descriptor.Descriptor( - name='WriteLevel1PrcReq', - full_name='dfs.facility.level1prc.WriteLevel1PrcReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level1prc.WriteLevel1PrcReq.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=657, - serialized_end=733, -) - - -_WRITELEVEL1PRCRESP = _descriptor.Descriptor( - name='WriteLevel1PrcResp', - full_name='dfs.facility.level1prc.WriteLevel1PrcResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level1prc.WriteLevel1PrcResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level1prc.WriteLevel1PrcResp.error', 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='record', full_name='dfs.facility.level1prc.WriteLevel1PrcResp.record', 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=735, - serialized_end=859, -) - - -_UPDATEPROCSTATUSREQ = _descriptor.Descriptor( - name='UpdateProcStatusReq', - full_name='dfs.facility.level1prc.UpdateProcStatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level1prc.UpdateProcStatusReq.id', 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), - _descriptor.FieldDescriptor( - name='status', full_name='dfs.facility.level1prc.UpdateProcStatusReq.status', index=1, - number=2, type=5, cpp_type=1, 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=861, - serialized_end=910, -) - - -_UPDATEPROCSTATUSRESP = _descriptor.Descriptor( - name='UpdateProcStatusResp', - full_name='dfs.facility.level1prc.UpdateProcStatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level1prc.UpdateProcStatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level1prc.UpdateProcStatusResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=912, - serialized_end=981, -) - -_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL1PRCREQ -_FINDLEVEL1PRCREQ.fields_by_name['other_conditions'].message_type = _FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY -_FINDLEVEL1PRCRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDLEVEL1PRCRESP.fields_by_name['records'].message_type = _LEVEL1PRCRECORD -_WRITELEVEL1PRCREQ.fields_by_name['record'].message_type = _LEVEL1PRCRECORD -_WRITELEVEL1PRCRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_WRITELEVEL1PRCRESP.fields_by_name['record'].message_type = _LEVEL1PRCRECORD -_UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -DESCRIPTOR.message_types_by_name['Level1PrcRecord'] = _LEVEL1PRCRECORD -DESCRIPTOR.message_types_by_name['FindLevel1PrcReq'] = _FINDLEVEL1PRCREQ -DESCRIPTOR.message_types_by_name['FindLevel1PrcResp'] = _FINDLEVEL1PRCRESP -DESCRIPTOR.message_types_by_name['WriteLevel1PrcReq'] = _WRITELEVEL1PRCREQ -DESCRIPTOR.message_types_by_name['WriteLevel1PrcResp'] = _WRITELEVEL1PRCRESP -DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ -DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Level1PrcRecord = _reflection.GeneratedProtocolMessageType('Level1PrcRecord', (_message.Message,), { - 'DESCRIPTOR' : _LEVEL1PRCRECORD, - '__module__' : 'facility.level1prc.level1prc_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1prc.Level1PrcRecord) - }) -_sym_db.RegisterMessage(Level1PrcRecord) - -FindLevel1PrcReq = _reflection.GeneratedProtocolMessageType('FindLevel1PrcReq', (_message.Message,), { - - 'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY, - '__module__' : 'facility.level1prc.level1prc_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1prc.FindLevel1PrcReq.OtherConditionsEntry) - }) - , - 'DESCRIPTOR' : _FINDLEVEL1PRCREQ, - '__module__' : 'facility.level1prc.level1prc_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1prc.FindLevel1PrcReq) - }) -_sym_db.RegisterMessage(FindLevel1PrcReq) -_sym_db.RegisterMessage(FindLevel1PrcReq.OtherConditionsEntry) - -FindLevel1PrcResp = _reflection.GeneratedProtocolMessageType('FindLevel1PrcResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL1PRCRESP, - '__module__' : 'facility.level1prc.level1prc_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1prc.FindLevel1PrcResp) - }) -_sym_db.RegisterMessage(FindLevel1PrcResp) - -WriteLevel1PrcReq = _reflection.GeneratedProtocolMessageType('WriteLevel1PrcReq', (_message.Message,), { - 'DESCRIPTOR' : _WRITELEVEL1PRCREQ, - '__module__' : 'facility.level1prc.level1prc_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1prc.WriteLevel1PrcReq) - }) -_sym_db.RegisterMessage(WriteLevel1PrcReq) - -WriteLevel1PrcResp = _reflection.GeneratedProtocolMessageType('WriteLevel1PrcResp', (_message.Message,), { - 'DESCRIPTOR' : _WRITELEVEL1PRCRESP, - '__module__' : 'facility.level1prc.level1prc_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1prc.WriteLevel1PrcResp) - }) -_sym_db.RegisterMessage(WriteLevel1PrcResp) - -UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSREQ, - '__module__' : 'facility.level1prc.level1prc_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1prc.UpdateProcStatusReq) - }) -_sym_db.RegisterMessage(UpdateProcStatusReq) - -UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSRESP, - '__module__' : 'facility.level1prc.level1prc_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level1prc.UpdateProcStatusResp) - }) -_sym_db.RegisterMessage(UpdateProcStatusResp) - - -DESCRIPTOR._options = None -_FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY._options = None - -_LEVEL1PRCSRV = _descriptor.ServiceDescriptor( - name='Level1PrcSrv', - full_name='dfs.facility.level1prc.Level1PrcSrv', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=984, - serialized_end=1304, - methods=[ - _descriptor.MethodDescriptor( - name='Find', - full_name='dfs.facility.level1prc.Level1PrcSrv.Find', - index=0, - containing_service=None, - input_type=_FINDLEVEL1PRCREQ, - output_type=_FINDLEVEL1PRCRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Write', - full_name='dfs.facility.level1prc.Level1PrcSrv.Write', - index=1, - containing_service=None, - input_type=_WRITELEVEL1PRCREQ, - output_type=_WRITELEVEL1PRCRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateProcStatus', - full_name='dfs.facility.level1prc.Level1PrcSrv.UpdateProcStatus', - index=2, - containing_service=None, - input_type=_UPDATEPROCSTATUSREQ, - output_type=_UPDATEPROCSTATUSRESP, - serialized_options=None, - ), -]) -_sym_db.RegisterServiceDescriptor(_LEVEL1PRCSRV) - -DESCRIPTOR.services_by_name['Level1PrcSrv'] = _LEVEL1PRCSRV - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"facility/level1prc/level1prc.proto\x12\x16\x64\x66s.facility.level1prc\x1a\x12\x63ommon/error.proto\"\xb3\x01\n\x0fLevel1PrcRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x13\n\x0bpipeline_id\x18\x03 \x01(\t\x12\x12\n\nprc_module\x18\x04 \x01(\t\x12\x18\n\x10params_file_path\x18\x05 \x01(\t\x12\x12\n\nprc_status\x18\x06 \x01(\x05\x12\x10\n\x08prc_time\x18\x07 \x01(\t\x12\x18\n\x10result_file_path\x18\x08 \x01(\t\"\xf3\x01\n\x10\x46indLevel1PrcReq\x12\x11\n\tlevel1_id\x18\x01 \x01(\x03\x12\x13\n\x0bpipeline_id\x18\x02 \x01(\t\x12\x12\n\nprc_module\x18\x03 \x01(\t\x12\x12\n\nprc_status\x18\x04 \x01(\x05\x12W\n\x10other_conditions\x18\x05 \x03(\x0b\x32=.dfs.facility.level1prc.FindLevel1PrcReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x90\x01\n\x11\x46indLevel1PrcResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x38\n\x07records\x18\x04 \x03(\x0b\x32\'.dfs.facility.level1prc.Level1PrcRecord\"L\n\x11WriteLevel1PrcReq\x12\x37\n\x06record\x18\x01 \x01(\x0b\x32\'.dfs.facility.level1prc.Level1PrcRecord\"|\n\x12WriteLevel1PrcResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x37\n\x06record\x18\x03 \x01(\x0b\x32\'.dfs.facility.level1prc.Level1PrcRecord\"1\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xc0\x02\n\x0cLevel1PrcSrv\x12]\n\x04\x46ind\x12(.dfs.facility.level1prc.FindLevel1PrcReq\x1a).dfs.facility.level1prc.FindLevel1PrcResp\"\x00\x12`\n\x05Write\x12).dfs.facility.level1prc.WriteLevel1PrcReq\x1a*.dfs.facility.level1prc.WriteLevel1PrcResp\"\x00\x12o\n\x10UpdateProcStatus\x12+.dfs.facility.level1prc.UpdateProcStatusReq\x1a,.dfs.facility.level1prc.UpdateProcStatusResp\"\x00\x42)Z\'cnlab.net/csst/proto/facility/level1prcb\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'facility.level1prc.level1prc_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z\'cnlab.net/csst/proto/facility/level1prc' + _FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY._options = None + _FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY._serialized_options = b'8\001' + _LEVEL1PRCRECORD._serialized_start=83 + _LEVEL1PRCRECORD._serialized_end=262 + _FINDLEVEL1PRCREQ._serialized_start=265 + _FINDLEVEL1PRCREQ._serialized_end=508 + _FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY._serialized_start=454 + _FINDLEVEL1PRCREQ_OTHERCONDITIONSENTRY._serialized_end=508 + _FINDLEVEL1PRCRESP._serialized_start=511 + _FINDLEVEL1PRCRESP._serialized_end=655 + _WRITELEVEL1PRCREQ._serialized_start=657 + _WRITELEVEL1PRCREQ._serialized_end=733 + _WRITELEVEL1PRCRESP._serialized_start=735 + _WRITELEVEL1PRCRESP._serialized_end=859 + _UPDATEPROCSTATUSREQ._serialized_start=861 + _UPDATEPROCSTATUSREQ._serialized_end=910 + _UPDATEPROCSTATUSRESP._serialized_start=912 + _UPDATEPROCSTATUSRESP._serialized_end=981 + _LEVEL1PRCSRV._serialized_start=984 + _LEVEL1PRCSRV._serialized_end=1304 # @@protoc_insertion_point(module_scope) diff --git a/csst_dfs_proto/facility/level1prc/level1prc_pb2_grpc.py b/csst_dfs_proto/facility/level1prc/level1prc_pb2_grpc.py index fcc92b5..99dc49f 100644 --- a/csst_dfs_proto/facility/level1prc/level1prc_pb2_grpc.py +++ b/csst_dfs_proto/facility/level1prc/level1prc_pb2_grpc.py @@ -1,11 +1,12 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from . import level1prc_pb2 as facility_dot_level1prc_dot_level1prc__pb2 class Level1PrcSrvStub(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def __init__(self, channel): """Constructor. @@ -31,22 +32,22 @@ class Level1PrcSrvStub(object): class Level1PrcSrvServicer(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def Find(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Write(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateProcStatus(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') @@ -77,7 +78,7 @@ def add_Level1PrcSrvServicer_to_server(servicer, server): # This class is part of an EXPERIMENTAL API. class Level1PrcSrv(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" @staticmethod def Find(request, @@ -85,6 +86,7 @@ class Level1PrcSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -93,7 +95,7 @@ class Level1PrcSrv(object): facility_dot_level1prc_dot_level1prc__pb2.FindLevel1PrcReq.SerializeToString, facility_dot_level1prc_dot_level1prc__pb2.FindLevel1PrcResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Write(request, @@ -101,6 +103,7 @@ class Level1PrcSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -109,7 +112,7 @@ class Level1PrcSrv(object): facility_dot_level1prc_dot_level1prc__pb2.WriteLevel1PrcReq.SerializeToString, facility_dot_level1prc_dot_level1prc__pb2.WriteLevel1PrcResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateProcStatus(request, @@ -117,6 +120,7 @@ class Level1PrcSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -125,4 +129,4 @@ class Level1PrcSrv(object): facility_dot_level1prc_dot_level1prc__pb2.UpdateProcStatusReq.SerializeToString, facility_dot_level1prc_dot_level1prc__pb2.UpdateProcStatusResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/csst_dfs_proto/facility/level2producer/level2producer_pb2.py b/csst_dfs_proto/facility/level2producer/level2producer_pb2.py index 3d7a776..5b92646 100644 --- a/csst_dfs_proto/facility/level2producer/level2producer_pb2.py +++ b/csst_dfs_proto/facility/level2producer/level2producer_pb2.py @@ -1,12 +1,10 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: facility/level2producer/level2producer.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder 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 descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -16,1753 +14,76 @@ _sym_db = _symbol_database.Default() from ...common import error_pb2 as common_dot_error__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='facility/level2producer/level2producer.proto', - package='dfs.facility.level2producer', - syntax='proto3', - serialized_options=_b('Z,cnlab.net/csst/proto/facility/level2producer'), - serialized_pb=_b('\n,facility/level2producer/level2producer.proto\x12\x1b\x64\x66s.facility.level2producer\x1a\x12\x63ommon/error.proto\"\xb7\x01\n\x14Level2ProducerRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07gitlink\x18\x03 \x01(\t\x12\x12\n\nparamfiles\x18\x04 \x01(\t\x12\r\n\x05image\x18\x05 \x01(\t\x12\x10\n\x08priority\x18\x06 \x01(\x05\x12\x15\n\rpre_producers\x18\x07 \x03(\x03\x12\x13\n\x0b\x63reate_time\x18\x08 \x01(\t\x12\x13\n\x0bupdate_time\x18\t \x01(\t\"r\n\x0fLevel2JobRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0b\n\x03\x64\x61g\x18\x03 \x01(\t\x12\x0e\n\x06status\x18\x04 \x01(\x05\x12\x13\n\x0b\x63reate_time\x18\x05 \x01(\t\x12\x13\n\x0bupdate_time\x18\x06 \x01(\t\"\xd7\x01\n\x1aLevel2ProducerRuningRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06job_id\x18\x02 \x01(\x03\x12\x13\n\x0bproducer_id\x18\x03 \x01(\x03\x12\x10\n\x08\x62rick_id\x18\x04 \x01(\x03\x12\x12\n\nstart_time\x18\x05 \x01(\t\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\t\x12\x12\n\nprc_status\x18\x07 \x01(\x05\x12\x12\n\nprc_result\x18\x08 \x01(\t\x12\x13\n\x0b\x63reate_time\x18\t \x01(\t\x12\x13\n\x0bupdate_time\x18\n \x01(\t\"P\n\x0bRegisterReq\x12\x41\n\x06record\x18\x01 \x01(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x80\x01\n\x0cRegisterResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x41\n\x06record\x18\x03 \x01(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"%\n\x07\x46indReq\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x05\"\x91\x01\n\x08\x46indResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x42\n\x07records\x18\x04 \x03(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x1b\n\x0c\x46indStartReq\x12\x0b\n\x03key\x18\x01 \x01(\t\"\x96\x01\n\rFindStartResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x42\n\x07records\x18\x04 \x03(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x1a\n\x0c\x46indNextsReq\x12\n\n\x02id\x18\x01 \x01(\x03\"\x96\x01\n\rFindNextsResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x42\n\x07records\x18\x04 \x03(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x14\n\x06GetReq\x12\n\n\x02id\x18\x01 \x01(\x03\"L\n\x07GetResp\x12\x41\n\x06record\x18\x01 \x01(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"N\n\tUpdateReq\x12\x41\n\x06record\x18\x01 \x01(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\";\n\nUpdateResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"\x17\n\tDeleteReq\x12\n\n\x02id\x18\x01 \x01(\x03\";\n\nDeleteResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"I\n\tNewJobReq\x12<\n\x06record\x18\x01 \x01(\x0b\x32,.dfs.facility.level2producer.Level2JobRecord\"y\n\nNewJobResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12<\n\x06record\x18\x03 \x01(\x0b\x32,.dfs.facility.level2producer.Level2JobRecord\"\x17\n\tGetJobReq\x12\n\n\x02id\x18\x01 \x01(\x03\"J\n\nGetJobResp\x12<\n\x06record\x18\x01 \x01(\x0b\x32,.dfs.facility.level2producer.Level2JobRecord\"L\n\x0cUpdateJobReq\x12<\n\x06record\x18\x01 \x01(\x0b\x32,.dfs.facility.level2producer.Level2JobRecord\">\n\rUpdateJobResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"Z\n\x0fWriteRunningReq\x12G\n\x06record\x18\x01 \x01(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord\"\x8a\x01\n\x10WriteRunningResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12G\n\x06record\x18\x03 \x01(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord\"\x1b\n\rGetRunningReq\x12\n\n\x02id\x18\x01 \x01(\x03\"Y\n\x0eGetRunningResp\x12G\n\x06record\x18\x01 \x01(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord\"[\n\x10UpdateRunningReq\x12G\n\x06record\x18\x01 \x01(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord\"B\n\x11UpdateRunningResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"\x90\x01\n\x0e\x46indRunningReq\x12\x0e\n\x06job_id\x18\x01 \x01(\x03\x12\x13\n\x0bproducer_id\x18\x02 \x01(\x03\x12\x10\n\x08\x62rick_id\x18\x03 \x01(\x03\x12\x12\n\nprc_status\x18\x04 \x01(\x05\x12\x12\n\nstart_time\x18\x05 \x01(\t\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\t\x12\r\n\x05limit\x18\x07 \x01(\x05\"\x9e\x01\n\x0f\x46indRunningResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12H\n\x07records\x18\x04 \x03(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord2\xfd\n\n\x11Level2ProducerSrv\x12\x61\n\x08Register\x12(.dfs.facility.level2producer.RegisterReq\x1a).dfs.facility.level2producer.RegisterResp\"\x00\x12U\n\x04\x46ind\x12$.dfs.facility.level2producer.FindReq\x1a%.dfs.facility.level2producer.FindResp\"\x00\x12\x64\n\tFindNexts\x12).dfs.facility.level2producer.FindNextsReq\x1a*.dfs.facility.level2producer.FindNextsResp\"\x00\x12\x64\n\tFindStart\x12).dfs.facility.level2producer.FindStartReq\x1a*.dfs.facility.level2producer.FindStartResp\"\x00\x12R\n\x03Get\x12#.dfs.facility.level2producer.GetReq\x1a$.dfs.facility.level2producer.GetResp\"\x00\x12[\n\x06Update\x12&.dfs.facility.level2producer.UpdateReq\x1a\'.dfs.facility.level2producer.UpdateResp\"\x00\x12[\n\x06\x44\x65lete\x12&.dfs.facility.level2producer.DeleteReq\x1a\'.dfs.facility.level2producer.DeleteResp\"\x00\x12[\n\x06NewJob\x12&.dfs.facility.level2producer.NewJobReq\x1a\'.dfs.facility.level2producer.NewJobResp\"\x00\x12[\n\x06GetJob\x12&.dfs.facility.level2producer.GetJobReq\x1a\'.dfs.facility.level2producer.GetJobResp\"\x00\x12\x64\n\tUpdateJob\x12).dfs.facility.level2producer.UpdateJobReq\x1a*.dfs.facility.level2producer.UpdateJobResp\"\x00\x12m\n\x0cWriteRunning\x12,.dfs.facility.level2producer.WriteRunningReq\x1a-.dfs.facility.level2producer.WriteRunningResp\"\x00\x12g\n\nGetRunning\x12*.dfs.facility.level2producer.GetRunningReq\x1a+.dfs.facility.level2producer.GetRunningResp\"\x00\x12p\n\rUpdateRunning\x12-.dfs.facility.level2producer.UpdateRunningReq\x1a..dfs.facility.level2producer.UpdateRunningResp\"\x00\x12j\n\x0b\x46indRunning\x12+.dfs.facility.level2producer.FindRunningReq\x1a,.dfs.facility.level2producer.FindRunningResp\"\x00\x42.Z,cnlab.net/csst/proto/facility/level2producerb\x06proto3') - , - dependencies=[common_dot_error__pb2.DESCRIPTOR,]) - - - - -_LEVEL2PRODUCERRECORD = _descriptor.Descriptor( - name='Level2ProducerRecord', - full_name='dfs.facility.level2producer.Level2ProducerRecord', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level2producer.Level2ProducerRecord.id', 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), - _descriptor.FieldDescriptor( - name='name', full_name='dfs.facility.level2producer.Level2ProducerRecord.name', 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), - _descriptor.FieldDescriptor( - name='gitlink', full_name='dfs.facility.level2producer.Level2ProducerRecord.gitlink', index=2, - number=3, 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='paramfiles', full_name='dfs.facility.level2producer.Level2ProducerRecord.paramfiles', index=3, - number=4, 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='image', full_name='dfs.facility.level2producer.Level2ProducerRecord.image', index=4, - number=5, 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='priority', full_name='dfs.facility.level2producer.Level2ProducerRecord.priority', index=5, - number=6, type=5, cpp_type=1, 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='pre_producers', full_name='dfs.facility.level2producer.Level2ProducerRecord.pre_producers', index=6, - number=7, type=3, cpp_type=2, 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='create_time', full_name='dfs.facility.level2producer.Level2ProducerRecord.create_time', index=7, - number=8, 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='update_time', full_name='dfs.facility.level2producer.Level2ProducerRecord.update_time', index=8, - number=9, 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=98, - serialized_end=281, -) - - -_LEVEL2JOBRECORD = _descriptor.Descriptor( - name='Level2JobRecord', - full_name='dfs.facility.level2producer.Level2JobRecord', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level2producer.Level2JobRecord.id', 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), - _descriptor.FieldDescriptor( - name='name', full_name='dfs.facility.level2producer.Level2JobRecord.name', 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), - _descriptor.FieldDescriptor( - name='dag', full_name='dfs.facility.level2producer.Level2JobRecord.dag', index=2, - number=3, 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='status', full_name='dfs.facility.level2producer.Level2JobRecord.status', index=3, - number=4, type=5, cpp_type=1, 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='create_time', full_name='dfs.facility.level2producer.Level2JobRecord.create_time', index=4, - number=5, 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='update_time', full_name='dfs.facility.level2producer.Level2JobRecord.update_time', index=5, - number=6, 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=283, - serialized_end=397, -) - - -_LEVEL2PRODUCERRUNINGRECORD = _descriptor.Descriptor( - name='Level2ProducerRuningRecord', - full_name='dfs.facility.level2producer.Level2ProducerRuningRecord', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level2producer.Level2ProducerRuningRecord.id', 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), - _descriptor.FieldDescriptor( - name='job_id', full_name='dfs.facility.level2producer.Level2ProducerRuningRecord.job_id', index=1, - number=2, 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), - _descriptor.FieldDescriptor( - name='producer_id', full_name='dfs.facility.level2producer.Level2ProducerRuningRecord.producer_id', index=2, - number=3, 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), - _descriptor.FieldDescriptor( - name='brick_id', full_name='dfs.facility.level2producer.Level2ProducerRuningRecord.brick_id', index=3, - number=4, 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), - _descriptor.FieldDescriptor( - name='start_time', full_name='dfs.facility.level2producer.Level2ProducerRuningRecord.start_time', index=4, - number=5, 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='end_time', full_name='dfs.facility.level2producer.Level2ProducerRuningRecord.end_time', index=5, - number=6, 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='prc_status', full_name='dfs.facility.level2producer.Level2ProducerRuningRecord.prc_status', index=6, - number=7, type=5, cpp_type=1, 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='prc_result', full_name='dfs.facility.level2producer.Level2ProducerRuningRecord.prc_result', index=7, - number=8, 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='create_time', full_name='dfs.facility.level2producer.Level2ProducerRuningRecord.create_time', index=8, - number=9, 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='update_time', full_name='dfs.facility.level2producer.Level2ProducerRuningRecord.update_time', index=9, - number=10, 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=400, - serialized_end=615, -) - - -_REGISTERREQ = _descriptor.Descriptor( - name='RegisterReq', - full_name='dfs.facility.level2producer.RegisterReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level2producer.RegisterReq.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=617, - serialized_end=697, -) - - -_REGISTERRESP = _descriptor.Descriptor( - name='RegisterResp', - full_name='dfs.facility.level2producer.RegisterResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level2producer.RegisterResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level2producer.RegisterResp.error', 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='record', full_name='dfs.facility.level2producer.RegisterResp.record', 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=700, - serialized_end=828, -) - - -_FINDREQ = _descriptor.Descriptor( - name='FindReq', - full_name='dfs.facility.level2producer.FindReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dfs.facility.level2producer.FindReq.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='limit', full_name='dfs.facility.level2producer.FindReq.limit', index=1, - number=2, type=5, cpp_type=1, 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=830, - serialized_end=867, -) - - -_FINDRESP = _descriptor.Descriptor( - name='FindResp', - full_name='dfs.facility.level2producer.FindResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level2producer.FindResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.facility.level2producer.FindResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.facility.level2producer.FindResp.error', 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='records', full_name='dfs.facility.level2producer.FindResp.records', index=3, - number=4, 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=870, - serialized_end=1015, -) - - -_FINDSTARTREQ = _descriptor.Descriptor( - name='FindStartReq', - full_name='dfs.facility.level2producer.FindStartReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dfs.facility.level2producer.FindStartReq.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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1017, - serialized_end=1044, -) - - -_FINDSTARTRESP = _descriptor.Descriptor( - name='FindStartResp', - full_name='dfs.facility.level2producer.FindStartResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level2producer.FindStartResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.facility.level2producer.FindStartResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.facility.level2producer.FindStartResp.error', 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='records', full_name='dfs.facility.level2producer.FindStartResp.records', index=3, - number=4, 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=1047, - serialized_end=1197, -) - - -_FINDNEXTSREQ = _descriptor.Descriptor( - name='FindNextsReq', - full_name='dfs.facility.level2producer.FindNextsReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level2producer.FindNextsReq.id', 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=1199, - serialized_end=1225, -) - - -_FINDNEXTSRESP = _descriptor.Descriptor( - name='FindNextsResp', - full_name='dfs.facility.level2producer.FindNextsResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level2producer.FindNextsResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.facility.level2producer.FindNextsResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.facility.level2producer.FindNextsResp.error', 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='records', full_name='dfs.facility.level2producer.FindNextsResp.records', index=3, - number=4, 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=1228, - serialized_end=1378, -) - - -_GETREQ = _descriptor.Descriptor( - name='GetReq', - full_name='dfs.facility.level2producer.GetReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level2producer.GetReq.id', 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=1380, - serialized_end=1400, -) - - -_GETRESP = _descriptor.Descriptor( - name='GetResp', - full_name='dfs.facility.level2producer.GetResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level2producer.GetResp.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1402, - serialized_end=1478, -) - - -_UPDATEREQ = _descriptor.Descriptor( - name='UpdateReq', - full_name='dfs.facility.level2producer.UpdateReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level2producer.UpdateReq.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1480, - serialized_end=1558, -) - - -_UPDATERESP = _descriptor.Descriptor( - name='UpdateResp', - full_name='dfs.facility.level2producer.UpdateResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level2producer.UpdateResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level2producer.UpdateResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1560, - serialized_end=1619, -) - - -_DELETEREQ = _descriptor.Descriptor( - name='DeleteReq', - full_name='dfs.facility.level2producer.DeleteReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level2producer.DeleteReq.id', 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=1621, - serialized_end=1644, -) - - -_DELETERESP = _descriptor.Descriptor( - name='DeleteResp', - full_name='dfs.facility.level2producer.DeleteResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level2producer.DeleteResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level2producer.DeleteResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1646, - serialized_end=1705, -) - - -_NEWJOBREQ = _descriptor.Descriptor( - name='NewJobReq', - full_name='dfs.facility.level2producer.NewJobReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level2producer.NewJobReq.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1707, - serialized_end=1780, -) - - -_NEWJOBRESP = _descriptor.Descriptor( - name='NewJobResp', - full_name='dfs.facility.level2producer.NewJobResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level2producer.NewJobResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level2producer.NewJobResp.error', 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='record', full_name='dfs.facility.level2producer.NewJobResp.record', 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1782, - serialized_end=1903, -) - - -_GETJOBREQ = _descriptor.Descriptor( - name='GetJobReq', - full_name='dfs.facility.level2producer.GetJobReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level2producer.GetJobReq.id', 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=1905, - serialized_end=1928, -) - - -_GETJOBRESP = _descriptor.Descriptor( - name='GetJobResp', - full_name='dfs.facility.level2producer.GetJobResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level2producer.GetJobResp.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1930, - serialized_end=2004, -) - - -_UPDATEJOBREQ = _descriptor.Descriptor( - name='UpdateJobReq', - full_name='dfs.facility.level2producer.UpdateJobReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level2producer.UpdateJobReq.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2006, - serialized_end=2082, -) - - -_UPDATEJOBRESP = _descriptor.Descriptor( - name='UpdateJobResp', - full_name='dfs.facility.level2producer.UpdateJobResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level2producer.UpdateJobResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level2producer.UpdateJobResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2084, - serialized_end=2146, -) - - -_WRITERUNNINGREQ = _descriptor.Descriptor( - name='WriteRunningReq', - full_name='dfs.facility.level2producer.WriteRunningReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level2producer.WriteRunningReq.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2148, - serialized_end=2238, -) - - -_WRITERUNNINGRESP = _descriptor.Descriptor( - name='WriteRunningResp', - full_name='dfs.facility.level2producer.WriteRunningResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level2producer.WriteRunningResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level2producer.WriteRunningResp.error', 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='record', full_name='dfs.facility.level2producer.WriteRunningResp.record', 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2241, - serialized_end=2379, -) - - -_GETRUNNINGREQ = _descriptor.Descriptor( - name='GetRunningReq', - full_name='dfs.facility.level2producer.GetRunningReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.level2producer.GetRunningReq.id', 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=2381, - serialized_end=2408, -) - - -_GETRUNNINGRESP = _descriptor.Descriptor( - name='GetRunningResp', - full_name='dfs.facility.level2producer.GetRunningResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level2producer.GetRunningResp.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2410, - serialized_end=2499, -) - - -_UPDATERUNNINGREQ = _descriptor.Descriptor( - name='UpdateRunningReq', - full_name='dfs.facility.level2producer.UpdateRunningReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.level2producer.UpdateRunningReq.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2501, - serialized_end=2592, -) - - -_UPDATERUNNINGRESP = _descriptor.Descriptor( - name='UpdateRunningResp', - full_name='dfs.facility.level2producer.UpdateRunningResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level2producer.UpdateRunningResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.level2producer.UpdateRunningResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=2594, - serialized_end=2660, -) - - -_FINDRUNNINGREQ = _descriptor.Descriptor( - name='FindRunningReq', - full_name='dfs.facility.level2producer.FindRunningReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='job_id', full_name='dfs.facility.level2producer.FindRunningReq.job_id', 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), - _descriptor.FieldDescriptor( - name='producer_id', full_name='dfs.facility.level2producer.FindRunningReq.producer_id', index=1, - number=2, 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), - _descriptor.FieldDescriptor( - name='brick_id', full_name='dfs.facility.level2producer.FindRunningReq.brick_id', index=2, - number=3, 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), - _descriptor.FieldDescriptor( - name='prc_status', full_name='dfs.facility.level2producer.FindRunningReq.prc_status', index=3, - number=4, type=5, cpp_type=1, 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='start_time', full_name='dfs.facility.level2producer.FindRunningReq.start_time', index=4, - number=5, 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='end_time', full_name='dfs.facility.level2producer.FindRunningReq.end_time', index=5, - number=6, 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='limit', full_name='dfs.facility.level2producer.FindRunningReq.limit', index=6, - number=7, type=5, cpp_type=1, 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=2663, - serialized_end=2807, -) - - -_FINDRUNNINGRESP = _descriptor.Descriptor( - name='FindRunningResp', - full_name='dfs.facility.level2producer.FindRunningResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.level2producer.FindRunningResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.facility.level2producer.FindRunningResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.facility.level2producer.FindRunningResp.error', 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='records', full_name='dfs.facility.level2producer.FindRunningResp.records', index=3, - number=4, 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=2810, - serialized_end=2968, -) - -_REGISTERREQ.fields_by_name['record'].message_type = _LEVEL2PRODUCERRECORD -_REGISTERRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_REGISTERRESP.fields_by_name['record'].message_type = _LEVEL2PRODUCERRECORD -_FINDRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDRESP.fields_by_name['records'].message_type = _LEVEL2PRODUCERRECORD -_FINDSTARTRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDSTARTRESP.fields_by_name['records'].message_type = _LEVEL2PRODUCERRECORD -_FINDNEXTSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDNEXTSRESP.fields_by_name['records'].message_type = _LEVEL2PRODUCERRECORD -_GETRESP.fields_by_name['record'].message_type = _LEVEL2PRODUCERRECORD -_UPDATEREQ.fields_by_name['record'].message_type = _LEVEL2PRODUCERRECORD -_UPDATERESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_DELETERESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_NEWJOBREQ.fields_by_name['record'].message_type = _LEVEL2JOBRECORD -_NEWJOBRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_NEWJOBRESP.fields_by_name['record'].message_type = _LEVEL2JOBRECORD -_GETJOBRESP.fields_by_name['record'].message_type = _LEVEL2JOBRECORD -_UPDATEJOBREQ.fields_by_name['record'].message_type = _LEVEL2JOBRECORD -_UPDATEJOBRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_WRITERUNNINGREQ.fields_by_name['record'].message_type = _LEVEL2PRODUCERRUNINGRECORD -_WRITERUNNINGRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_WRITERUNNINGRESP.fields_by_name['record'].message_type = _LEVEL2PRODUCERRUNINGRECORD -_GETRUNNINGRESP.fields_by_name['record'].message_type = _LEVEL2PRODUCERRUNINGRECORD -_UPDATERUNNINGREQ.fields_by_name['record'].message_type = _LEVEL2PRODUCERRUNINGRECORD -_UPDATERUNNINGRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDRUNNINGRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDRUNNINGRESP.fields_by_name['records'].message_type = _LEVEL2PRODUCERRUNINGRECORD -DESCRIPTOR.message_types_by_name['Level2ProducerRecord'] = _LEVEL2PRODUCERRECORD -DESCRIPTOR.message_types_by_name['Level2JobRecord'] = _LEVEL2JOBRECORD -DESCRIPTOR.message_types_by_name['Level2ProducerRuningRecord'] = _LEVEL2PRODUCERRUNINGRECORD -DESCRIPTOR.message_types_by_name['RegisterReq'] = _REGISTERREQ -DESCRIPTOR.message_types_by_name['RegisterResp'] = _REGISTERRESP -DESCRIPTOR.message_types_by_name['FindReq'] = _FINDREQ -DESCRIPTOR.message_types_by_name['FindResp'] = _FINDRESP -DESCRIPTOR.message_types_by_name['FindStartReq'] = _FINDSTARTREQ -DESCRIPTOR.message_types_by_name['FindStartResp'] = _FINDSTARTRESP -DESCRIPTOR.message_types_by_name['FindNextsReq'] = _FINDNEXTSREQ -DESCRIPTOR.message_types_by_name['FindNextsResp'] = _FINDNEXTSRESP -DESCRIPTOR.message_types_by_name['GetReq'] = _GETREQ -DESCRIPTOR.message_types_by_name['GetResp'] = _GETRESP -DESCRIPTOR.message_types_by_name['UpdateReq'] = _UPDATEREQ -DESCRIPTOR.message_types_by_name['UpdateResp'] = _UPDATERESP -DESCRIPTOR.message_types_by_name['DeleteReq'] = _DELETEREQ -DESCRIPTOR.message_types_by_name['DeleteResp'] = _DELETERESP -DESCRIPTOR.message_types_by_name['NewJobReq'] = _NEWJOBREQ -DESCRIPTOR.message_types_by_name['NewJobResp'] = _NEWJOBRESP -DESCRIPTOR.message_types_by_name['GetJobReq'] = _GETJOBREQ -DESCRIPTOR.message_types_by_name['GetJobResp'] = _GETJOBRESP -DESCRIPTOR.message_types_by_name['UpdateJobReq'] = _UPDATEJOBREQ -DESCRIPTOR.message_types_by_name['UpdateJobResp'] = _UPDATEJOBRESP -DESCRIPTOR.message_types_by_name['WriteRunningReq'] = _WRITERUNNINGREQ -DESCRIPTOR.message_types_by_name['WriteRunningResp'] = _WRITERUNNINGRESP -DESCRIPTOR.message_types_by_name['GetRunningReq'] = _GETRUNNINGREQ -DESCRIPTOR.message_types_by_name['GetRunningResp'] = _GETRUNNINGRESP -DESCRIPTOR.message_types_by_name['UpdateRunningReq'] = _UPDATERUNNINGREQ -DESCRIPTOR.message_types_by_name['UpdateRunningResp'] = _UPDATERUNNINGRESP -DESCRIPTOR.message_types_by_name['FindRunningReq'] = _FINDRUNNINGREQ -DESCRIPTOR.message_types_by_name['FindRunningResp'] = _FINDRUNNINGRESP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Level2ProducerRecord = _reflection.GeneratedProtocolMessageType('Level2ProducerRecord', (_message.Message,), { - 'DESCRIPTOR' : _LEVEL2PRODUCERRECORD, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.Level2ProducerRecord) - }) -_sym_db.RegisterMessage(Level2ProducerRecord) - -Level2JobRecord = _reflection.GeneratedProtocolMessageType('Level2JobRecord', (_message.Message,), { - 'DESCRIPTOR' : _LEVEL2JOBRECORD, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.Level2JobRecord) - }) -_sym_db.RegisterMessage(Level2JobRecord) - -Level2ProducerRuningRecord = _reflection.GeneratedProtocolMessageType('Level2ProducerRuningRecord', (_message.Message,), { - 'DESCRIPTOR' : _LEVEL2PRODUCERRUNINGRECORD, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.Level2ProducerRuningRecord) - }) -_sym_db.RegisterMessage(Level2ProducerRuningRecord) - -RegisterReq = _reflection.GeneratedProtocolMessageType('RegisterReq', (_message.Message,), { - 'DESCRIPTOR' : _REGISTERREQ, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.RegisterReq) - }) -_sym_db.RegisterMessage(RegisterReq) - -RegisterResp = _reflection.GeneratedProtocolMessageType('RegisterResp', (_message.Message,), { - 'DESCRIPTOR' : _REGISTERRESP, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.RegisterResp) - }) -_sym_db.RegisterMessage(RegisterResp) - -FindReq = _reflection.GeneratedProtocolMessageType('FindReq', (_message.Message,), { - 'DESCRIPTOR' : _FINDREQ, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.FindReq) - }) -_sym_db.RegisterMessage(FindReq) - -FindResp = _reflection.GeneratedProtocolMessageType('FindResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDRESP, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.FindResp) - }) -_sym_db.RegisterMessage(FindResp) - -FindStartReq = _reflection.GeneratedProtocolMessageType('FindStartReq', (_message.Message,), { - 'DESCRIPTOR' : _FINDSTARTREQ, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.FindStartReq) - }) -_sym_db.RegisterMessage(FindStartReq) - -FindStartResp = _reflection.GeneratedProtocolMessageType('FindStartResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDSTARTRESP, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.FindStartResp) - }) -_sym_db.RegisterMessage(FindStartResp) - -FindNextsReq = _reflection.GeneratedProtocolMessageType('FindNextsReq', (_message.Message,), { - 'DESCRIPTOR' : _FINDNEXTSREQ, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.FindNextsReq) - }) -_sym_db.RegisterMessage(FindNextsReq) - -FindNextsResp = _reflection.GeneratedProtocolMessageType('FindNextsResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDNEXTSRESP, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.FindNextsResp) - }) -_sym_db.RegisterMessage(FindNextsResp) - -GetReq = _reflection.GeneratedProtocolMessageType('GetReq', (_message.Message,), { - 'DESCRIPTOR' : _GETREQ, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.GetReq) - }) -_sym_db.RegisterMessage(GetReq) - -GetResp = _reflection.GeneratedProtocolMessageType('GetResp', (_message.Message,), { - 'DESCRIPTOR' : _GETRESP, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.GetResp) - }) -_sym_db.RegisterMessage(GetResp) - -UpdateReq = _reflection.GeneratedProtocolMessageType('UpdateReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEREQ, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.UpdateReq) - }) -_sym_db.RegisterMessage(UpdateReq) - -UpdateResp = _reflection.GeneratedProtocolMessageType('UpdateResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATERESP, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.UpdateResp) - }) -_sym_db.RegisterMessage(UpdateResp) - -DeleteReq = _reflection.GeneratedProtocolMessageType('DeleteReq', (_message.Message,), { - 'DESCRIPTOR' : _DELETEREQ, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.DeleteReq) - }) -_sym_db.RegisterMessage(DeleteReq) - -DeleteResp = _reflection.GeneratedProtocolMessageType('DeleteResp', (_message.Message,), { - 'DESCRIPTOR' : _DELETERESP, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.DeleteResp) - }) -_sym_db.RegisterMessage(DeleteResp) - -NewJobReq = _reflection.GeneratedProtocolMessageType('NewJobReq', (_message.Message,), { - 'DESCRIPTOR' : _NEWJOBREQ, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.NewJobReq) - }) -_sym_db.RegisterMessage(NewJobReq) - -NewJobResp = _reflection.GeneratedProtocolMessageType('NewJobResp', (_message.Message,), { - 'DESCRIPTOR' : _NEWJOBRESP, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.NewJobResp) - }) -_sym_db.RegisterMessage(NewJobResp) - -GetJobReq = _reflection.GeneratedProtocolMessageType('GetJobReq', (_message.Message,), { - 'DESCRIPTOR' : _GETJOBREQ, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.GetJobReq) - }) -_sym_db.RegisterMessage(GetJobReq) - -GetJobResp = _reflection.GeneratedProtocolMessageType('GetJobResp', (_message.Message,), { - 'DESCRIPTOR' : _GETJOBRESP, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.GetJobResp) - }) -_sym_db.RegisterMessage(GetJobResp) - -UpdateJobReq = _reflection.GeneratedProtocolMessageType('UpdateJobReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEJOBREQ, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.UpdateJobReq) - }) -_sym_db.RegisterMessage(UpdateJobReq) - -UpdateJobResp = _reflection.GeneratedProtocolMessageType('UpdateJobResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEJOBRESP, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.UpdateJobResp) - }) -_sym_db.RegisterMessage(UpdateJobResp) - -WriteRunningReq = _reflection.GeneratedProtocolMessageType('WriteRunningReq', (_message.Message,), { - 'DESCRIPTOR' : _WRITERUNNINGREQ, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.WriteRunningReq) - }) -_sym_db.RegisterMessage(WriteRunningReq) - -WriteRunningResp = _reflection.GeneratedProtocolMessageType('WriteRunningResp', (_message.Message,), { - 'DESCRIPTOR' : _WRITERUNNINGRESP, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.WriteRunningResp) - }) -_sym_db.RegisterMessage(WriteRunningResp) - -GetRunningReq = _reflection.GeneratedProtocolMessageType('GetRunningReq', (_message.Message,), { - 'DESCRIPTOR' : _GETRUNNINGREQ, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.GetRunningReq) - }) -_sym_db.RegisterMessage(GetRunningReq) - -GetRunningResp = _reflection.GeneratedProtocolMessageType('GetRunningResp', (_message.Message,), { - 'DESCRIPTOR' : _GETRUNNINGRESP, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.GetRunningResp) - }) -_sym_db.RegisterMessage(GetRunningResp) - -UpdateRunningReq = _reflection.GeneratedProtocolMessageType('UpdateRunningReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATERUNNINGREQ, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.UpdateRunningReq) - }) -_sym_db.RegisterMessage(UpdateRunningReq) - -UpdateRunningResp = _reflection.GeneratedProtocolMessageType('UpdateRunningResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATERUNNINGRESP, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.UpdateRunningResp) - }) -_sym_db.RegisterMessage(UpdateRunningResp) - -FindRunningReq = _reflection.GeneratedProtocolMessageType('FindRunningReq', (_message.Message,), { - 'DESCRIPTOR' : _FINDRUNNINGREQ, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.FindRunningReq) - }) -_sym_db.RegisterMessage(FindRunningReq) - -FindRunningResp = _reflection.GeneratedProtocolMessageType('FindRunningResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDRUNNINGRESP, - '__module__' : 'facility.level2producer.level2producer_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.level2producer.FindRunningResp) - }) -_sym_db.RegisterMessage(FindRunningResp) - - -DESCRIPTOR._options = None - -_LEVEL2PRODUCERSRV = _descriptor.ServiceDescriptor( - name='Level2ProducerSrv', - full_name='dfs.facility.level2producer.Level2ProducerSrv', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=2971, - serialized_end=4376, - methods=[ - _descriptor.MethodDescriptor( - name='Register', - full_name='dfs.facility.level2producer.Level2ProducerSrv.Register', - index=0, - containing_service=None, - input_type=_REGISTERREQ, - output_type=_REGISTERRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Find', - full_name='dfs.facility.level2producer.Level2ProducerSrv.Find', - index=1, - containing_service=None, - input_type=_FINDREQ, - output_type=_FINDRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='FindNexts', - full_name='dfs.facility.level2producer.Level2ProducerSrv.FindNexts', - index=2, - containing_service=None, - input_type=_FINDNEXTSREQ, - output_type=_FINDNEXTSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='FindStart', - full_name='dfs.facility.level2producer.Level2ProducerSrv.FindStart', - index=3, - containing_service=None, - input_type=_FINDSTARTREQ, - output_type=_FINDSTARTRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Get', - full_name='dfs.facility.level2producer.Level2ProducerSrv.Get', - index=4, - containing_service=None, - input_type=_GETREQ, - output_type=_GETRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Update', - full_name='dfs.facility.level2producer.Level2ProducerSrv.Update', - index=5, - containing_service=None, - input_type=_UPDATEREQ, - output_type=_UPDATERESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Delete', - full_name='dfs.facility.level2producer.Level2ProducerSrv.Delete', - index=6, - containing_service=None, - input_type=_DELETEREQ, - output_type=_DELETERESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='NewJob', - full_name='dfs.facility.level2producer.Level2ProducerSrv.NewJob', - index=7, - containing_service=None, - input_type=_NEWJOBREQ, - output_type=_NEWJOBRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='GetJob', - full_name='dfs.facility.level2producer.Level2ProducerSrv.GetJob', - index=8, - containing_service=None, - input_type=_GETJOBREQ, - output_type=_GETJOBRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateJob', - full_name='dfs.facility.level2producer.Level2ProducerSrv.UpdateJob', - index=9, - containing_service=None, - input_type=_UPDATEJOBREQ, - output_type=_UPDATEJOBRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='WriteRunning', - full_name='dfs.facility.level2producer.Level2ProducerSrv.WriteRunning', - index=10, - containing_service=None, - input_type=_WRITERUNNINGREQ, - output_type=_WRITERUNNINGRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='GetRunning', - full_name='dfs.facility.level2producer.Level2ProducerSrv.GetRunning', - index=11, - containing_service=None, - input_type=_GETRUNNINGREQ, - output_type=_GETRUNNINGRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateRunning', - full_name='dfs.facility.level2producer.Level2ProducerSrv.UpdateRunning', - index=12, - containing_service=None, - input_type=_UPDATERUNNINGREQ, - output_type=_UPDATERUNNINGRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='FindRunning', - full_name='dfs.facility.level2producer.Level2ProducerSrv.FindRunning', - index=13, - containing_service=None, - input_type=_FINDRUNNINGREQ, - output_type=_FINDRUNNINGRESP, - serialized_options=None, - ), -]) -_sym_db.RegisterServiceDescriptor(_LEVEL2PRODUCERSRV) - -DESCRIPTOR.services_by_name['Level2ProducerSrv'] = _LEVEL2PRODUCERSRV - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,facility/level2producer/level2producer.proto\x12\x1b\x64\x66s.facility.level2producer\x1a\x12\x63ommon/error.proto\"\xb7\x01\n\x14Level2ProducerRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0f\n\x07gitlink\x18\x03 \x01(\t\x12\x12\n\nparamfiles\x18\x04 \x01(\t\x12\r\n\x05image\x18\x05 \x01(\t\x12\x10\n\x08priority\x18\x06 \x01(\x05\x12\x15\n\rpre_producers\x18\x07 \x03(\x03\x12\x13\n\x0b\x63reate_time\x18\x08 \x01(\t\x12\x13\n\x0bupdate_time\x18\t \x01(\t\"r\n\x0fLevel2JobRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x0b\n\x03\x64\x61g\x18\x03 \x01(\t\x12\x0e\n\x06status\x18\x04 \x01(\x05\x12\x13\n\x0b\x63reate_time\x18\x05 \x01(\t\x12\x13\n\x0bupdate_time\x18\x06 \x01(\t\"\xd7\x01\n\x1aLevel2ProducerRuningRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06job_id\x18\x02 \x01(\x03\x12\x13\n\x0bproducer_id\x18\x03 \x01(\x03\x12\x10\n\x08\x62rick_id\x18\x04 \x01(\x03\x12\x12\n\nstart_time\x18\x05 \x01(\t\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\t\x12\x12\n\nprc_status\x18\x07 \x01(\x05\x12\x12\n\nprc_result\x18\x08 \x01(\t\x12\x13\n\x0b\x63reate_time\x18\t \x01(\t\x12\x13\n\x0bupdate_time\x18\n \x01(\t\"P\n\x0bRegisterReq\x12\x41\n\x06record\x18\x01 \x01(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x80\x01\n\x0cRegisterResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x41\n\x06record\x18\x03 \x01(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"%\n\x07\x46indReq\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05limit\x18\x02 \x01(\x05\"\x91\x01\n\x08\x46indResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x42\n\x07records\x18\x04 \x03(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x1b\n\x0c\x46indStartReq\x12\x0b\n\x03key\x18\x01 \x01(\t\"\x96\x01\n\rFindStartResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x42\n\x07records\x18\x04 \x03(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x1a\n\x0c\x46indNextsReq\x12\n\n\x02id\x18\x01 \x01(\x03\"\x96\x01\n\rFindNextsResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x42\n\x07records\x18\x04 \x03(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"\x14\n\x06GetReq\x12\n\n\x02id\x18\x01 \x01(\x03\"L\n\x07GetResp\x12\x41\n\x06record\x18\x01 \x01(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\"N\n\tUpdateReq\x12\x41\n\x06record\x18\x01 \x01(\x0b\x32\x31.dfs.facility.level2producer.Level2ProducerRecord\";\n\nUpdateResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"\x17\n\tDeleteReq\x12\n\n\x02id\x18\x01 \x01(\x03\";\n\nDeleteResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"I\n\tNewJobReq\x12<\n\x06record\x18\x01 \x01(\x0b\x32,.dfs.facility.level2producer.Level2JobRecord\"y\n\nNewJobResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12<\n\x06record\x18\x03 \x01(\x0b\x32,.dfs.facility.level2producer.Level2JobRecord\"\x17\n\tGetJobReq\x12\n\n\x02id\x18\x01 \x01(\x03\"J\n\nGetJobResp\x12<\n\x06record\x18\x01 \x01(\x0b\x32,.dfs.facility.level2producer.Level2JobRecord\"L\n\x0cUpdateJobReq\x12<\n\x06record\x18\x01 \x01(\x0b\x32,.dfs.facility.level2producer.Level2JobRecord\">\n\rUpdateJobResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"Z\n\x0fWriteRunningReq\x12G\n\x06record\x18\x01 \x01(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord\"\x8a\x01\n\x10WriteRunningResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12G\n\x06record\x18\x03 \x01(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord\"\x1b\n\rGetRunningReq\x12\n\n\x02id\x18\x01 \x01(\x03\"Y\n\x0eGetRunningResp\x12G\n\x06record\x18\x01 \x01(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord\"[\n\x10UpdateRunningReq\x12G\n\x06record\x18\x01 \x01(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord\"B\n\x11UpdateRunningResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"\x90\x01\n\x0e\x46indRunningReq\x12\x0e\n\x06job_id\x18\x01 \x01(\x03\x12\x13\n\x0bproducer_id\x18\x02 \x01(\x03\x12\x10\n\x08\x62rick_id\x18\x03 \x01(\x03\x12\x12\n\nprc_status\x18\x04 \x01(\x05\x12\x12\n\nstart_time\x18\x05 \x01(\t\x12\x10\n\x08\x65nd_time\x18\x06 \x01(\t\x12\r\n\x05limit\x18\x07 \x01(\x05\"\x9e\x01\n\x0f\x46indRunningResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12H\n\x07records\x18\x04 \x03(\x0b\x32\x37.dfs.facility.level2producer.Level2ProducerRuningRecord2\xfd\n\n\x11Level2ProducerSrv\x12\x61\n\x08Register\x12(.dfs.facility.level2producer.RegisterReq\x1a).dfs.facility.level2producer.RegisterResp\"\x00\x12U\n\x04\x46ind\x12$.dfs.facility.level2producer.FindReq\x1a%.dfs.facility.level2producer.FindResp\"\x00\x12\x64\n\tFindNexts\x12).dfs.facility.level2producer.FindNextsReq\x1a*.dfs.facility.level2producer.FindNextsResp\"\x00\x12\x64\n\tFindStart\x12).dfs.facility.level2producer.FindStartReq\x1a*.dfs.facility.level2producer.FindStartResp\"\x00\x12R\n\x03Get\x12#.dfs.facility.level2producer.GetReq\x1a$.dfs.facility.level2producer.GetResp\"\x00\x12[\n\x06Update\x12&.dfs.facility.level2producer.UpdateReq\x1a\'.dfs.facility.level2producer.UpdateResp\"\x00\x12[\n\x06\x44\x65lete\x12&.dfs.facility.level2producer.DeleteReq\x1a\'.dfs.facility.level2producer.DeleteResp\"\x00\x12[\n\x06NewJob\x12&.dfs.facility.level2producer.NewJobReq\x1a\'.dfs.facility.level2producer.NewJobResp\"\x00\x12[\n\x06GetJob\x12&.dfs.facility.level2producer.GetJobReq\x1a\'.dfs.facility.level2producer.GetJobResp\"\x00\x12\x64\n\tUpdateJob\x12).dfs.facility.level2producer.UpdateJobReq\x1a*.dfs.facility.level2producer.UpdateJobResp\"\x00\x12m\n\x0cWriteRunning\x12,.dfs.facility.level2producer.WriteRunningReq\x1a-.dfs.facility.level2producer.WriteRunningResp\"\x00\x12g\n\nGetRunning\x12*.dfs.facility.level2producer.GetRunningReq\x1a+.dfs.facility.level2producer.GetRunningResp\"\x00\x12p\n\rUpdateRunning\x12-.dfs.facility.level2producer.UpdateRunningReq\x1a..dfs.facility.level2producer.UpdateRunningResp\"\x00\x12j\n\x0b\x46indRunning\x12+.dfs.facility.level2producer.FindRunningReq\x1a,.dfs.facility.level2producer.FindRunningResp\"\x00\x42.Z,cnlab.net/csst/proto/facility/level2producerb\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'facility.level2producer.level2producer_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z,cnlab.net/csst/proto/facility/level2producer' + _LEVEL2PRODUCERRECORD._serialized_start=98 + _LEVEL2PRODUCERRECORD._serialized_end=281 + _LEVEL2JOBRECORD._serialized_start=283 + _LEVEL2JOBRECORD._serialized_end=397 + _LEVEL2PRODUCERRUNINGRECORD._serialized_start=400 + _LEVEL2PRODUCERRUNINGRECORD._serialized_end=615 + _REGISTERREQ._serialized_start=617 + _REGISTERREQ._serialized_end=697 + _REGISTERRESP._serialized_start=700 + _REGISTERRESP._serialized_end=828 + _FINDREQ._serialized_start=830 + _FINDREQ._serialized_end=867 + _FINDRESP._serialized_start=870 + _FINDRESP._serialized_end=1015 + _FINDSTARTREQ._serialized_start=1017 + _FINDSTARTREQ._serialized_end=1044 + _FINDSTARTRESP._serialized_start=1047 + _FINDSTARTRESP._serialized_end=1197 + _FINDNEXTSREQ._serialized_start=1199 + _FINDNEXTSREQ._serialized_end=1225 + _FINDNEXTSRESP._serialized_start=1228 + _FINDNEXTSRESP._serialized_end=1378 + _GETREQ._serialized_start=1380 + _GETREQ._serialized_end=1400 + _GETRESP._serialized_start=1402 + _GETRESP._serialized_end=1478 + _UPDATEREQ._serialized_start=1480 + _UPDATEREQ._serialized_end=1558 + _UPDATERESP._serialized_start=1560 + _UPDATERESP._serialized_end=1619 + _DELETEREQ._serialized_start=1621 + _DELETEREQ._serialized_end=1644 + _DELETERESP._serialized_start=1646 + _DELETERESP._serialized_end=1705 + _NEWJOBREQ._serialized_start=1707 + _NEWJOBREQ._serialized_end=1780 + _NEWJOBRESP._serialized_start=1782 + _NEWJOBRESP._serialized_end=1903 + _GETJOBREQ._serialized_start=1905 + _GETJOBREQ._serialized_end=1928 + _GETJOBRESP._serialized_start=1930 + _GETJOBRESP._serialized_end=2004 + _UPDATEJOBREQ._serialized_start=2006 + _UPDATEJOBREQ._serialized_end=2082 + _UPDATEJOBRESP._serialized_start=2084 + _UPDATEJOBRESP._serialized_end=2146 + _WRITERUNNINGREQ._serialized_start=2148 + _WRITERUNNINGREQ._serialized_end=2238 + _WRITERUNNINGRESP._serialized_start=2241 + _WRITERUNNINGRESP._serialized_end=2379 + _GETRUNNINGREQ._serialized_start=2381 + _GETRUNNINGREQ._serialized_end=2408 + _GETRUNNINGRESP._serialized_start=2410 + _GETRUNNINGRESP._serialized_end=2499 + _UPDATERUNNINGREQ._serialized_start=2501 + _UPDATERUNNINGREQ._serialized_end=2592 + _UPDATERUNNINGRESP._serialized_start=2594 + _UPDATERUNNINGRESP._serialized_end=2660 + _FINDRUNNINGREQ._serialized_start=2663 + _FINDRUNNINGREQ._serialized_end=2807 + _FINDRUNNINGRESP._serialized_start=2810 + _FINDRUNNINGRESP._serialized_end=2968 + _LEVEL2PRODUCERSRV._serialized_start=2971 + _LEVEL2PRODUCERSRV._serialized_end=4376 # @@protoc_insertion_point(module_scope) diff --git a/csst_dfs_proto/facility/level2producer/level2producer_pb2_grpc.py b/csst_dfs_proto/facility/level2producer/level2producer_pb2_grpc.py index 34ec70a..0994666 100644 --- a/csst_dfs_proto/facility/level2producer/level2producer_pb2_grpc.py +++ b/csst_dfs_proto/facility/level2producer/level2producer_pb2_grpc.py @@ -1,267 +1,495 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from . import level2producer_pb2 as facility_dot_level2producer_dot_level2producer__pb2 class Level2ProducerSrvStub(object): - # missing associated documentation comment in .proto file - pass - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Register = channel.unary_unary( - '/dfs.facility.level2producer.Level2ProducerSrv/Register', - request_serializer=facility_dot_level2producer_dot_level2producer__pb2.RegisterReq.SerializeToString, - response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.RegisterResp.FromString, - ) - self.Find = channel.unary_unary( - '/dfs.facility.level2producer.Level2ProducerSrv/Find', - request_serializer=facility_dot_level2producer_dot_level2producer__pb2.FindReq.SerializeToString, - response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.FindResp.FromString, - ) - self.FindNexts = channel.unary_unary( - '/dfs.facility.level2producer.Level2ProducerSrv/FindNexts', - request_serializer=facility_dot_level2producer_dot_level2producer__pb2.FindNextsReq.SerializeToString, - response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.FindNextsResp.FromString, - ) - self.FindStart = channel.unary_unary( - '/dfs.facility.level2producer.Level2ProducerSrv/FindStart', - request_serializer=facility_dot_level2producer_dot_level2producer__pb2.FindStartReq.SerializeToString, - response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.FindStartResp.FromString, - ) - self.Get = channel.unary_unary( - '/dfs.facility.level2producer.Level2ProducerSrv/Get', - request_serializer=facility_dot_level2producer_dot_level2producer__pb2.GetReq.SerializeToString, - response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.GetResp.FromString, - ) - self.Update = channel.unary_unary( - '/dfs.facility.level2producer.Level2ProducerSrv/Update', - request_serializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateReq.SerializeToString, - response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateResp.FromString, - ) - self.Delete = channel.unary_unary( - '/dfs.facility.level2producer.Level2ProducerSrv/Delete', - request_serializer=facility_dot_level2producer_dot_level2producer__pb2.DeleteReq.SerializeToString, - response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.DeleteResp.FromString, - ) - self.NewJob = channel.unary_unary( - '/dfs.facility.level2producer.Level2ProducerSrv/NewJob', - request_serializer=facility_dot_level2producer_dot_level2producer__pb2.NewJobReq.SerializeToString, - response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.NewJobResp.FromString, - ) - self.GetJob = channel.unary_unary( - '/dfs.facility.level2producer.Level2ProducerSrv/GetJob', - request_serializer=facility_dot_level2producer_dot_level2producer__pb2.GetJobReq.SerializeToString, - response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.GetJobResp.FromString, - ) - self.UpdateJob = channel.unary_unary( - '/dfs.facility.level2producer.Level2ProducerSrv/UpdateJob', - request_serializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateJobReq.SerializeToString, - response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateJobResp.FromString, - ) - self.WriteRunning = channel.unary_unary( - '/dfs.facility.level2producer.Level2ProducerSrv/WriteRunning', - request_serializer=facility_dot_level2producer_dot_level2producer__pb2.WriteRunningReq.SerializeToString, - response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.WriteRunningResp.FromString, - ) - self.GetRunning = channel.unary_unary( - '/dfs.facility.level2producer.Level2ProducerSrv/GetRunning', - request_serializer=facility_dot_level2producer_dot_level2producer__pb2.GetRunningReq.SerializeToString, - response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.GetRunningResp.FromString, - ) - self.UpdateRunning = channel.unary_unary( - '/dfs.facility.level2producer.Level2ProducerSrv/UpdateRunning', - request_serializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateRunningReq.SerializeToString, - response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateRunningResp.FromString, - ) - self.FindRunning = channel.unary_unary( - '/dfs.facility.level2producer.Level2ProducerSrv/FindRunning', - request_serializer=facility_dot_level2producer_dot_level2producer__pb2.FindRunningReq.SerializeToString, - response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.FindRunningResp.FromString, - ) + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Register = channel.unary_unary( + '/dfs.facility.level2producer.Level2ProducerSrv/Register', + request_serializer=facility_dot_level2producer_dot_level2producer__pb2.RegisterReq.SerializeToString, + response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.RegisterResp.FromString, + ) + self.Find = channel.unary_unary( + '/dfs.facility.level2producer.Level2ProducerSrv/Find', + request_serializer=facility_dot_level2producer_dot_level2producer__pb2.FindReq.SerializeToString, + response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.FindResp.FromString, + ) + self.FindNexts = channel.unary_unary( + '/dfs.facility.level2producer.Level2ProducerSrv/FindNexts', + request_serializer=facility_dot_level2producer_dot_level2producer__pb2.FindNextsReq.SerializeToString, + response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.FindNextsResp.FromString, + ) + self.FindStart = channel.unary_unary( + '/dfs.facility.level2producer.Level2ProducerSrv/FindStart', + request_serializer=facility_dot_level2producer_dot_level2producer__pb2.FindStartReq.SerializeToString, + response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.FindStartResp.FromString, + ) + self.Get = channel.unary_unary( + '/dfs.facility.level2producer.Level2ProducerSrv/Get', + request_serializer=facility_dot_level2producer_dot_level2producer__pb2.GetReq.SerializeToString, + response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.GetResp.FromString, + ) + self.Update = channel.unary_unary( + '/dfs.facility.level2producer.Level2ProducerSrv/Update', + request_serializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateReq.SerializeToString, + response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateResp.FromString, + ) + self.Delete = channel.unary_unary( + '/dfs.facility.level2producer.Level2ProducerSrv/Delete', + request_serializer=facility_dot_level2producer_dot_level2producer__pb2.DeleteReq.SerializeToString, + response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.DeleteResp.FromString, + ) + self.NewJob = channel.unary_unary( + '/dfs.facility.level2producer.Level2ProducerSrv/NewJob', + request_serializer=facility_dot_level2producer_dot_level2producer__pb2.NewJobReq.SerializeToString, + response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.NewJobResp.FromString, + ) + self.GetJob = channel.unary_unary( + '/dfs.facility.level2producer.Level2ProducerSrv/GetJob', + request_serializer=facility_dot_level2producer_dot_level2producer__pb2.GetJobReq.SerializeToString, + response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.GetJobResp.FromString, + ) + self.UpdateJob = channel.unary_unary( + '/dfs.facility.level2producer.Level2ProducerSrv/UpdateJob', + request_serializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateJobReq.SerializeToString, + response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateJobResp.FromString, + ) + self.WriteRunning = channel.unary_unary( + '/dfs.facility.level2producer.Level2ProducerSrv/WriteRunning', + request_serializer=facility_dot_level2producer_dot_level2producer__pb2.WriteRunningReq.SerializeToString, + response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.WriteRunningResp.FromString, + ) + self.GetRunning = channel.unary_unary( + '/dfs.facility.level2producer.Level2ProducerSrv/GetRunning', + request_serializer=facility_dot_level2producer_dot_level2producer__pb2.GetRunningReq.SerializeToString, + response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.GetRunningResp.FromString, + ) + self.UpdateRunning = channel.unary_unary( + '/dfs.facility.level2producer.Level2ProducerSrv/UpdateRunning', + request_serializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateRunningReq.SerializeToString, + response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateRunningResp.FromString, + ) + self.FindRunning = channel.unary_unary( + '/dfs.facility.level2producer.Level2ProducerSrv/FindRunning', + request_serializer=facility_dot_level2producer_dot_level2producer__pb2.FindRunningReq.SerializeToString, + response_deserializer=facility_dot_level2producer_dot_level2producer__pb2.FindRunningResp.FromString, + ) class Level2ProducerSrvServicer(object): - # missing associated documentation comment in .proto file - pass - - def Register(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Find(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def FindNexts(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def FindStart(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Get(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Update(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Delete(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def NewJob(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetJob(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateJob(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def WriteRunning(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def GetRunning(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateRunning(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def FindRunning(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + """Missing associated documentation comment in .proto file.""" + + def Register(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Find(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def FindNexts(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def FindStart(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Get(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Update(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Delete(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def NewJob(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetJob(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateJob(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def WriteRunning(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def GetRunning(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateRunning(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def FindRunning(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_Level2ProducerSrvServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Register': grpc.unary_unary_rpc_method_handler( - servicer.Register, - request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.RegisterReq.FromString, - response_serializer=facility_dot_level2producer_dot_level2producer__pb2.RegisterResp.SerializeToString, - ), - 'Find': grpc.unary_unary_rpc_method_handler( - servicer.Find, - request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.FindReq.FromString, - response_serializer=facility_dot_level2producer_dot_level2producer__pb2.FindResp.SerializeToString, - ), - 'FindNexts': grpc.unary_unary_rpc_method_handler( - servicer.FindNexts, - request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.FindNextsReq.FromString, - response_serializer=facility_dot_level2producer_dot_level2producer__pb2.FindNextsResp.SerializeToString, - ), - 'FindStart': grpc.unary_unary_rpc_method_handler( - servicer.FindStart, - request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.FindStartReq.FromString, - response_serializer=facility_dot_level2producer_dot_level2producer__pb2.FindStartResp.SerializeToString, - ), - 'Get': grpc.unary_unary_rpc_method_handler( - servicer.Get, - request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.GetReq.FromString, - response_serializer=facility_dot_level2producer_dot_level2producer__pb2.GetResp.SerializeToString, - ), - 'Update': grpc.unary_unary_rpc_method_handler( - servicer.Update, - request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateReq.FromString, - response_serializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateResp.SerializeToString, - ), - 'Delete': grpc.unary_unary_rpc_method_handler( - servicer.Delete, - request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.DeleteReq.FromString, - response_serializer=facility_dot_level2producer_dot_level2producer__pb2.DeleteResp.SerializeToString, - ), - 'NewJob': grpc.unary_unary_rpc_method_handler( - servicer.NewJob, - request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.NewJobReq.FromString, - response_serializer=facility_dot_level2producer_dot_level2producer__pb2.NewJobResp.SerializeToString, - ), - 'GetJob': grpc.unary_unary_rpc_method_handler( - servicer.GetJob, - request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.GetJobReq.FromString, - response_serializer=facility_dot_level2producer_dot_level2producer__pb2.GetJobResp.SerializeToString, - ), - 'UpdateJob': grpc.unary_unary_rpc_method_handler( - servicer.UpdateJob, - request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateJobReq.FromString, - response_serializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateJobResp.SerializeToString, - ), - 'WriteRunning': grpc.unary_unary_rpc_method_handler( - servicer.WriteRunning, - request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.WriteRunningReq.FromString, - response_serializer=facility_dot_level2producer_dot_level2producer__pb2.WriteRunningResp.SerializeToString, - ), - 'GetRunning': grpc.unary_unary_rpc_method_handler( - servicer.GetRunning, - request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.GetRunningReq.FromString, - response_serializer=facility_dot_level2producer_dot_level2producer__pb2.GetRunningResp.SerializeToString, - ), - 'UpdateRunning': grpc.unary_unary_rpc_method_handler( - servicer.UpdateRunning, - request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateRunningReq.FromString, - response_serializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateRunningResp.SerializeToString, - ), - 'FindRunning': grpc.unary_unary_rpc_method_handler( - servicer.FindRunning, - request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.FindRunningReq.FromString, - response_serializer=facility_dot_level2producer_dot_level2producer__pb2.FindRunningResp.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'dfs.facility.level2producer.Level2ProducerSrv', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) + rpc_method_handlers = { + 'Register': grpc.unary_unary_rpc_method_handler( + servicer.Register, + request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.RegisterReq.FromString, + response_serializer=facility_dot_level2producer_dot_level2producer__pb2.RegisterResp.SerializeToString, + ), + 'Find': grpc.unary_unary_rpc_method_handler( + servicer.Find, + request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.FindReq.FromString, + response_serializer=facility_dot_level2producer_dot_level2producer__pb2.FindResp.SerializeToString, + ), + 'FindNexts': grpc.unary_unary_rpc_method_handler( + servicer.FindNexts, + request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.FindNextsReq.FromString, + response_serializer=facility_dot_level2producer_dot_level2producer__pb2.FindNextsResp.SerializeToString, + ), + 'FindStart': grpc.unary_unary_rpc_method_handler( + servicer.FindStart, + request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.FindStartReq.FromString, + response_serializer=facility_dot_level2producer_dot_level2producer__pb2.FindStartResp.SerializeToString, + ), + 'Get': grpc.unary_unary_rpc_method_handler( + servicer.Get, + request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.GetReq.FromString, + response_serializer=facility_dot_level2producer_dot_level2producer__pb2.GetResp.SerializeToString, + ), + 'Update': grpc.unary_unary_rpc_method_handler( + servicer.Update, + request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateReq.FromString, + response_serializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateResp.SerializeToString, + ), + 'Delete': grpc.unary_unary_rpc_method_handler( + servicer.Delete, + request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.DeleteReq.FromString, + response_serializer=facility_dot_level2producer_dot_level2producer__pb2.DeleteResp.SerializeToString, + ), + 'NewJob': grpc.unary_unary_rpc_method_handler( + servicer.NewJob, + request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.NewJobReq.FromString, + response_serializer=facility_dot_level2producer_dot_level2producer__pb2.NewJobResp.SerializeToString, + ), + 'GetJob': grpc.unary_unary_rpc_method_handler( + servicer.GetJob, + request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.GetJobReq.FromString, + response_serializer=facility_dot_level2producer_dot_level2producer__pb2.GetJobResp.SerializeToString, + ), + 'UpdateJob': grpc.unary_unary_rpc_method_handler( + servicer.UpdateJob, + request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateJobReq.FromString, + response_serializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateJobResp.SerializeToString, + ), + 'WriteRunning': grpc.unary_unary_rpc_method_handler( + servicer.WriteRunning, + request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.WriteRunningReq.FromString, + response_serializer=facility_dot_level2producer_dot_level2producer__pb2.WriteRunningResp.SerializeToString, + ), + 'GetRunning': grpc.unary_unary_rpc_method_handler( + servicer.GetRunning, + request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.GetRunningReq.FromString, + response_serializer=facility_dot_level2producer_dot_level2producer__pb2.GetRunningResp.SerializeToString, + ), + 'UpdateRunning': grpc.unary_unary_rpc_method_handler( + servicer.UpdateRunning, + request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateRunningReq.FromString, + response_serializer=facility_dot_level2producer_dot_level2producer__pb2.UpdateRunningResp.SerializeToString, + ), + 'FindRunning': grpc.unary_unary_rpc_method_handler( + servicer.FindRunning, + request_deserializer=facility_dot_level2producer_dot_level2producer__pb2.FindRunningReq.FromString, + response_serializer=facility_dot_level2producer_dot_level2producer__pb2.FindRunningResp.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'dfs.facility.level2producer.Level2ProducerSrv', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class Level2ProducerSrv(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def Register(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.level2producer.Level2ProducerSrv/Register', + facility_dot_level2producer_dot_level2producer__pb2.RegisterReq.SerializeToString, + facility_dot_level2producer_dot_level2producer__pb2.RegisterResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Find(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.level2producer.Level2ProducerSrv/Find', + facility_dot_level2producer_dot_level2producer__pb2.FindReq.SerializeToString, + facility_dot_level2producer_dot_level2producer__pb2.FindResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def FindNexts(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.level2producer.Level2ProducerSrv/FindNexts', + facility_dot_level2producer_dot_level2producer__pb2.FindNextsReq.SerializeToString, + facility_dot_level2producer_dot_level2producer__pb2.FindNextsResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def FindStart(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.level2producer.Level2ProducerSrv/FindStart', + facility_dot_level2producer_dot_level2producer__pb2.FindStartReq.SerializeToString, + facility_dot_level2producer_dot_level2producer__pb2.FindStartResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Get(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.level2producer.Level2ProducerSrv/Get', + facility_dot_level2producer_dot_level2producer__pb2.GetReq.SerializeToString, + facility_dot_level2producer_dot_level2producer__pb2.GetResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Update(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.level2producer.Level2ProducerSrv/Update', + facility_dot_level2producer_dot_level2producer__pb2.UpdateReq.SerializeToString, + facility_dot_level2producer_dot_level2producer__pb2.UpdateResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Delete(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.level2producer.Level2ProducerSrv/Delete', + facility_dot_level2producer_dot_level2producer__pb2.DeleteReq.SerializeToString, + facility_dot_level2producer_dot_level2producer__pb2.DeleteResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def NewJob(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.level2producer.Level2ProducerSrv/NewJob', + facility_dot_level2producer_dot_level2producer__pb2.NewJobReq.SerializeToString, + facility_dot_level2producer_dot_level2producer__pb2.NewJobResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetJob(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.level2producer.Level2ProducerSrv/GetJob', + facility_dot_level2producer_dot_level2producer__pb2.GetJobReq.SerializeToString, + facility_dot_level2producer_dot_level2producer__pb2.GetJobResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def UpdateJob(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.level2producer.Level2ProducerSrv/UpdateJob', + facility_dot_level2producer_dot_level2producer__pb2.UpdateJobReq.SerializeToString, + facility_dot_level2producer_dot_level2producer__pb2.UpdateJobResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def WriteRunning(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.level2producer.Level2ProducerSrv/WriteRunning', + facility_dot_level2producer_dot_level2producer__pb2.WriteRunningReq.SerializeToString, + facility_dot_level2producer_dot_level2producer__pb2.WriteRunningResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def GetRunning(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.level2producer.Level2ProducerSrv/GetRunning', + facility_dot_level2producer_dot_level2producer__pb2.GetRunningReq.SerializeToString, + facility_dot_level2producer_dot_level2producer__pb2.GetRunningResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def UpdateRunning(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.level2producer.Level2ProducerSrv/UpdateRunning', + facility_dot_level2producer_dot_level2producer__pb2.UpdateRunningReq.SerializeToString, + facility_dot_level2producer_dot_level2producer__pb2.UpdateRunningResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def FindRunning(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.level2producer.Level2ProducerSrv/FindRunning', + facility_dot_level2producer_dot_level2producer__pb2.FindRunningReq.SerializeToString, + facility_dot_level2producer_dot_level2producer__pb2.FindRunningResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/csst_dfs_proto/facility/observation/observation_pb2.py b/csst_dfs_proto/facility/observation/observation_pb2.py index 45c52ff..fa688ee 100644 --- a/csst_dfs_proto/facility/observation/observation_pb2.py +++ b/csst_dfs_proto/facility/observation/observation_pb2.py @@ -1,12 +1,10 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: facility/observation/observation.proto - -import sys -_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder 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 descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -16,788 +14,40 @@ _sym_db = _symbol_database.Default() from ...common import error_pb2 as common_dot_error__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='facility/observation/observation.proto', - package='dfs.facility.observation', - syntax='proto3', - serialized_options=_b('Z)cnlab.net/csst/proto/facility/observation'), - serialized_pb=_b('\n&facility/observation/observation.proto\x12\x18\x64\x66s.facility.observation\x1a\x12\x63ommon/error.proto\"\xa0\x02\n\x0bObservation\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06obs_id\x18\x02 \x01(\t\x12\x10\n\x08obs_time\x18\x03 \x01(\t\x12\x10\n\x08\x65xp_time\x18\x04 \x01(\x02\x12\x11\n\tmodule_id\x18\x05 \x01(\t\x12\x10\n\x08obs_type\x18\x06 \x01(\t\x12\x1a\n\x12\x66\x61\x63ility_status_id\x18\x07 \x01(\x03\x12\x18\n\x10module_status_id\x18\x08 \x01(\x03\x12\x12\n\nqc0_status\x18\t \x01(\x05\x12\x10\n\x08qc0_time\x18\n \x01(\t\x12\x12\n\nprc_status\x18\x0b \x01(\x05\x12\x10\n\x08prc_time\x18\x0c \x01(\t\x12\x13\n\x0b\x63reate_time\x18\r \x01(\t\x12\x15\n\rimport_status\x18\x0e \x01(\x05\"\xb3\x02\n\x12\x46indObservationReq\x12\x11\n\tmodule_id\x18\x01 \x01(\t\x12\x10\n\x08obs_type\x18\x02 \x01(\t\x12\x16\n\x0e\x65xp_time_start\x18\x03 \x01(\t\x12\x14\n\x0c\x65xp_time_end\x18\x04 \x01(\t\x12\x12\n\nqc0_status\x18\x05 \x01(\x05\x12\x12\n\nprc_status\x18\x06 \x01(\x05\x12\r\n\x05limit\x18\x07 \x01(\x05\x12[\n\x10other_conditions\x18\x08 \x03(\x0b\x32\x41.dfs.facility.observation.FindObservationReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x90\x01\n\x13\x46indObservationResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x36\n\x07records\x18\x04 \x03(\x0b\x32%.dfs.facility.observation.Observation\"/\n\x11GetObservationReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06obs_id\x18\x02 \x01(\t\"P\n\x12GetObservationResp\x12:\n\x0bobservation\x18\x01 \x01(\x0b\x32%.dfs.facility.observation.Observation\"L\n\x13WriteObservationReq\x12\x35\n\x06record\x18\x01 \x01(\x0b\x32%.dfs.facility.observation.Observation\"|\n\x14WriteObservationResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x35\n\x06record\x18\x03 \x01(\x0b\x32%.dfs.facility.observation.Observation\"@\n\x12UpdateQc0StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06obs_id\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x05\"D\n\x13UpdateQc0StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"A\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06obs_id\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xac\x04\n\x0eObservationSrv\x12\x65\n\x04\x46ind\x12,.dfs.facility.observation.FindObservationReq\x1a-.dfs.facility.observation.FindObservationResp\"\x00\x12\x62\n\x03Get\x12+.dfs.facility.observation.GetObservationReq\x1a,.dfs.facility.observation.GetObservationResp\"\x00\x12h\n\x05Write\x12-.dfs.facility.observation.WriteObservationReq\x1a..dfs.facility.observation.WriteObservationResp\"\x00\x12p\n\x0fUpdateQc0Status\x12,.dfs.facility.observation.UpdateQc0StatusReq\x1a-.dfs.facility.observation.UpdateQc0StatusResp\"\x00\x12s\n\x10UpdateProcStatus\x12-.dfs.facility.observation.UpdateProcStatusReq\x1a..dfs.facility.observation.UpdateProcStatusResp\"\x00\x42+Z)cnlab.net/csst/proto/facility/observationb\x06proto3') - , - dependencies=[common_dot_error__pb2.DESCRIPTOR,]) - - - - -_OBSERVATION = _descriptor.Descriptor( - name='Observation', - full_name='dfs.facility.observation.Observation', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.observation.Observation.id', 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), - _descriptor.FieldDescriptor( - name='obs_id', full_name='dfs.facility.observation.Observation.obs_id', 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), - _descriptor.FieldDescriptor( - name='obs_time', full_name='dfs.facility.observation.Observation.obs_time', index=2, - number=3, 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='exp_time', full_name='dfs.facility.observation.Observation.exp_time', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='module_id', full_name='dfs.facility.observation.Observation.module_id', index=4, - number=5, 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='obs_type', full_name='dfs.facility.observation.Observation.obs_type', index=5, - number=6, 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='facility_status_id', full_name='dfs.facility.observation.Observation.facility_status_id', index=6, - number=7, 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), - _descriptor.FieldDescriptor( - name='module_status_id', full_name='dfs.facility.observation.Observation.module_status_id', index=7, - number=8, 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), - _descriptor.FieldDescriptor( - name='qc0_status', full_name='dfs.facility.observation.Observation.qc0_status', index=8, - number=9, type=5, cpp_type=1, 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='qc0_time', full_name='dfs.facility.observation.Observation.qc0_time', index=9, - number=10, 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='prc_status', full_name='dfs.facility.observation.Observation.prc_status', index=10, - number=11, type=5, cpp_type=1, 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='prc_time', full_name='dfs.facility.observation.Observation.prc_time', index=11, - number=12, 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='create_time', full_name='dfs.facility.observation.Observation.create_time', index=12, - number=13, 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='import_status', full_name='dfs.facility.observation.Observation.import_status', index=13, - number=14, type=5, cpp_type=1, 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=89, - serialized_end=377, -) - - -_FINDOBSERVATIONREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor( - name='OtherConditionsEntry', - full_name='dfs.facility.observation.FindObservationReq.OtherConditionsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dfs.facility.observation.FindObservationReq.OtherConditionsEntry.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.facility.observation.FindObservationReq.OtherConditionsEntry.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=633, - serialized_end=687, -) - -_FINDOBSERVATIONREQ = _descriptor.Descriptor( - name='FindObservationReq', - full_name='dfs.facility.observation.FindObservationReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='module_id', full_name='dfs.facility.observation.FindObservationReq.module_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='obs_type', full_name='dfs.facility.observation.FindObservationReq.obs_type', 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), - _descriptor.FieldDescriptor( - name='exp_time_start', full_name='dfs.facility.observation.FindObservationReq.exp_time_start', index=2, - number=3, 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='exp_time_end', full_name='dfs.facility.observation.FindObservationReq.exp_time_end', index=3, - number=4, 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='qc0_status', full_name='dfs.facility.observation.FindObservationReq.qc0_status', index=4, - number=5, type=5, cpp_type=1, 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='prc_status', full_name='dfs.facility.observation.FindObservationReq.prc_status', index=5, - number=6, type=5, cpp_type=1, 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='limit', full_name='dfs.facility.observation.FindObservationReq.limit', index=6, - number=7, type=5, cpp_type=1, 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='other_conditions', full_name='dfs.facility.observation.FindObservationReq.other_conditions', index=7, - number=8, 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=[_FINDOBSERVATIONREQ_OTHERCONDITIONSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=380, - serialized_end=687, -) - - -_FINDOBSERVATIONRESP = _descriptor.Descriptor( - name='FindObservationResp', - full_name='dfs.facility.observation.FindObservationResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.observation.FindObservationResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.facility.observation.FindObservationResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.facility.observation.FindObservationResp.error', 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='records', full_name='dfs.facility.observation.FindObservationResp.records', index=3, - number=4, 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=690, - serialized_end=834, -) - - -_GETOBSERVATIONREQ = _descriptor.Descriptor( - name='GetObservationReq', - full_name='dfs.facility.observation.GetObservationReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.observation.GetObservationReq.id', 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), - _descriptor.FieldDescriptor( - name='obs_id', full_name='dfs.facility.observation.GetObservationReq.obs_id', 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=836, - serialized_end=883, -) - - -_GETOBSERVATIONRESP = _descriptor.Descriptor( - name='GetObservationResp', - full_name='dfs.facility.observation.GetObservationResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='observation', full_name='dfs.facility.observation.GetObservationResp.observation', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=885, - serialized_end=965, -) - - -_WRITEOBSERVATIONREQ = _descriptor.Descriptor( - name='WriteObservationReq', - full_name='dfs.facility.observation.WriteObservationReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.facility.observation.WriteObservationReq.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=967, - serialized_end=1043, -) - - -_WRITEOBSERVATIONRESP = _descriptor.Descriptor( - name='WriteObservationResp', - full_name='dfs.facility.observation.WriteObservationResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.observation.WriteObservationResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.observation.WriteObservationResp.error', 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='record', full_name='dfs.facility.observation.WriteObservationResp.record', 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1045, - serialized_end=1169, -) - - -_UPDATEQC0STATUSREQ = _descriptor.Descriptor( - name='UpdateQc0StatusReq', - full_name='dfs.facility.observation.UpdateQc0StatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.observation.UpdateQc0StatusReq.id', 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), - _descriptor.FieldDescriptor( - name='obs_id', full_name='dfs.facility.observation.UpdateQc0StatusReq.obs_id', 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), - _descriptor.FieldDescriptor( - name='status', full_name='dfs.facility.observation.UpdateQc0StatusReq.status', index=2, - number=3, type=5, cpp_type=1, 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=1171, - serialized_end=1235, -) - - -_UPDATEQC0STATUSRESP = _descriptor.Descriptor( - name='UpdateQc0StatusResp', - full_name='dfs.facility.observation.UpdateQc0StatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.observation.UpdateQc0StatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.observation.UpdateQc0StatusResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1237, - serialized_end=1305, -) - - -_UPDATEPROCSTATUSREQ = _descriptor.Descriptor( - name='UpdateProcStatusReq', - full_name='dfs.facility.observation.UpdateProcStatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.facility.observation.UpdateProcStatusReq.id', 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), - _descriptor.FieldDescriptor( - name='obs_id', full_name='dfs.facility.observation.UpdateProcStatusReq.obs_id', 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), - _descriptor.FieldDescriptor( - name='status', full_name='dfs.facility.observation.UpdateProcStatusReq.status', index=2, - number=3, type=5, cpp_type=1, 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=1307, - serialized_end=1372, -) - - -_UPDATEPROCSTATUSRESP = _descriptor.Descriptor( - name='UpdateProcStatusResp', - full_name='dfs.facility.observation.UpdateProcStatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.facility.observation.UpdateProcStatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.facility.observation.UpdateProcStatusResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1374, - serialized_end=1443, -) - -_FINDOBSERVATIONREQ_OTHERCONDITIONSENTRY.containing_type = _FINDOBSERVATIONREQ -_FINDOBSERVATIONREQ.fields_by_name['other_conditions'].message_type = _FINDOBSERVATIONREQ_OTHERCONDITIONSENTRY -_FINDOBSERVATIONRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDOBSERVATIONRESP.fields_by_name['records'].message_type = _OBSERVATION -_GETOBSERVATIONRESP.fields_by_name['observation'].message_type = _OBSERVATION -_WRITEOBSERVATIONREQ.fields_by_name['record'].message_type = _OBSERVATION -_WRITEOBSERVATIONRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_WRITEOBSERVATIONRESP.fields_by_name['record'].message_type = _OBSERVATION -_UPDATEQC0STATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -DESCRIPTOR.message_types_by_name['Observation'] = _OBSERVATION -DESCRIPTOR.message_types_by_name['FindObservationReq'] = _FINDOBSERVATIONREQ -DESCRIPTOR.message_types_by_name['FindObservationResp'] = _FINDOBSERVATIONRESP -DESCRIPTOR.message_types_by_name['GetObservationReq'] = _GETOBSERVATIONREQ -DESCRIPTOR.message_types_by_name['GetObservationResp'] = _GETOBSERVATIONRESP -DESCRIPTOR.message_types_by_name['WriteObservationReq'] = _WRITEOBSERVATIONREQ -DESCRIPTOR.message_types_by_name['WriteObservationResp'] = _WRITEOBSERVATIONRESP -DESCRIPTOR.message_types_by_name['UpdateQc0StatusReq'] = _UPDATEQC0STATUSREQ -DESCRIPTOR.message_types_by_name['UpdateQc0StatusResp'] = _UPDATEQC0STATUSRESP -DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ -DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Observation = _reflection.GeneratedProtocolMessageType('Observation', (_message.Message,), { - 'DESCRIPTOR' : _OBSERVATION, - '__module__' : 'facility.observation.observation_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.observation.Observation) - }) -_sym_db.RegisterMessage(Observation) - -FindObservationReq = _reflection.GeneratedProtocolMessageType('FindObservationReq', (_message.Message,), { - - 'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), { - 'DESCRIPTOR' : _FINDOBSERVATIONREQ_OTHERCONDITIONSENTRY, - '__module__' : 'facility.observation.observation_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.observation.FindObservationReq.OtherConditionsEntry) - }) - , - 'DESCRIPTOR' : _FINDOBSERVATIONREQ, - '__module__' : 'facility.observation.observation_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.observation.FindObservationReq) - }) -_sym_db.RegisterMessage(FindObservationReq) -_sym_db.RegisterMessage(FindObservationReq.OtherConditionsEntry) - -FindObservationResp = _reflection.GeneratedProtocolMessageType('FindObservationResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDOBSERVATIONRESP, - '__module__' : 'facility.observation.observation_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.observation.FindObservationResp) - }) -_sym_db.RegisterMessage(FindObservationResp) - -GetObservationReq = _reflection.GeneratedProtocolMessageType('GetObservationReq', (_message.Message,), { - 'DESCRIPTOR' : _GETOBSERVATIONREQ, - '__module__' : 'facility.observation.observation_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.observation.GetObservationReq) - }) -_sym_db.RegisterMessage(GetObservationReq) - -GetObservationResp = _reflection.GeneratedProtocolMessageType('GetObservationResp', (_message.Message,), { - 'DESCRIPTOR' : _GETOBSERVATIONRESP, - '__module__' : 'facility.observation.observation_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.observation.GetObservationResp) - }) -_sym_db.RegisterMessage(GetObservationResp) - -WriteObservationReq = _reflection.GeneratedProtocolMessageType('WriteObservationReq', (_message.Message,), { - 'DESCRIPTOR' : _WRITEOBSERVATIONREQ, - '__module__' : 'facility.observation.observation_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.observation.WriteObservationReq) - }) -_sym_db.RegisterMessage(WriteObservationReq) - -WriteObservationResp = _reflection.GeneratedProtocolMessageType('WriteObservationResp', (_message.Message,), { - 'DESCRIPTOR' : _WRITEOBSERVATIONRESP, - '__module__' : 'facility.observation.observation_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.observation.WriteObservationResp) - }) -_sym_db.RegisterMessage(WriteObservationResp) - -UpdateQc0StatusReq = _reflection.GeneratedProtocolMessageType('UpdateQc0StatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEQC0STATUSREQ, - '__module__' : 'facility.observation.observation_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.observation.UpdateQc0StatusReq) - }) -_sym_db.RegisterMessage(UpdateQc0StatusReq) - -UpdateQc0StatusResp = _reflection.GeneratedProtocolMessageType('UpdateQc0StatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEQC0STATUSRESP, - '__module__' : 'facility.observation.observation_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.observation.UpdateQc0StatusResp) - }) -_sym_db.RegisterMessage(UpdateQc0StatusResp) - -UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSREQ, - '__module__' : 'facility.observation.observation_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.observation.UpdateProcStatusReq) - }) -_sym_db.RegisterMessage(UpdateProcStatusReq) - -UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSRESP, - '__module__' : 'facility.observation.observation_pb2' - # @@protoc_insertion_point(class_scope:dfs.facility.observation.UpdateProcStatusResp) - }) -_sym_db.RegisterMessage(UpdateProcStatusResp) - - -DESCRIPTOR._options = None -_FINDOBSERVATIONREQ_OTHERCONDITIONSENTRY._options = None - -_OBSERVATIONSRV = _descriptor.ServiceDescriptor( - name='ObservationSrv', - full_name='dfs.facility.observation.ObservationSrv', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=1446, - serialized_end=2002, - methods=[ - _descriptor.MethodDescriptor( - name='Find', - full_name='dfs.facility.observation.ObservationSrv.Find', - index=0, - containing_service=None, - input_type=_FINDOBSERVATIONREQ, - output_type=_FINDOBSERVATIONRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Get', - full_name='dfs.facility.observation.ObservationSrv.Get', - index=1, - containing_service=None, - input_type=_GETOBSERVATIONREQ, - output_type=_GETOBSERVATIONRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Write', - full_name='dfs.facility.observation.ObservationSrv.Write', - index=2, - containing_service=None, - input_type=_WRITEOBSERVATIONREQ, - output_type=_WRITEOBSERVATIONRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateQc0Status', - full_name='dfs.facility.observation.ObservationSrv.UpdateQc0Status', - index=3, - containing_service=None, - input_type=_UPDATEQC0STATUSREQ, - output_type=_UPDATEQC0STATUSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateProcStatus', - full_name='dfs.facility.observation.ObservationSrv.UpdateProcStatus', - index=4, - containing_service=None, - input_type=_UPDATEPROCSTATUSREQ, - output_type=_UPDATEPROCSTATUSRESP, - serialized_options=None, - ), -]) -_sym_db.RegisterServiceDescriptor(_OBSERVATIONSRV) - -DESCRIPTOR.services_by_name['ObservationSrv'] = _OBSERVATIONSRV - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&facility/observation/observation.proto\x12\x18\x64\x66s.facility.observation\x1a\x12\x63ommon/error.proto\"\xa0\x02\n\x0bObservation\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06obs_id\x18\x02 \x01(\t\x12\x10\n\x08obs_time\x18\x03 \x01(\t\x12\x10\n\x08\x65xp_time\x18\x04 \x01(\x02\x12\x11\n\tmodule_id\x18\x05 \x01(\t\x12\x10\n\x08obs_type\x18\x06 \x01(\t\x12\x1a\n\x12\x66\x61\x63ility_status_id\x18\x07 \x01(\x03\x12\x18\n\x10module_status_id\x18\x08 \x01(\x03\x12\x12\n\nqc0_status\x18\t \x01(\x05\x12\x10\n\x08qc0_time\x18\n \x01(\t\x12\x12\n\nprc_status\x18\x0b \x01(\x05\x12\x10\n\x08prc_time\x18\x0c \x01(\t\x12\x13\n\x0b\x63reate_time\x18\r \x01(\t\x12\x15\n\rimport_status\x18\x0e \x01(\x05\"\xb3\x02\n\x12\x46indObservationReq\x12\x11\n\tmodule_id\x18\x01 \x01(\t\x12\x10\n\x08obs_type\x18\x02 \x01(\t\x12\x16\n\x0e\x65xp_time_start\x18\x03 \x01(\t\x12\x14\n\x0c\x65xp_time_end\x18\x04 \x01(\t\x12\x12\n\nqc0_status\x18\x05 \x01(\x05\x12\x12\n\nprc_status\x18\x06 \x01(\x05\x12\r\n\x05limit\x18\x07 \x01(\x05\x12[\n\x10other_conditions\x18\x08 \x03(\x0b\x32\x41.dfs.facility.observation.FindObservationReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x90\x01\n\x13\x46indObservationResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x36\n\x07records\x18\x04 \x03(\x0b\x32%.dfs.facility.observation.Observation\"/\n\x11GetObservationReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06obs_id\x18\x02 \x01(\t\"P\n\x12GetObservationResp\x12:\n\x0bobservation\x18\x01 \x01(\x0b\x32%.dfs.facility.observation.Observation\"L\n\x13WriteObservationReq\x12\x35\n\x06record\x18\x01 \x01(\x0b\x32%.dfs.facility.observation.Observation\"|\n\x14WriteObservationResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x35\n\x06record\x18\x03 \x01(\x0b\x32%.dfs.facility.observation.Observation\"@\n\x12UpdateQc0StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06obs_id\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x05\"D\n\x13UpdateQc0StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"A\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06obs_id\x18\x02 \x01(\t\x12\x0e\n\x06status\x18\x03 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xac\x04\n\x0eObservationSrv\x12\x65\n\x04\x46ind\x12,.dfs.facility.observation.FindObservationReq\x1a-.dfs.facility.observation.FindObservationResp\"\x00\x12\x62\n\x03Get\x12+.dfs.facility.observation.GetObservationReq\x1a,.dfs.facility.observation.GetObservationResp\"\x00\x12h\n\x05Write\x12-.dfs.facility.observation.WriteObservationReq\x1a..dfs.facility.observation.WriteObservationResp\"\x00\x12p\n\x0fUpdateQc0Status\x12,.dfs.facility.observation.UpdateQc0StatusReq\x1a-.dfs.facility.observation.UpdateQc0StatusResp\"\x00\x12s\n\x10UpdateProcStatus\x12-.dfs.facility.observation.UpdateProcStatusReq\x1a..dfs.facility.observation.UpdateProcStatusResp\"\x00\x42+Z)cnlab.net/csst/proto/facility/observationb\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'facility.observation.observation_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z)cnlab.net/csst/proto/facility/observation' + _FINDOBSERVATIONREQ_OTHERCONDITIONSENTRY._options = None + _FINDOBSERVATIONREQ_OTHERCONDITIONSENTRY._serialized_options = b'8\001' + _OBSERVATION._serialized_start=89 + _OBSERVATION._serialized_end=377 + _FINDOBSERVATIONREQ._serialized_start=380 + _FINDOBSERVATIONREQ._serialized_end=687 + _FINDOBSERVATIONREQ_OTHERCONDITIONSENTRY._serialized_start=633 + _FINDOBSERVATIONREQ_OTHERCONDITIONSENTRY._serialized_end=687 + _FINDOBSERVATIONRESP._serialized_start=690 + _FINDOBSERVATIONRESP._serialized_end=834 + _GETOBSERVATIONREQ._serialized_start=836 + _GETOBSERVATIONREQ._serialized_end=883 + _GETOBSERVATIONRESP._serialized_start=885 + _GETOBSERVATIONRESP._serialized_end=965 + _WRITEOBSERVATIONREQ._serialized_start=967 + _WRITEOBSERVATIONREQ._serialized_end=1043 + _WRITEOBSERVATIONRESP._serialized_start=1045 + _WRITEOBSERVATIONRESP._serialized_end=1169 + _UPDATEQC0STATUSREQ._serialized_start=1171 + _UPDATEQC0STATUSREQ._serialized_end=1235 + _UPDATEQC0STATUSRESP._serialized_start=1237 + _UPDATEQC0STATUSRESP._serialized_end=1305 + _UPDATEPROCSTATUSREQ._serialized_start=1307 + _UPDATEPROCSTATUSREQ._serialized_end=1372 + _UPDATEPROCSTATUSRESP._serialized_start=1374 + _UPDATEPROCSTATUSRESP._serialized_end=1443 + _OBSERVATIONSRV._serialized_start=1446 + _OBSERVATIONSRV._serialized_end=2002 # @@protoc_insertion_point(module_scope) diff --git a/csst_dfs_proto/facility/observation/observation_pb2_grpc.py b/csst_dfs_proto/facility/observation/observation_pb2_grpc.py index f74f0ec..e084a09 100644 --- a/csst_dfs_proto/facility/observation/observation_pb2_grpc.py +++ b/csst_dfs_proto/facility/observation/observation_pb2_grpc.py @@ -1,114 +1,198 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from . import observation_pb2 as facility_dot_observation_dot_observation__pb2 class ObservationSrvStub(object): - # missing associated documentation comment in .proto file - pass - - def __init__(self, channel): - """Constructor. - - Args: - channel: A grpc.Channel. - """ - self.Find = channel.unary_unary( - '/dfs.facility.observation.ObservationSrv/Find', - request_serializer=facility_dot_observation_dot_observation__pb2.FindObservationReq.SerializeToString, - response_deserializer=facility_dot_observation_dot_observation__pb2.FindObservationResp.FromString, - ) - self.Get = channel.unary_unary( - '/dfs.facility.observation.ObservationSrv/Get', - request_serializer=facility_dot_observation_dot_observation__pb2.GetObservationReq.SerializeToString, - response_deserializer=facility_dot_observation_dot_observation__pb2.GetObservationResp.FromString, - ) - self.Write = channel.unary_unary( - '/dfs.facility.observation.ObservationSrv/Write', - request_serializer=facility_dot_observation_dot_observation__pb2.WriteObservationReq.SerializeToString, - response_deserializer=facility_dot_observation_dot_observation__pb2.WriteObservationResp.FromString, - ) - self.UpdateQc0Status = channel.unary_unary( - '/dfs.facility.observation.ObservationSrv/UpdateQc0Status', - request_serializer=facility_dot_observation_dot_observation__pb2.UpdateQc0StatusReq.SerializeToString, - response_deserializer=facility_dot_observation_dot_observation__pb2.UpdateQc0StatusResp.FromString, - ) - self.UpdateProcStatus = channel.unary_unary( - '/dfs.facility.observation.ObservationSrv/UpdateProcStatus', - request_serializer=facility_dot_observation_dot_observation__pb2.UpdateProcStatusReq.SerializeToString, - response_deserializer=facility_dot_observation_dot_observation__pb2.UpdateProcStatusResp.FromString, - ) + """Missing associated documentation comment in .proto file.""" + + def __init__(self, channel): + """Constructor. + + Args: + channel: A grpc.Channel. + """ + self.Find = channel.unary_unary( + '/dfs.facility.observation.ObservationSrv/Find', + request_serializer=facility_dot_observation_dot_observation__pb2.FindObservationReq.SerializeToString, + response_deserializer=facility_dot_observation_dot_observation__pb2.FindObservationResp.FromString, + ) + self.Get = channel.unary_unary( + '/dfs.facility.observation.ObservationSrv/Get', + request_serializer=facility_dot_observation_dot_observation__pb2.GetObservationReq.SerializeToString, + response_deserializer=facility_dot_observation_dot_observation__pb2.GetObservationResp.FromString, + ) + self.Write = channel.unary_unary( + '/dfs.facility.observation.ObservationSrv/Write', + request_serializer=facility_dot_observation_dot_observation__pb2.WriteObservationReq.SerializeToString, + response_deserializer=facility_dot_observation_dot_observation__pb2.WriteObservationResp.FromString, + ) + self.UpdateQc0Status = channel.unary_unary( + '/dfs.facility.observation.ObservationSrv/UpdateQc0Status', + request_serializer=facility_dot_observation_dot_observation__pb2.UpdateQc0StatusReq.SerializeToString, + response_deserializer=facility_dot_observation_dot_observation__pb2.UpdateQc0StatusResp.FromString, + ) + self.UpdateProcStatus = channel.unary_unary( + '/dfs.facility.observation.ObservationSrv/UpdateProcStatus', + request_serializer=facility_dot_observation_dot_observation__pb2.UpdateProcStatusReq.SerializeToString, + response_deserializer=facility_dot_observation_dot_observation__pb2.UpdateProcStatusResp.FromString, + ) class ObservationSrvServicer(object): - # missing associated documentation comment in .proto file - pass - - def Find(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Get(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def Write(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateQc0Status(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') - - def UpdateProcStatus(self, request, context): - # missing associated documentation comment in .proto file - pass - context.set_code(grpc.StatusCode.UNIMPLEMENTED) - context.set_details('Method not implemented!') - raise NotImplementedError('Method not implemented!') + """Missing associated documentation comment in .proto file.""" + + def Find(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Get(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def Write(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateQc0Status(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') + + def UpdateProcStatus(self, request, context): + """Missing associated documentation comment in .proto file.""" + context.set_code(grpc.StatusCode.UNIMPLEMENTED) + context.set_details('Method not implemented!') + raise NotImplementedError('Method not implemented!') def add_ObservationSrvServicer_to_server(servicer, server): - rpc_method_handlers = { - 'Find': grpc.unary_unary_rpc_method_handler( - servicer.Find, - request_deserializer=facility_dot_observation_dot_observation__pb2.FindObservationReq.FromString, - response_serializer=facility_dot_observation_dot_observation__pb2.FindObservationResp.SerializeToString, - ), - 'Get': grpc.unary_unary_rpc_method_handler( - servicer.Get, - request_deserializer=facility_dot_observation_dot_observation__pb2.GetObservationReq.FromString, - response_serializer=facility_dot_observation_dot_observation__pb2.GetObservationResp.SerializeToString, - ), - 'Write': grpc.unary_unary_rpc_method_handler( - servicer.Write, - request_deserializer=facility_dot_observation_dot_observation__pb2.WriteObservationReq.FromString, - response_serializer=facility_dot_observation_dot_observation__pb2.WriteObservationResp.SerializeToString, - ), - 'UpdateQc0Status': grpc.unary_unary_rpc_method_handler( - servicer.UpdateQc0Status, - request_deserializer=facility_dot_observation_dot_observation__pb2.UpdateQc0StatusReq.FromString, - response_serializer=facility_dot_observation_dot_observation__pb2.UpdateQc0StatusResp.SerializeToString, - ), - 'UpdateProcStatus': grpc.unary_unary_rpc_method_handler( - servicer.UpdateProcStatus, - request_deserializer=facility_dot_observation_dot_observation__pb2.UpdateProcStatusReq.FromString, - response_serializer=facility_dot_observation_dot_observation__pb2.UpdateProcStatusResp.SerializeToString, - ), - } - generic_handler = grpc.method_handlers_generic_handler( - 'dfs.facility.observation.ObservationSrv', rpc_method_handlers) - server.add_generic_rpc_handlers((generic_handler,)) + rpc_method_handlers = { + 'Find': grpc.unary_unary_rpc_method_handler( + servicer.Find, + request_deserializer=facility_dot_observation_dot_observation__pb2.FindObservationReq.FromString, + response_serializer=facility_dot_observation_dot_observation__pb2.FindObservationResp.SerializeToString, + ), + 'Get': grpc.unary_unary_rpc_method_handler( + servicer.Get, + request_deserializer=facility_dot_observation_dot_observation__pb2.GetObservationReq.FromString, + response_serializer=facility_dot_observation_dot_observation__pb2.GetObservationResp.SerializeToString, + ), + 'Write': grpc.unary_unary_rpc_method_handler( + servicer.Write, + request_deserializer=facility_dot_observation_dot_observation__pb2.WriteObservationReq.FromString, + response_serializer=facility_dot_observation_dot_observation__pb2.WriteObservationResp.SerializeToString, + ), + 'UpdateQc0Status': grpc.unary_unary_rpc_method_handler( + servicer.UpdateQc0Status, + request_deserializer=facility_dot_observation_dot_observation__pb2.UpdateQc0StatusReq.FromString, + response_serializer=facility_dot_observation_dot_observation__pb2.UpdateQc0StatusResp.SerializeToString, + ), + 'UpdateProcStatus': grpc.unary_unary_rpc_method_handler( + servicer.UpdateProcStatus, + request_deserializer=facility_dot_observation_dot_observation__pb2.UpdateProcStatusReq.FromString, + response_serializer=facility_dot_observation_dot_observation__pb2.UpdateProcStatusResp.SerializeToString, + ), + } + generic_handler = grpc.method_handlers_generic_handler( + 'dfs.facility.observation.ObservationSrv', rpc_method_handlers) + server.add_generic_rpc_handlers((generic_handler,)) + + + # This class is part of an EXPERIMENTAL API. +class ObservationSrv(object): + """Missing associated documentation comment in .proto file.""" + + @staticmethod + def Find(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.observation.ObservationSrv/Find', + facility_dot_observation_dot_observation__pb2.FindObservationReq.SerializeToString, + facility_dot_observation_dot_observation__pb2.FindObservationResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Get(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.observation.ObservationSrv/Get', + facility_dot_observation_dot_observation__pb2.GetObservationReq.SerializeToString, + facility_dot_observation_dot_observation__pb2.GetObservationResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def Write(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.observation.ObservationSrv/Write', + facility_dot_observation_dot_observation__pb2.WriteObservationReq.SerializeToString, + facility_dot_observation_dot_observation__pb2.WriteObservationResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def UpdateQc0Status(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.observation.ObservationSrv/UpdateQc0Status', + facility_dot_observation_dot_observation__pb2.UpdateQc0StatusReq.SerializeToString, + facility_dot_observation_dot_observation__pb2.UpdateQc0StatusResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) + + @staticmethod + def UpdateProcStatus(request, + target, + options=(), + channel_credentials=None, + call_credentials=None, + insecure=False, + compression=None, + wait_for_ready=None, + timeout=None, + metadata=None): + return grpc.experimental.unary_unary(request, target, '/dfs.facility.observation.ObservationSrv/UpdateProcStatus', + facility_dot_observation_dot_observation__pb2.UpdateProcStatusReq.SerializeToString, + facility_dot_observation_dot_observation__pb2.UpdateProcStatusResp.FromString, + options, channel_credentials, + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/csst_dfs_proto/msc/level2/level2_pb2.py b/csst_dfs_proto/msc/level2/level2_pb2.py index ea9b644..f70b66f 100644 --- a/csst_dfs_proto/msc/level2/level2_pb2.py +++ b/csst_dfs_proto/msc/level2/level2_pb2.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: msc/level2/level2.proto - +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder 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 descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -14,2048 +14,52 @@ _sym_db = _symbol_database.Default() from ...common import error_pb2 as common_dot_error__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='msc/level2/level2.proto', - package='dfs.msc.level2', - syntax='proto3', - serialized_options=b'Z\037cnlab.net/csst/proto/msc/level2', - serialized_pb=b'\n\x17msc/level2/level2.proto\x12\x0e\x64\x66s.msc.level2\x1a\x12\x63ommon/error.proto\"\x97\x02\n\x0cLevel2Record\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x11\n\tlevel1_id\x18\x03 \x01(\x03\x12\x11\n\tdata_type\x18\x04 \x01(\t\x12\x10\n\x08\x66ilename\x18\x05 \x01(\t\x12\x11\n\tfile_path\x18\x06 \x01(\t\x12\x10\n\x08obs_time\x18\x07 \x01(\t\x12\x12\n\nqc2_status\x18\x08 \x01(\x05\x12\x10\n\x08qc2_time\x18\t \x01(\t\x12\x12\n\nprc_status\x18\n \x01(\x05\x12\x10\n\x08prc_time\x18\x0b \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x0c \x01(\t\x12\x13\n\x0bpipeline_id\x18\r \x01(\t\x12\x15\n\rimport_status\x18\x0e \x01(\x05\"\xcb\x02\n\rFindLevel2Req\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x11\n\tdata_type\x18\x03 \x01(\t\x12\x19\n\x11\x63reate_time_start\x18\x04 \x01(\t\x12\x17\n\x0f\x63reate_time_end\x18\x05 \x01(\t\x12\x12\n\nqc2_status\x18\x06 \x01(\x05\x12\x12\n\nprc_status\x18\x07 \x01(\x05\x12\x10\n\x08\x66ilename\x18\x08 \x01(\t\x12\r\n\x05limit\x18\t \x01(\x05\x12L\n\x10other_conditions\x18\n \x03(\x0b\x32\x32.dfs.msc.level2.FindLevel2Req.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x82\x01\n\x0e\x46indLevel2Resp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12-\n\x07records\x18\x04 \x03(\x0b\x32\x1c.dfs.msc.level2.Level2Record\"\x1a\n\x0cGetLevel2Req\x12\n\n\x02id\x18\x01 \x01(\x03\"=\n\rGetLevel2Resp\x12,\n\x06record\x18\x01 \x01(\x0b\x32\x1c.dfs.msc.level2.Level2Record\"L\n\x0eWriteLevel2Req\x12,\n\x06record\x18\x01 \x01(\x0b\x32\x1c.dfs.msc.level2.Level2Record\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"n\n\x0fWriteLevel2Resp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12,\n\x06record\x18\x03 \x01(\x0b\x32\x1c.dfs.msc.level2.Level2Record\"0\n\x12UpdateQc2StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"D\n\x13UpdateQc2StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"1\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"\xd8\x12\n\x13Level2CatalogRecord\x12\x11\n\tlevel2_id\x18\x01 \x01(\x03\x12\n\n\x02ID\x18\x02 \x01(\x03\x12\r\n\x05\x43\x43\x44NO\x18\x03 \x01(\x05\x12\r\n\x05objID\x18\x04 \x01(\x05\x12\t\n\x01X\x18\x05 \x01(\x02\x12\x0c\n\x04XErr\x18\x06 \x01(\x01\x12\t\n\x01Y\x18\x07 \x01(\x02\x12\x0c\n\x04YErr\x18\x08 \x01(\x01\x12\n\n\x02RA\x18\t \x01(\x01\x12\r\n\x05RAErr\x18\n \x01(\x01\x12\x0b\n\x03\x44\x45\x43\x18\x0b \x01(\x01\x12\x0e\n\x06\x44\x45\x43\x45rr\x18\x0c \x01(\x01\x12\t\n\x01\x41\x18\r \x01(\x02\x12\x0c\n\x04\x41\x45rr\x18\x0e \x01(\x02\x12\t\n\x01\x42\x18\x0f \x01(\x02\x12\x0c\n\x04\x42\x45rr\x18\x10 \x01(\x02\x12\n\n\x02PA\x18\x11 \x01(\x02\x12\r\n\x05PAErr\x18\x12 \x01(\x02\x12\x0c\n\x04\x46lag\x18\x13 \x01(\x05\x12\x10\n\x08\x46lag_ISO\x18\x14 \x01(\x05\x12\x14\n\x0c\x46lag_ISO_Num\x18\x15 \x01(\x05\x12\x0c\n\x04\x46WHM\x18\x16 \x01(\x02\x12\n\n\x02\x41\x42\x18\x17 \x01(\x02\x12\t\n\x01\x45\x18\x18 \x01(\x02\x12\x11\n\tFlux_Kron\x18\x19 \x01(\x01\x12\x14\n\x0c\x46luxErr_Kron\x18\x1a \x01(\x02\x12\x10\n\x08Mag_Kron\x18\x1b \x01(\x01\x12\x13\n\x0bMagErr_Kron\x18\x1c \x01(\x01\x12\x13\n\x0bRadius_Kron\x18\x1d \x01(\x01\x12\x0b\n\x03Sky\x18\x1e \x01(\x02\x12\x12\n\nFlux_Aper1\x18\x1f \x01(\x02\x12\x15\n\rFluxErr_Aper1\x18 \x01(\x02\x12\x11\n\tMag_Aper1\x18! \x01(\x02\x12\x14\n\x0cMagErr_Aper1\x18\" \x01(\x02\x12\x12\n\nFlux_Aper2\x18# \x01(\x02\x12\x15\n\rFluxErr_Aper2\x18$ \x01(\x02\x12\x11\n\tMag_Aper2\x18% \x01(\x02\x12\x14\n\x0cMagErr_Aper2\x18& \x01(\x02\x12\x12\n\nFlux_Aper3\x18\' \x01(\x02\x12\x15\n\rFluxErr_Aper3\x18( \x01(\x02\x12\x11\n\tMag_Aper3\x18) \x01(\x02\x12\x14\n\x0cMagErr_Aper3\x18* \x01(\x02\x12\x12\n\nFlux_Aper4\x18+ \x01(\x02\x12\x15\n\rFluxErr_Aper4\x18, \x01(\x02\x12\x11\n\tMag_Aper4\x18- \x01(\x02\x12\x14\n\x0cMagErr_Aper4\x18. \x01(\x02\x12\x12\n\nFlux_Aper5\x18/ \x01(\x02\x12\x15\n\rFluxErr_Aper5\x18\x30 \x01(\x02\x12\x11\n\tMag_Aper5\x18\x31 \x01(\x02\x12\x14\n\x0cMagErr_Aper5\x18\x32 \x01(\x02\x12\x12\n\nFlux_Aper6\x18\x33 \x01(\x02\x12\x15\n\rFluxErr_Aper6\x18\x34 \x01(\x02\x12\x11\n\tMag_Aper6\x18\x35 \x01(\x02\x12\x14\n\x0cMagErr_Aper6\x18\x36 \x01(\x02\x12\x12\n\nFlux_Aper7\x18\x37 \x01(\x02\x12\x15\n\rFluxErr_Aper7\x18\x38 \x01(\x02\x12\x11\n\tMag_Aper7\x18\x39 \x01(\x02\x12\x14\n\x0cMagErr_Aper7\x18: \x01(\x02\x12\x12\n\nFlux_Aper8\x18; \x01(\x02\x12\x15\n\rFluxErr_Aper8\x18< \x01(\x02\x12\x11\n\tMag_Aper8\x18= \x01(\x02\x12\x14\n\x0cMagErr_Aper8\x18> \x01(\x02\x12\x12\n\nFlux_Aper9\x18? \x01(\x02\x12\x15\n\rFluxErr_Aper9\x18@ \x01(\x02\x12\x11\n\tMag_Aper9\x18\x41 \x01(\x02\x12\x14\n\x0cMagErr_Aper9\x18\x42 \x01(\x02\x12\x13\n\x0b\x46lux_Aper10\x18\x43 \x01(\x02\x12\x16\n\x0e\x46luxErr_Aper10\x18\x44 \x01(\x02\x12\x12\n\nMag_Aper10\x18\x45 \x01(\x02\x12\x15\n\rMagErr_Aper10\x18\x46 \x01(\x02\x12\x13\n\x0b\x46lux_Aper11\x18G \x01(\x02\x12\x16\n\x0e\x46luxErr_Aper11\x18H \x01(\x02\x12\x12\n\nMag_Aper11\x18I \x01(\x02\x12\x15\n\rMagErr_Aper11\x18J \x01(\x02\x12\x13\n\x0b\x46lux_Aper12\x18K \x01(\x02\x12\x16\n\x0e\x46luxErr_Aper12\x18L \x01(\x02\x12\x12\n\nMag_Aper12\x18M \x01(\x02\x12\x15\n\rMagErr_Aper12\x18N \x01(\x02\x12\x0c\n\x04Type\x18O \x01(\x05\x12\x0b\n\x03R20\x18P \x01(\x02\x12\x0b\n\x03R50\x18Q \x01(\x02\x12\x0b\n\x03R90\x18R \x01(\x02\x12\r\n\x05X_PSF\x18S \x01(\x01\x12\r\n\x05Y_PSF\x18T \x01(\x01\x12\x0e\n\x06RA_PSF\x18U \x01(\x01\x12\x0f\n\x07\x44\x45\x43_PSF\x18V \x01(\x01\x12\x10\n\x08\x43hi2_PSF\x18W \x01(\x02\x12\x10\n\x08\x46lux_PSF\x18X \x01(\x02\x12\x13\n\x0b\x46luxErr_PSF\x18Y \x01(\x02\x12\x0f\n\x07Mag_PSF\x18Z \x01(\x02\x12\x12\n\nMagErr_PSF\x18[ \x01(\x02\x12\x0f\n\x07X_Model\x18\\ \x01(\x01\x12\x0f\n\x07Y_Model\x18] \x01(\x01\x12\x10\n\x08RA_Model\x18^ \x01(\x01\x12\x11\n\tDEC_Model\x18_ \x01(\x01\x12\x12\n\nChi2_Model\x18` \x01(\x02\x12\x12\n\nFlag_Model\x18\x61 \x01(\x05\x12\x12\n\nFlux_Model\x18\x62 \x01(\x02\x12\x15\n\rFluxErr_Model\x18\x63 \x01(\x02\x12\x11\n\tMag_Model\x18\x64 \x01(\x02\x12\x14\n\x0cMagErr_Model\x18\x65 \x01(\x02\x12\x12\n\nFlux_Bulge\x18\x66 \x01(\x02\x12\x15\n\rFluxErr_Bulge\x18g \x01(\x02\x12\x11\n\tMag_Bulge\x18h \x01(\x02\x12\x14\n\x0cMagErr_Bulge\x18i \x01(\x02\x12\x10\n\x08Re_Bulge\x18j \x01(\x02\x12\x13\n\x0bReErr_Bulge\x18k \x01(\x02\x12\x0f\n\x07\x45_Bulge\x18l \x01(\x02\x12\x12\n\nEErr_Bulge\x18m \x01(\x02\x12\x10\n\x08PA_Bulge\x18n \x01(\x02\x12\x13\n\x0bPAErr_Bulge\x18o \x01(\x02\x12\x11\n\tFlux_Disk\x18p \x01(\x02\x12\x14\n\x0c\x46luxErr_Disk\x18q \x01(\x02\x12\x10\n\x08Mag_Disk\x18r \x01(\x02\x12\x13\n\x0bMagErr_Disk\x18s \x01(\x02\x12\x0f\n\x07Re_Disk\x18t \x01(\x02\x12\x12\n\nReErr_Disk\x18u \x01(\x02\x12\x0e\n\x06\x45_Disk\x18v \x01(\x02\x12\x11\n\tEErr_Disk\x18w \x01(\x02\x12\x0f\n\x07PA_Disk\x18x \x01(\x02\x12\x12\n\nPAErr_Disk\x18y \x01(\x02\x12\x12\n\nRatio_Disk\x18z \x01(\x02\x12\x15\n\rRatioErr_Disk\x18{ \x01(\x02\x12\x14\n\x0cSpread_Model\x18| \x01(\x02\x12\x17\n\x0fSpreadErr_Model\x18} \x01(\x02\x12\x11\n\tNS128HIdx\x18~ \x01(\x05\"\xd1\x01\n\x14\x46indLevel2CatalogReq\x12\x0e\n\x06obs_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x02 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t\x12\n\n\x02ra\x18\x04 \x01(\x01\x12\x0b\n\x03\x64\x65\x63\x18\x05 \x01(\x01\x12\x0e\n\x06radius\x18\x06 \x01(\x01\x12\x0e\n\x06minMag\x18\x07 \x01(\x01\x12\x0e\n\x06maxMag\x18\x08 \x01(\x01\x12\x16\n\x0eobs_time_start\x18\t \x01(\t\x12\x14\n\x0cobs_time_end\x18\x14 \x01(\t\x12\r\n\x05limit\x18\x0b \x01(\x05\"\x90\x01\n\x15\x46indLevel2CatalogResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x34\n\x07records\x18\x04 \x03(\x0b\x32#.dfs.msc.level2.Level2CatalogRecord\"\x87\x01\n\x13\x46indCatalogFileResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12-\n\x07records\x18\x04 \x03(\x0b\x32\x1c.dfs.msc.level2.Level2Record\"/\n\x1a\x44\x65leteCatalogByLevel2IdReq\x12\x11\n\tlevel2_id\x18\x01 \x01(\x03\"L\n\x1b\x44\x65leteCatalogByLevel2IdResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xdb\x05\n\tLevel2Srv\x12G\n\x04\x46ind\x12\x1d.dfs.msc.level2.FindLevel2Req\x1a\x1e.dfs.msc.level2.FindLevel2Resp\"\x00\x12\\\n\x0b\x46indCatalog\x12$.dfs.msc.level2.FindLevel2CatalogReq\x1a%.dfs.msc.level2.FindLevel2CatalogResp\"\x00\x12^\n\x0f\x46indCatalogFile\x12$.dfs.msc.level2.FindLevel2CatalogReq\x1a#.dfs.msc.level2.FindCatalogFileResp\"\x00\x12\x44\n\x03Get\x12\x1c.dfs.msc.level2.GetLevel2Req\x1a\x1d.dfs.msc.level2.GetLevel2Resp\"\x00\x12L\n\x05Write\x12\x1e.dfs.msc.level2.WriteLevel2Req\x1a\x1f.dfs.msc.level2.WriteLevel2Resp\"\x00(\x01\x12\\\n\x0fUpdateQc2Status\x12\".dfs.msc.level2.UpdateQc2StatusReq\x1a#.dfs.msc.level2.UpdateQc2StatusResp\"\x00\x12_\n\x10UpdateProcStatus\x12#.dfs.msc.level2.UpdateProcStatusReq\x1a$.dfs.msc.level2.UpdateProcStatusResp\"\x00\x12t\n\x17\x44\x65leteCatalogByLevel2Id\x12*.dfs.msc.level2.DeleteCatalogByLevel2IdReq\x1a+.dfs.msc.level2.DeleteCatalogByLevel2IdResp\"\x00\x42!Z\x1f\x63nlab.net/csst/proto/msc/level2b\x06proto3' - , - dependencies=[common_dot_error__pb2.DESCRIPTOR,]) - - - - -_LEVEL2RECORD = _descriptor.Descriptor( - name='Level2Record', - full_name='dfs.msc.level2.Level2Record', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.msc.level2.Level2Record.id', 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), - _descriptor.FieldDescriptor( - name='level0_id', full_name='dfs.msc.level2.Level2Record.level0_id', 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), - _descriptor.FieldDescriptor( - name='level1_id', full_name='dfs.msc.level2.Level2Record.level1_id', index=2, - number=3, 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), - _descriptor.FieldDescriptor( - name='data_type', full_name='dfs.msc.level2.Level2Record.data_type', index=3, - number=4, 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='filename', full_name='dfs.msc.level2.Level2Record.filename', index=4, - number=5, 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='file_path', full_name='dfs.msc.level2.Level2Record.file_path', index=5, - number=6, 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='obs_time', full_name='dfs.msc.level2.Level2Record.obs_time', index=6, - number=7, 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='qc2_status', full_name='dfs.msc.level2.Level2Record.qc2_status', index=7, - number=8, type=5, cpp_type=1, 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='qc2_time', full_name='dfs.msc.level2.Level2Record.qc2_time', index=8, - number=9, 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='prc_status', full_name='dfs.msc.level2.Level2Record.prc_status', index=9, - number=10, type=5, cpp_type=1, 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='prc_time', full_name='dfs.msc.level2.Level2Record.prc_time', index=10, - number=11, 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='create_time', full_name='dfs.msc.level2.Level2Record.create_time', index=11, - number=12, 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='pipeline_id', full_name='dfs.msc.level2.Level2Record.pipeline_id', index=12, - number=13, 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='import_status', full_name='dfs.msc.level2.Level2Record.import_status', index=13, - number=14, type=5, cpp_type=1, 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=64, - serialized_end=343, -) - - -_FINDLEVEL2REQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor( - name='OtherConditionsEntry', - full_name='dfs.msc.level2.FindLevel2Req.OtherConditionsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dfs.msc.level2.FindLevel2Req.OtherConditionsEntry.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.msc.level2.FindLevel2Req.OtherConditionsEntry.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=623, - serialized_end=677, -) - -_FINDLEVEL2REQ = _descriptor.Descriptor( - name='FindLevel2Req', - full_name='dfs.msc.level2.FindLevel2Req', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='level0_id', full_name='dfs.msc.level2.FindLevel2Req.level0_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='level1_id', full_name='dfs.msc.level2.FindLevel2Req.level1_id', index=1, - number=2, 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), - _descriptor.FieldDescriptor( - name='data_type', full_name='dfs.msc.level2.FindLevel2Req.data_type', index=2, - number=3, 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='create_time_start', full_name='dfs.msc.level2.FindLevel2Req.create_time_start', index=3, - number=4, 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='create_time_end', full_name='dfs.msc.level2.FindLevel2Req.create_time_end', index=4, - number=5, 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='qc2_status', full_name='dfs.msc.level2.FindLevel2Req.qc2_status', index=5, - number=6, type=5, cpp_type=1, 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='prc_status', full_name='dfs.msc.level2.FindLevel2Req.prc_status', index=6, - number=7, type=5, cpp_type=1, 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='filename', full_name='dfs.msc.level2.FindLevel2Req.filename', index=7, - number=8, 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='limit', full_name='dfs.msc.level2.FindLevel2Req.limit', index=8, - number=9, type=5, cpp_type=1, 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='other_conditions', full_name='dfs.msc.level2.FindLevel2Req.other_conditions', index=9, - number=10, 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=[_FINDLEVEL2REQ_OTHERCONDITIONSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=346, - serialized_end=677, -) - - -_FINDLEVEL2RESP = _descriptor.Descriptor( - name='FindLevel2Resp', - full_name='dfs.msc.level2.FindLevel2Resp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.msc.level2.FindLevel2Resp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.msc.level2.FindLevel2Resp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.msc.level2.FindLevel2Resp.error', 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='records', full_name='dfs.msc.level2.FindLevel2Resp.records', index=3, - number=4, 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=680, - serialized_end=810, -) - - -_GETLEVEL2REQ = _descriptor.Descriptor( - name='GetLevel2Req', - full_name='dfs.msc.level2.GetLevel2Req', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.msc.level2.GetLevel2Req.id', 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=812, - serialized_end=838, -) - - -_GETLEVEL2RESP = _descriptor.Descriptor( - name='GetLevel2Resp', - full_name='dfs.msc.level2.GetLevel2Resp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.msc.level2.GetLevel2Resp.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=840, - serialized_end=901, -) - - -_WRITELEVEL2REQ = _descriptor.Descriptor( - name='WriteLevel2Req', - full_name='dfs.msc.level2.WriteLevel2Req', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.msc.level2.WriteLevel2Req.record', 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='data', full_name='dfs.msc.level2.WriteLevel2Req.data', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=b"", - 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=903, - serialized_end=979, -) - - -_WRITELEVEL2RESP = _descriptor.Descriptor( - name='WriteLevel2Resp', - full_name='dfs.msc.level2.WriteLevel2Resp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.msc.level2.WriteLevel2Resp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.msc.level2.WriteLevel2Resp.error', 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='record', full_name='dfs.msc.level2.WriteLevel2Resp.record', 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=981, - serialized_end=1091, -) - - -_UPDATEQC2STATUSREQ = _descriptor.Descriptor( - name='UpdateQc2StatusReq', - full_name='dfs.msc.level2.UpdateQc2StatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.msc.level2.UpdateQc2StatusReq.id', 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), - _descriptor.FieldDescriptor( - name='status', full_name='dfs.msc.level2.UpdateQc2StatusReq.status', index=1, - number=2, type=5, cpp_type=1, 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=1093, - serialized_end=1141, -) - - -_UPDATEQC2STATUSRESP = _descriptor.Descriptor( - name='UpdateQc2StatusResp', - full_name='dfs.msc.level2.UpdateQc2StatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.msc.level2.UpdateQc2StatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.msc.level2.UpdateQc2StatusResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1143, - serialized_end=1211, -) - - -_UPDATEPROCSTATUSREQ = _descriptor.Descriptor( - name='UpdateProcStatusReq', - full_name='dfs.msc.level2.UpdateProcStatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.msc.level2.UpdateProcStatusReq.id', 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), - _descriptor.FieldDescriptor( - name='status', full_name='dfs.msc.level2.UpdateProcStatusReq.status', index=1, - number=2, type=5, cpp_type=1, 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=1213, - serialized_end=1262, -) - - -_UPDATEPROCSTATUSRESP = _descriptor.Descriptor( - name='UpdateProcStatusResp', - full_name='dfs.msc.level2.UpdateProcStatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.msc.level2.UpdateProcStatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.msc.level2.UpdateProcStatusResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1264, - serialized_end=1333, -) - - -_LEVEL2CATALOGRECORD = _descriptor.Descriptor( - name='Level2CatalogRecord', - full_name='dfs.msc.level2.Level2CatalogRecord', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='level2_id', full_name='dfs.msc.level2.Level2CatalogRecord.level2_id', 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), - _descriptor.FieldDescriptor( - name='ID', full_name='dfs.msc.level2.Level2CatalogRecord.ID', index=1, - number=2, 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), - _descriptor.FieldDescriptor( - name='CCDNO', full_name='dfs.msc.level2.Level2CatalogRecord.CCDNO', index=2, - number=3, type=5, cpp_type=1, 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='objID', full_name='dfs.msc.level2.Level2CatalogRecord.objID', index=3, - number=4, type=5, cpp_type=1, 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='X', full_name='dfs.msc.level2.Level2CatalogRecord.X', index=4, - number=5, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='XErr', full_name='dfs.msc.level2.Level2CatalogRecord.XErr', index=5, - number=6, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Y', full_name='dfs.msc.level2.Level2CatalogRecord.Y', index=6, - number=7, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='YErr', full_name='dfs.msc.level2.Level2CatalogRecord.YErr', index=7, - number=8, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RA', full_name='dfs.msc.level2.Level2CatalogRecord.RA', index=8, - number=9, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RAErr', full_name='dfs.msc.level2.Level2CatalogRecord.RAErr', index=9, - number=10, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DEC', full_name='dfs.msc.level2.Level2CatalogRecord.DEC', index=10, - number=11, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DECErr', full_name='dfs.msc.level2.Level2CatalogRecord.DECErr', index=11, - number=12, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='A', full_name='dfs.msc.level2.Level2CatalogRecord.A', index=12, - number=13, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='AErr', full_name='dfs.msc.level2.Level2CatalogRecord.AErr', index=13, - number=14, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='B', full_name='dfs.msc.level2.Level2CatalogRecord.B', index=14, - number=15, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='BErr', full_name='dfs.msc.level2.Level2CatalogRecord.BErr', index=15, - number=16, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PA', full_name='dfs.msc.level2.Level2CatalogRecord.PA', index=16, - number=17, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PAErr', full_name='dfs.msc.level2.Level2CatalogRecord.PAErr', index=17, - number=18, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flag', full_name='dfs.msc.level2.Level2CatalogRecord.Flag', index=18, - number=19, type=5, cpp_type=1, 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='Flag_ISO', full_name='dfs.msc.level2.Level2CatalogRecord.Flag_ISO', index=19, - number=20, type=5, cpp_type=1, 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='Flag_ISO_Num', full_name='dfs.msc.level2.Level2CatalogRecord.Flag_ISO_Num', index=20, - number=21, type=5, cpp_type=1, 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='FWHM', full_name='dfs.msc.level2.Level2CatalogRecord.FWHM', index=21, - number=22, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='AB', full_name='dfs.msc.level2.Level2CatalogRecord.AB', index=22, - number=23, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='E', full_name='dfs.msc.level2.Level2CatalogRecord.E', index=23, - number=24, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Kron', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_Kron', index=24, - number=25, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Kron', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_Kron', index=25, - number=26, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Kron', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_Kron', index=26, - number=27, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Kron', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_Kron', index=27, - number=28, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Radius_Kron', full_name='dfs.msc.level2.Level2CatalogRecord.Radius_Kron', index=28, - number=29, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Sky', full_name='dfs.msc.level2.Level2CatalogRecord.Sky', index=29, - number=30, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper1', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_Aper1', index=30, - number=31, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper1', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_Aper1', index=31, - number=32, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper1', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_Aper1', index=32, - number=33, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper1', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_Aper1', index=33, - number=34, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper2', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_Aper2', index=34, - number=35, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper2', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_Aper2', index=35, - number=36, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper2', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_Aper2', index=36, - number=37, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper2', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_Aper2', index=37, - number=38, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper3', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_Aper3', index=38, - number=39, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper3', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_Aper3', index=39, - number=40, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper3', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_Aper3', index=40, - number=41, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper3', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_Aper3', index=41, - number=42, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper4', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_Aper4', index=42, - number=43, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper4', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_Aper4', index=43, - number=44, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper4', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_Aper4', index=44, - number=45, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper4', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_Aper4', index=45, - number=46, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper5', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_Aper5', index=46, - number=47, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper5', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_Aper5', index=47, - number=48, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper5', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_Aper5', index=48, - number=49, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper5', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_Aper5', index=49, - number=50, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper6', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_Aper6', index=50, - number=51, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper6', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_Aper6', index=51, - number=52, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper6', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_Aper6', index=52, - number=53, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper6', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_Aper6', index=53, - number=54, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper7', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_Aper7', index=54, - number=55, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper7', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_Aper7', index=55, - number=56, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper7', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_Aper7', index=56, - number=57, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper7', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_Aper7', index=57, - number=58, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper8', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_Aper8', index=58, - number=59, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper8', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_Aper8', index=59, - number=60, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper8', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_Aper8', index=60, - number=61, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper8', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_Aper8', index=61, - number=62, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper9', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_Aper9', index=62, - number=63, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper9', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_Aper9', index=63, - number=64, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper9', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_Aper9', index=64, - number=65, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper9', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_Aper9', index=65, - number=66, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper10', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_Aper10', index=66, - number=67, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper10', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_Aper10', index=67, - number=68, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper10', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_Aper10', index=68, - number=69, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper10', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_Aper10', index=69, - number=70, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper11', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_Aper11', index=70, - number=71, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper11', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_Aper11', index=71, - number=72, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper11', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_Aper11', index=72, - number=73, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper11', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_Aper11', index=73, - number=74, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper12', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_Aper12', index=74, - number=75, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper12', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_Aper12', index=75, - number=76, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper12', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_Aper12', index=76, - number=77, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper12', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_Aper12', index=77, - number=78, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - 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.msc.level2.Level2CatalogRecord.Type', index=78, - number=79, type=5, cpp_type=1, 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='R20', full_name='dfs.msc.level2.Level2CatalogRecord.R20', index=79, - number=80, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='R50', full_name='dfs.msc.level2.Level2CatalogRecord.R50', index=80, - number=81, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='R90', full_name='dfs.msc.level2.Level2CatalogRecord.R90', index=81, - number=82, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='X_PSF', full_name='dfs.msc.level2.Level2CatalogRecord.X_PSF', index=82, - number=83, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Y_PSF', full_name='dfs.msc.level2.Level2CatalogRecord.Y_PSF', index=83, - number=84, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RA_PSF', full_name='dfs.msc.level2.Level2CatalogRecord.RA_PSF', index=84, - number=85, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DEC_PSF', full_name='dfs.msc.level2.Level2CatalogRecord.DEC_PSF', index=85, - number=86, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Chi2_PSF', full_name='dfs.msc.level2.Level2CatalogRecord.Chi2_PSF', index=86, - number=87, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_PSF', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_PSF', index=87, - number=88, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_PSF', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_PSF', index=88, - number=89, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_PSF', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_PSF', index=89, - number=90, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_PSF', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_PSF', index=90, - number=91, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='X_Model', full_name='dfs.msc.level2.Level2CatalogRecord.X_Model', index=91, - number=92, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Y_Model', full_name='dfs.msc.level2.Level2CatalogRecord.Y_Model', index=92, - number=93, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RA_Model', full_name='dfs.msc.level2.Level2CatalogRecord.RA_Model', index=93, - number=94, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DEC_Model', full_name='dfs.msc.level2.Level2CatalogRecord.DEC_Model', index=94, - number=95, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Chi2_Model', full_name='dfs.msc.level2.Level2CatalogRecord.Chi2_Model', index=95, - number=96, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flag_Model', full_name='dfs.msc.level2.Level2CatalogRecord.Flag_Model', index=96, - number=97, type=5, cpp_type=1, 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='Flux_Model', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_Model', index=97, - number=98, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Model', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_Model', index=98, - number=99, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Model', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_Model', index=99, - number=100, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Model', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_Model', index=100, - number=101, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Bulge', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_Bulge', index=101, - number=102, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Bulge', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_Bulge', index=102, - number=103, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Bulge', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_Bulge', index=103, - number=104, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Bulge', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_Bulge', index=104, - number=105, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Re_Bulge', full_name='dfs.msc.level2.Level2CatalogRecord.Re_Bulge', index=105, - number=106, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ReErr_Bulge', full_name='dfs.msc.level2.Level2CatalogRecord.ReErr_Bulge', index=106, - number=107, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='E_Bulge', full_name='dfs.msc.level2.Level2CatalogRecord.E_Bulge', index=107, - number=108, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='EErr_Bulge', full_name='dfs.msc.level2.Level2CatalogRecord.EErr_Bulge', index=108, - number=109, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PA_Bulge', full_name='dfs.msc.level2.Level2CatalogRecord.PA_Bulge', index=109, - number=110, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PAErr_Bulge', full_name='dfs.msc.level2.Level2CatalogRecord.PAErr_Bulge', index=110, - number=111, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Disk', full_name='dfs.msc.level2.Level2CatalogRecord.Flux_Disk', index=111, - number=112, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Disk', full_name='dfs.msc.level2.Level2CatalogRecord.FluxErr_Disk', index=112, - number=113, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Disk', full_name='dfs.msc.level2.Level2CatalogRecord.Mag_Disk', index=113, - number=114, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Disk', full_name='dfs.msc.level2.Level2CatalogRecord.MagErr_Disk', index=114, - number=115, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Re_Disk', full_name='dfs.msc.level2.Level2CatalogRecord.Re_Disk', index=115, - number=116, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ReErr_Disk', full_name='dfs.msc.level2.Level2CatalogRecord.ReErr_Disk', index=116, - number=117, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='E_Disk', full_name='dfs.msc.level2.Level2CatalogRecord.E_Disk', index=117, - number=118, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='EErr_Disk', full_name='dfs.msc.level2.Level2CatalogRecord.EErr_Disk', index=118, - number=119, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PA_Disk', full_name='dfs.msc.level2.Level2CatalogRecord.PA_Disk', index=119, - number=120, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PAErr_Disk', full_name='dfs.msc.level2.Level2CatalogRecord.PAErr_Disk', index=120, - number=121, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Ratio_Disk', full_name='dfs.msc.level2.Level2CatalogRecord.Ratio_Disk', index=121, - number=122, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RatioErr_Disk', full_name='dfs.msc.level2.Level2CatalogRecord.RatioErr_Disk', index=122, - number=123, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Spread_Model', full_name='dfs.msc.level2.Level2CatalogRecord.Spread_Model', index=123, - number=124, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='SpreadErr_Model', full_name='dfs.msc.level2.Level2CatalogRecord.SpreadErr_Model', index=124, - number=125, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='NS128HIdx', full_name='dfs.msc.level2.Level2CatalogRecord.NS128HIdx', index=125, - number=126, type=5, cpp_type=1, 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=1336, - serialized_end=3728, -) - - -_FINDLEVEL2CATALOGREQ = _descriptor.Descriptor( - name='FindLevel2CatalogReq', - full_name='dfs.msc.level2.FindLevel2CatalogReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='obs_id', full_name='dfs.msc.level2.FindLevel2CatalogReq.obs_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='detector_no', full_name='dfs.msc.level2.FindLevel2CatalogReq.detector_no', 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), - _descriptor.FieldDescriptor( - name='filter', full_name='dfs.msc.level2.FindLevel2CatalogReq.filter', index=2, - number=3, 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='ra', full_name='dfs.msc.level2.FindLevel2CatalogReq.ra', index=3, - number=4, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='dec', full_name='dfs.msc.level2.FindLevel2CatalogReq.dec', index=4, - number=5, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='radius', full_name='dfs.msc.level2.FindLevel2CatalogReq.radius', index=5, - number=6, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='minMag', full_name='dfs.msc.level2.FindLevel2CatalogReq.minMag', index=6, - number=7, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='maxMag', full_name='dfs.msc.level2.FindLevel2CatalogReq.maxMag', index=7, - number=8, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='obs_time_start', full_name='dfs.msc.level2.FindLevel2CatalogReq.obs_time_start', index=8, - number=9, 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='obs_time_end', full_name='dfs.msc.level2.FindLevel2CatalogReq.obs_time_end', index=9, - number=20, 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='limit', full_name='dfs.msc.level2.FindLevel2CatalogReq.limit', index=10, - number=11, type=5, cpp_type=1, 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=3731, - serialized_end=3940, -) - - -_FINDLEVEL2CATALOGRESP = _descriptor.Descriptor( - name='FindLevel2CatalogResp', - full_name='dfs.msc.level2.FindLevel2CatalogResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.msc.level2.FindLevel2CatalogResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.msc.level2.FindLevel2CatalogResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.msc.level2.FindLevel2CatalogResp.error', 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='records', full_name='dfs.msc.level2.FindLevel2CatalogResp.records', index=3, - number=4, 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=3943, - serialized_end=4087, -) - - -_FINDCATALOGFILERESP = _descriptor.Descriptor( - name='FindCatalogFileResp', - full_name='dfs.msc.level2.FindCatalogFileResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.msc.level2.FindCatalogFileResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.msc.level2.FindCatalogFileResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.msc.level2.FindCatalogFileResp.error', 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='records', full_name='dfs.msc.level2.FindCatalogFileResp.records', index=3, - number=4, 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=4090, - serialized_end=4225, -) - - -_DELETECATALOGBYLEVEL2IDREQ = _descriptor.Descriptor( - name='DeleteCatalogByLevel2IdReq', - full_name='dfs.msc.level2.DeleteCatalogByLevel2IdReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='level2_id', full_name='dfs.msc.level2.DeleteCatalogByLevel2IdReq.level2_id', 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=4227, - serialized_end=4274, -) - - -_DELETECATALOGBYLEVEL2IDRESP = _descriptor.Descriptor( - name='DeleteCatalogByLevel2IdResp', - full_name='dfs.msc.level2.DeleteCatalogByLevel2IdResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.msc.level2.DeleteCatalogByLevel2IdResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.msc.level2.DeleteCatalogByLevel2IdResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4276, - serialized_end=4352, -) - -_FINDLEVEL2REQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL2REQ -_FINDLEVEL2REQ.fields_by_name['other_conditions'].message_type = _FINDLEVEL2REQ_OTHERCONDITIONSENTRY -_FINDLEVEL2RESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDLEVEL2RESP.fields_by_name['records'].message_type = _LEVEL2RECORD -_GETLEVEL2RESP.fields_by_name['record'].message_type = _LEVEL2RECORD -_WRITELEVEL2REQ.fields_by_name['record'].message_type = _LEVEL2RECORD -_WRITELEVEL2RESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_WRITELEVEL2RESP.fields_by_name['record'].message_type = _LEVEL2RECORD -_UPDATEQC2STATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDLEVEL2CATALOGRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDLEVEL2CATALOGRESP.fields_by_name['records'].message_type = _LEVEL2CATALOGRECORD -_FINDCATALOGFILERESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDCATALOGFILERESP.fields_by_name['records'].message_type = _LEVEL2RECORD -_DELETECATALOGBYLEVEL2IDRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -DESCRIPTOR.message_types_by_name['Level2Record'] = _LEVEL2RECORD -DESCRIPTOR.message_types_by_name['FindLevel2Req'] = _FINDLEVEL2REQ -DESCRIPTOR.message_types_by_name['FindLevel2Resp'] = _FINDLEVEL2RESP -DESCRIPTOR.message_types_by_name['GetLevel2Req'] = _GETLEVEL2REQ -DESCRIPTOR.message_types_by_name['GetLevel2Resp'] = _GETLEVEL2RESP -DESCRIPTOR.message_types_by_name['WriteLevel2Req'] = _WRITELEVEL2REQ -DESCRIPTOR.message_types_by_name['WriteLevel2Resp'] = _WRITELEVEL2RESP -DESCRIPTOR.message_types_by_name['UpdateQc2StatusReq'] = _UPDATEQC2STATUSREQ -DESCRIPTOR.message_types_by_name['UpdateQc2StatusResp'] = _UPDATEQC2STATUSRESP -DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ -DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP -DESCRIPTOR.message_types_by_name['Level2CatalogRecord'] = _LEVEL2CATALOGRECORD -DESCRIPTOR.message_types_by_name['FindLevel2CatalogReq'] = _FINDLEVEL2CATALOGREQ -DESCRIPTOR.message_types_by_name['FindLevel2CatalogResp'] = _FINDLEVEL2CATALOGRESP -DESCRIPTOR.message_types_by_name['FindCatalogFileResp'] = _FINDCATALOGFILERESP -DESCRIPTOR.message_types_by_name['DeleteCatalogByLevel2IdReq'] = _DELETECATALOGBYLEVEL2IDREQ -DESCRIPTOR.message_types_by_name['DeleteCatalogByLevel2IdResp'] = _DELETECATALOGBYLEVEL2IDRESP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Level2Record = _reflection.GeneratedProtocolMessageType('Level2Record', (_message.Message,), { - 'DESCRIPTOR' : _LEVEL2RECORD, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.Level2Record) - }) -_sym_db.RegisterMessage(Level2Record) - -FindLevel2Req = _reflection.GeneratedProtocolMessageType('FindLevel2Req', (_message.Message,), { - - 'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL2REQ_OTHERCONDITIONSENTRY, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.FindLevel2Req.OtherConditionsEntry) - }) - , - 'DESCRIPTOR' : _FINDLEVEL2REQ, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.FindLevel2Req) - }) -_sym_db.RegisterMessage(FindLevel2Req) -_sym_db.RegisterMessage(FindLevel2Req.OtherConditionsEntry) - -FindLevel2Resp = _reflection.GeneratedProtocolMessageType('FindLevel2Resp', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL2RESP, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.FindLevel2Resp) - }) -_sym_db.RegisterMessage(FindLevel2Resp) - -GetLevel2Req = _reflection.GeneratedProtocolMessageType('GetLevel2Req', (_message.Message,), { - 'DESCRIPTOR' : _GETLEVEL2REQ, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.GetLevel2Req) - }) -_sym_db.RegisterMessage(GetLevel2Req) - -GetLevel2Resp = _reflection.GeneratedProtocolMessageType('GetLevel2Resp', (_message.Message,), { - 'DESCRIPTOR' : _GETLEVEL2RESP, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.GetLevel2Resp) - }) -_sym_db.RegisterMessage(GetLevel2Resp) - -WriteLevel2Req = _reflection.GeneratedProtocolMessageType('WriteLevel2Req', (_message.Message,), { - 'DESCRIPTOR' : _WRITELEVEL2REQ, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.WriteLevel2Req) - }) -_sym_db.RegisterMessage(WriteLevel2Req) - -WriteLevel2Resp = _reflection.GeneratedProtocolMessageType('WriteLevel2Resp', (_message.Message,), { - 'DESCRIPTOR' : _WRITELEVEL2RESP, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.WriteLevel2Resp) - }) -_sym_db.RegisterMessage(WriteLevel2Resp) - -UpdateQc2StatusReq = _reflection.GeneratedProtocolMessageType('UpdateQc2StatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEQC2STATUSREQ, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.UpdateQc2StatusReq) - }) -_sym_db.RegisterMessage(UpdateQc2StatusReq) - -UpdateQc2StatusResp = _reflection.GeneratedProtocolMessageType('UpdateQc2StatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEQC2STATUSRESP, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.UpdateQc2StatusResp) - }) -_sym_db.RegisterMessage(UpdateQc2StatusResp) - -UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSREQ, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.UpdateProcStatusReq) - }) -_sym_db.RegisterMessage(UpdateProcStatusReq) - -UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSRESP, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.UpdateProcStatusResp) - }) -_sym_db.RegisterMessage(UpdateProcStatusResp) - -Level2CatalogRecord = _reflection.GeneratedProtocolMessageType('Level2CatalogRecord', (_message.Message,), { - 'DESCRIPTOR' : _LEVEL2CATALOGRECORD, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.Level2CatalogRecord) - }) -_sym_db.RegisterMessage(Level2CatalogRecord) - -FindLevel2CatalogReq = _reflection.GeneratedProtocolMessageType('FindLevel2CatalogReq', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL2CATALOGREQ, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.FindLevel2CatalogReq) - }) -_sym_db.RegisterMessage(FindLevel2CatalogReq) - -FindLevel2CatalogResp = _reflection.GeneratedProtocolMessageType('FindLevel2CatalogResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL2CATALOGRESP, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.FindLevel2CatalogResp) - }) -_sym_db.RegisterMessage(FindLevel2CatalogResp) - -FindCatalogFileResp = _reflection.GeneratedProtocolMessageType('FindCatalogFileResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDCATALOGFILERESP, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.FindCatalogFileResp) - }) -_sym_db.RegisterMessage(FindCatalogFileResp) - -DeleteCatalogByLevel2IdReq = _reflection.GeneratedProtocolMessageType('DeleteCatalogByLevel2IdReq', (_message.Message,), { - 'DESCRIPTOR' : _DELETECATALOGBYLEVEL2IDREQ, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.DeleteCatalogByLevel2IdReq) - }) -_sym_db.RegisterMessage(DeleteCatalogByLevel2IdReq) - -DeleteCatalogByLevel2IdResp = _reflection.GeneratedProtocolMessageType('DeleteCatalogByLevel2IdResp', (_message.Message,), { - 'DESCRIPTOR' : _DELETECATALOGBYLEVEL2IDRESP, - '__module__' : 'msc.level2.level2_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2.DeleteCatalogByLevel2IdResp) - }) -_sym_db.RegisterMessage(DeleteCatalogByLevel2IdResp) - - -DESCRIPTOR._options = None -_FINDLEVEL2REQ_OTHERCONDITIONSENTRY._options = None - -_LEVEL2SRV = _descriptor.ServiceDescriptor( - name='Level2Srv', - full_name='dfs.msc.level2.Level2Srv', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=4355, - serialized_end=5086, - methods=[ - _descriptor.MethodDescriptor( - name='Find', - full_name='dfs.msc.level2.Level2Srv.Find', - index=0, - containing_service=None, - input_type=_FINDLEVEL2REQ, - output_type=_FINDLEVEL2RESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='FindCatalog', - full_name='dfs.msc.level2.Level2Srv.FindCatalog', - index=1, - containing_service=None, - input_type=_FINDLEVEL2CATALOGREQ, - output_type=_FINDLEVEL2CATALOGRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='FindCatalogFile', - full_name='dfs.msc.level2.Level2Srv.FindCatalogFile', - index=2, - containing_service=None, - input_type=_FINDLEVEL2CATALOGREQ, - output_type=_FINDCATALOGFILERESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Get', - full_name='dfs.msc.level2.Level2Srv.Get', - index=3, - containing_service=None, - input_type=_GETLEVEL2REQ, - output_type=_GETLEVEL2RESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Write', - full_name='dfs.msc.level2.Level2Srv.Write', - index=4, - containing_service=None, - input_type=_WRITELEVEL2REQ, - output_type=_WRITELEVEL2RESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateQc2Status', - full_name='dfs.msc.level2.Level2Srv.UpdateQc2Status', - index=5, - containing_service=None, - input_type=_UPDATEQC2STATUSREQ, - output_type=_UPDATEQC2STATUSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateProcStatus', - full_name='dfs.msc.level2.Level2Srv.UpdateProcStatus', - index=6, - containing_service=None, - input_type=_UPDATEPROCSTATUSREQ, - output_type=_UPDATEPROCSTATUSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='DeleteCatalogByLevel2Id', - full_name='dfs.msc.level2.Level2Srv.DeleteCatalogByLevel2Id', - index=7, - containing_service=None, - input_type=_DELETECATALOGBYLEVEL2IDREQ, - output_type=_DELETECATALOGBYLEVEL2IDRESP, - serialized_options=None, - ), -]) -_sym_db.RegisterServiceDescriptor(_LEVEL2SRV) - -DESCRIPTOR.services_by_name['Level2Srv'] = _LEVEL2SRV - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x17msc/level2/level2.proto\x12\x0e\x64\x66s.msc.level2\x1a\x12\x63ommon/error.proto\"\x97\x02\n\x0cLevel2Record\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x11\n\tlevel1_id\x18\x03 \x01(\x03\x12\x11\n\tdata_type\x18\x04 \x01(\t\x12\x10\n\x08\x66ilename\x18\x05 \x01(\t\x12\x11\n\tfile_path\x18\x06 \x01(\t\x12\x10\n\x08obs_time\x18\x07 \x01(\t\x12\x12\n\nqc2_status\x18\x08 \x01(\x05\x12\x10\n\x08qc2_time\x18\t \x01(\t\x12\x12\n\nprc_status\x18\n \x01(\x05\x12\x10\n\x08prc_time\x18\x0b \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x0c \x01(\t\x12\x13\n\x0bpipeline_id\x18\r \x01(\t\x12\x15\n\rimport_status\x18\x0e \x01(\x05\"\xcb\x02\n\rFindLevel2Req\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x11\n\tdata_type\x18\x03 \x01(\t\x12\x19\n\x11\x63reate_time_start\x18\x04 \x01(\t\x12\x17\n\x0f\x63reate_time_end\x18\x05 \x01(\t\x12\x12\n\nqc2_status\x18\x06 \x01(\x05\x12\x12\n\nprc_status\x18\x07 \x01(\x05\x12\x10\n\x08\x66ilename\x18\x08 \x01(\t\x12\r\n\x05limit\x18\t \x01(\x05\x12L\n\x10other_conditions\x18\n \x03(\x0b\x32\x32.dfs.msc.level2.FindLevel2Req.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x82\x01\n\x0e\x46indLevel2Resp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12-\n\x07records\x18\x04 \x03(\x0b\x32\x1c.dfs.msc.level2.Level2Record\"\x1a\n\x0cGetLevel2Req\x12\n\n\x02id\x18\x01 \x01(\x03\"=\n\rGetLevel2Resp\x12,\n\x06record\x18\x01 \x01(\x0b\x32\x1c.dfs.msc.level2.Level2Record\"L\n\x0eWriteLevel2Req\x12,\n\x06record\x18\x01 \x01(\x0b\x32\x1c.dfs.msc.level2.Level2Record\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"n\n\x0fWriteLevel2Resp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12,\n\x06record\x18\x03 \x01(\x0b\x32\x1c.dfs.msc.level2.Level2Record\"0\n\x12UpdateQc2StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"D\n\x13UpdateQc2StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"1\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"\xd8\x12\n\x13Level2CatalogRecord\x12\x11\n\tlevel2_id\x18\x01 \x01(\x03\x12\n\n\x02ID\x18\x02 \x01(\x03\x12\r\n\x05\x43\x43\x44NO\x18\x03 \x01(\x05\x12\r\n\x05objID\x18\x04 \x01(\x05\x12\t\n\x01X\x18\x05 \x01(\x02\x12\x0c\n\x04XErr\x18\x06 \x01(\x01\x12\t\n\x01Y\x18\x07 \x01(\x02\x12\x0c\n\x04YErr\x18\x08 \x01(\x01\x12\n\n\x02RA\x18\t \x01(\x01\x12\r\n\x05RAErr\x18\n \x01(\x01\x12\x0b\n\x03\x44\x45\x43\x18\x0b \x01(\x01\x12\x0e\n\x06\x44\x45\x43\x45rr\x18\x0c \x01(\x01\x12\t\n\x01\x41\x18\r \x01(\x02\x12\x0c\n\x04\x41\x45rr\x18\x0e \x01(\x02\x12\t\n\x01\x42\x18\x0f \x01(\x02\x12\x0c\n\x04\x42\x45rr\x18\x10 \x01(\x02\x12\n\n\x02PA\x18\x11 \x01(\x02\x12\r\n\x05PAErr\x18\x12 \x01(\x02\x12\x0c\n\x04\x46lag\x18\x13 \x01(\x05\x12\x10\n\x08\x46lag_ISO\x18\x14 \x01(\x05\x12\x14\n\x0c\x46lag_ISO_Num\x18\x15 \x01(\x05\x12\x0c\n\x04\x46WHM\x18\x16 \x01(\x02\x12\n\n\x02\x41\x42\x18\x17 \x01(\x02\x12\t\n\x01\x45\x18\x18 \x01(\x02\x12\x11\n\tFlux_Kron\x18\x19 \x01(\x01\x12\x14\n\x0c\x46luxErr_Kron\x18\x1a \x01(\x02\x12\x10\n\x08Mag_Kron\x18\x1b \x01(\x01\x12\x13\n\x0bMagErr_Kron\x18\x1c \x01(\x01\x12\x13\n\x0bRadius_Kron\x18\x1d \x01(\x01\x12\x0b\n\x03Sky\x18\x1e \x01(\x02\x12\x12\n\nFlux_Aper1\x18\x1f \x01(\x02\x12\x15\n\rFluxErr_Aper1\x18 \x01(\x02\x12\x11\n\tMag_Aper1\x18! \x01(\x02\x12\x14\n\x0cMagErr_Aper1\x18\" \x01(\x02\x12\x12\n\nFlux_Aper2\x18# \x01(\x02\x12\x15\n\rFluxErr_Aper2\x18$ \x01(\x02\x12\x11\n\tMag_Aper2\x18% \x01(\x02\x12\x14\n\x0cMagErr_Aper2\x18& \x01(\x02\x12\x12\n\nFlux_Aper3\x18\' \x01(\x02\x12\x15\n\rFluxErr_Aper3\x18( \x01(\x02\x12\x11\n\tMag_Aper3\x18) \x01(\x02\x12\x14\n\x0cMagErr_Aper3\x18* \x01(\x02\x12\x12\n\nFlux_Aper4\x18+ \x01(\x02\x12\x15\n\rFluxErr_Aper4\x18, \x01(\x02\x12\x11\n\tMag_Aper4\x18- \x01(\x02\x12\x14\n\x0cMagErr_Aper4\x18. \x01(\x02\x12\x12\n\nFlux_Aper5\x18/ \x01(\x02\x12\x15\n\rFluxErr_Aper5\x18\x30 \x01(\x02\x12\x11\n\tMag_Aper5\x18\x31 \x01(\x02\x12\x14\n\x0cMagErr_Aper5\x18\x32 \x01(\x02\x12\x12\n\nFlux_Aper6\x18\x33 \x01(\x02\x12\x15\n\rFluxErr_Aper6\x18\x34 \x01(\x02\x12\x11\n\tMag_Aper6\x18\x35 \x01(\x02\x12\x14\n\x0cMagErr_Aper6\x18\x36 \x01(\x02\x12\x12\n\nFlux_Aper7\x18\x37 \x01(\x02\x12\x15\n\rFluxErr_Aper7\x18\x38 \x01(\x02\x12\x11\n\tMag_Aper7\x18\x39 \x01(\x02\x12\x14\n\x0cMagErr_Aper7\x18: \x01(\x02\x12\x12\n\nFlux_Aper8\x18; \x01(\x02\x12\x15\n\rFluxErr_Aper8\x18< \x01(\x02\x12\x11\n\tMag_Aper8\x18= \x01(\x02\x12\x14\n\x0cMagErr_Aper8\x18> \x01(\x02\x12\x12\n\nFlux_Aper9\x18? \x01(\x02\x12\x15\n\rFluxErr_Aper9\x18@ \x01(\x02\x12\x11\n\tMag_Aper9\x18\x41 \x01(\x02\x12\x14\n\x0cMagErr_Aper9\x18\x42 \x01(\x02\x12\x13\n\x0b\x46lux_Aper10\x18\x43 \x01(\x02\x12\x16\n\x0e\x46luxErr_Aper10\x18\x44 \x01(\x02\x12\x12\n\nMag_Aper10\x18\x45 \x01(\x02\x12\x15\n\rMagErr_Aper10\x18\x46 \x01(\x02\x12\x13\n\x0b\x46lux_Aper11\x18G \x01(\x02\x12\x16\n\x0e\x46luxErr_Aper11\x18H \x01(\x02\x12\x12\n\nMag_Aper11\x18I \x01(\x02\x12\x15\n\rMagErr_Aper11\x18J \x01(\x02\x12\x13\n\x0b\x46lux_Aper12\x18K \x01(\x02\x12\x16\n\x0e\x46luxErr_Aper12\x18L \x01(\x02\x12\x12\n\nMag_Aper12\x18M \x01(\x02\x12\x15\n\rMagErr_Aper12\x18N \x01(\x02\x12\x0c\n\x04Type\x18O \x01(\x05\x12\x0b\n\x03R20\x18P \x01(\x02\x12\x0b\n\x03R50\x18Q \x01(\x02\x12\x0b\n\x03R90\x18R \x01(\x02\x12\r\n\x05X_PSF\x18S \x01(\x01\x12\r\n\x05Y_PSF\x18T \x01(\x01\x12\x0e\n\x06RA_PSF\x18U \x01(\x01\x12\x0f\n\x07\x44\x45\x43_PSF\x18V \x01(\x01\x12\x10\n\x08\x43hi2_PSF\x18W \x01(\x02\x12\x10\n\x08\x46lux_PSF\x18X \x01(\x02\x12\x13\n\x0b\x46luxErr_PSF\x18Y \x01(\x02\x12\x0f\n\x07Mag_PSF\x18Z \x01(\x02\x12\x12\n\nMagErr_PSF\x18[ \x01(\x02\x12\x0f\n\x07X_Model\x18\\ \x01(\x01\x12\x0f\n\x07Y_Model\x18] \x01(\x01\x12\x10\n\x08RA_Model\x18^ \x01(\x01\x12\x11\n\tDEC_Model\x18_ \x01(\x01\x12\x12\n\nChi2_Model\x18` \x01(\x02\x12\x12\n\nFlag_Model\x18\x61 \x01(\x05\x12\x12\n\nFlux_Model\x18\x62 \x01(\x02\x12\x15\n\rFluxErr_Model\x18\x63 \x01(\x02\x12\x11\n\tMag_Model\x18\x64 \x01(\x02\x12\x14\n\x0cMagErr_Model\x18\x65 \x01(\x02\x12\x12\n\nFlux_Bulge\x18\x66 \x01(\x02\x12\x15\n\rFluxErr_Bulge\x18g \x01(\x02\x12\x11\n\tMag_Bulge\x18h \x01(\x02\x12\x14\n\x0cMagErr_Bulge\x18i \x01(\x02\x12\x10\n\x08Re_Bulge\x18j \x01(\x02\x12\x13\n\x0bReErr_Bulge\x18k \x01(\x02\x12\x0f\n\x07\x45_Bulge\x18l \x01(\x02\x12\x12\n\nEErr_Bulge\x18m \x01(\x02\x12\x10\n\x08PA_Bulge\x18n \x01(\x02\x12\x13\n\x0bPAErr_Bulge\x18o \x01(\x02\x12\x11\n\tFlux_Disk\x18p \x01(\x02\x12\x14\n\x0c\x46luxErr_Disk\x18q \x01(\x02\x12\x10\n\x08Mag_Disk\x18r \x01(\x02\x12\x13\n\x0bMagErr_Disk\x18s \x01(\x02\x12\x0f\n\x07Re_Disk\x18t \x01(\x02\x12\x12\n\nReErr_Disk\x18u \x01(\x02\x12\x0e\n\x06\x45_Disk\x18v \x01(\x02\x12\x11\n\tEErr_Disk\x18w \x01(\x02\x12\x0f\n\x07PA_Disk\x18x \x01(\x02\x12\x12\n\nPAErr_Disk\x18y \x01(\x02\x12\x12\n\nRatio_Disk\x18z \x01(\x02\x12\x15\n\rRatioErr_Disk\x18{ \x01(\x02\x12\x14\n\x0cSpread_Model\x18| \x01(\x02\x12\x17\n\x0fSpreadErr_Model\x18} \x01(\x02\x12\x11\n\tNS128HIdx\x18~ \x01(\x05\"\xd1\x01\n\x14\x46indLevel2CatalogReq\x12\x0e\n\x06obs_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x02 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t\x12\n\n\x02ra\x18\x04 \x01(\x01\x12\x0b\n\x03\x64\x65\x63\x18\x05 \x01(\x01\x12\x0e\n\x06radius\x18\x06 \x01(\x01\x12\x0e\n\x06minMag\x18\x07 \x01(\x01\x12\x0e\n\x06maxMag\x18\x08 \x01(\x01\x12\x16\n\x0eobs_time_start\x18\t \x01(\t\x12\x14\n\x0cobs_time_end\x18\x14 \x01(\t\x12\r\n\x05limit\x18\x0b \x01(\x05\"\x90\x01\n\x15\x46indLevel2CatalogResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x34\n\x07records\x18\x04 \x03(\x0b\x32#.dfs.msc.level2.Level2CatalogRecord\"\x87\x01\n\x13\x46indCatalogFileResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12-\n\x07records\x18\x04 \x03(\x0b\x32\x1c.dfs.msc.level2.Level2Record\"/\n\x1a\x44\x65leteCatalogByLevel2IdReq\x12\x11\n\tlevel2_id\x18\x01 \x01(\x03\"L\n\x1b\x44\x65leteCatalogByLevel2IdResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xdb\x05\n\tLevel2Srv\x12G\n\x04\x46ind\x12\x1d.dfs.msc.level2.FindLevel2Req\x1a\x1e.dfs.msc.level2.FindLevel2Resp\"\x00\x12\\\n\x0b\x46indCatalog\x12$.dfs.msc.level2.FindLevel2CatalogReq\x1a%.dfs.msc.level2.FindLevel2CatalogResp\"\x00\x12^\n\x0f\x46indCatalogFile\x12$.dfs.msc.level2.FindLevel2CatalogReq\x1a#.dfs.msc.level2.FindCatalogFileResp\"\x00\x12\x44\n\x03Get\x12\x1c.dfs.msc.level2.GetLevel2Req\x1a\x1d.dfs.msc.level2.GetLevel2Resp\"\x00\x12L\n\x05Write\x12\x1e.dfs.msc.level2.WriteLevel2Req\x1a\x1f.dfs.msc.level2.WriteLevel2Resp\"\x00(\x01\x12\\\n\x0fUpdateQc2Status\x12\".dfs.msc.level2.UpdateQc2StatusReq\x1a#.dfs.msc.level2.UpdateQc2StatusResp\"\x00\x12_\n\x10UpdateProcStatus\x12#.dfs.msc.level2.UpdateProcStatusReq\x1a$.dfs.msc.level2.UpdateProcStatusResp\"\x00\x12t\n\x17\x44\x65leteCatalogByLevel2Id\x12*.dfs.msc.level2.DeleteCatalogByLevel2IdReq\x1a+.dfs.msc.level2.DeleteCatalogByLevel2IdResp\"\x00\x42!Z\x1f\x63nlab.net/csst/proto/msc/level2b\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'msc.level2.level2_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z\037cnlab.net/csst/proto/msc/level2' + _FINDLEVEL2REQ_OTHERCONDITIONSENTRY._options = None + _FINDLEVEL2REQ_OTHERCONDITIONSENTRY._serialized_options = b'8\001' + _LEVEL2RECORD._serialized_start=64 + _LEVEL2RECORD._serialized_end=343 + _FINDLEVEL2REQ._serialized_start=346 + _FINDLEVEL2REQ._serialized_end=677 + _FINDLEVEL2REQ_OTHERCONDITIONSENTRY._serialized_start=623 + _FINDLEVEL2REQ_OTHERCONDITIONSENTRY._serialized_end=677 + _FINDLEVEL2RESP._serialized_start=680 + _FINDLEVEL2RESP._serialized_end=810 + _GETLEVEL2REQ._serialized_start=812 + _GETLEVEL2REQ._serialized_end=838 + _GETLEVEL2RESP._serialized_start=840 + _GETLEVEL2RESP._serialized_end=901 + _WRITELEVEL2REQ._serialized_start=903 + _WRITELEVEL2REQ._serialized_end=979 + _WRITELEVEL2RESP._serialized_start=981 + _WRITELEVEL2RESP._serialized_end=1091 + _UPDATEQC2STATUSREQ._serialized_start=1093 + _UPDATEQC2STATUSREQ._serialized_end=1141 + _UPDATEQC2STATUSRESP._serialized_start=1143 + _UPDATEQC2STATUSRESP._serialized_end=1211 + _UPDATEPROCSTATUSREQ._serialized_start=1213 + _UPDATEPROCSTATUSREQ._serialized_end=1262 + _UPDATEPROCSTATUSRESP._serialized_start=1264 + _UPDATEPROCSTATUSRESP._serialized_end=1333 + _LEVEL2CATALOGRECORD._serialized_start=1336 + _LEVEL2CATALOGRECORD._serialized_end=3728 + _FINDLEVEL2CATALOGREQ._serialized_start=3731 + _FINDLEVEL2CATALOGREQ._serialized_end=3940 + _FINDLEVEL2CATALOGRESP._serialized_start=3943 + _FINDLEVEL2CATALOGRESP._serialized_end=4087 + _FINDCATALOGFILERESP._serialized_start=4090 + _FINDCATALOGFILERESP._serialized_end=4225 + _DELETECATALOGBYLEVEL2IDREQ._serialized_start=4227 + _DELETECATALOGBYLEVEL2IDREQ._serialized_end=4274 + _DELETECATALOGBYLEVEL2IDRESP._serialized_start=4276 + _DELETECATALOGBYLEVEL2IDRESP._serialized_end=4352 + _LEVEL2SRV._serialized_start=4355 + _LEVEL2SRV._serialized_end=5086 # @@protoc_insertion_point(module_scope) diff --git a/csst_dfs_proto/msc/level2/level2_pb2_grpc.py b/csst_dfs_proto/msc/level2/level2_pb2_grpc.py index 85d8e7a..0393039 100644 --- a/csst_dfs_proto/msc/level2/level2_pb2_grpc.py +++ b/csst_dfs_proto/msc/level2/level2_pb2_grpc.py @@ -1,11 +1,12 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from . import level2_pb2 as msc_dot_level2_dot_level2__pb2 class Level2SrvStub(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def __init__(self, channel): """Constructor. @@ -56,52 +57,52 @@ class Level2SrvStub(object): class Level2SrvServicer(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def Find(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def FindCatalog(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def FindCatalogFile(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Get(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Write(self, request_iterator, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateQc2Status(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateProcStatus(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def DeleteCatalogByLevel2Id(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') @@ -157,7 +158,7 @@ def add_Level2SrvServicer_to_server(servicer, server): # This class is part of an EXPERIMENTAL API. class Level2Srv(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" @staticmethod def Find(request, @@ -165,6 +166,7 @@ class Level2Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -173,7 +175,7 @@ class Level2Srv(object): msc_dot_level2_dot_level2__pb2.FindLevel2Req.SerializeToString, msc_dot_level2_dot_level2__pb2.FindLevel2Resp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FindCatalog(request, @@ -181,6 +183,7 @@ class Level2Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -189,7 +192,7 @@ class Level2Srv(object): msc_dot_level2_dot_level2__pb2.FindLevel2CatalogReq.SerializeToString, msc_dot_level2_dot_level2__pb2.FindLevel2CatalogResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FindCatalogFile(request, @@ -197,6 +200,7 @@ class Level2Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -205,7 +209,7 @@ class Level2Srv(object): msc_dot_level2_dot_level2__pb2.FindLevel2CatalogReq.SerializeToString, msc_dot_level2_dot_level2__pb2.FindCatalogFileResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Get(request, @@ -213,6 +217,7 @@ class Level2Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -221,7 +226,7 @@ class Level2Srv(object): msc_dot_level2_dot_level2__pb2.GetLevel2Req.SerializeToString, msc_dot_level2_dot_level2__pb2.GetLevel2Resp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Write(request_iterator, @@ -229,6 +234,7 @@ class Level2Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -237,7 +243,7 @@ class Level2Srv(object): msc_dot_level2_dot_level2__pb2.WriteLevel2Req.SerializeToString, msc_dot_level2_dot_level2__pb2.WriteLevel2Resp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateQc2Status(request, @@ -245,6 +251,7 @@ class Level2Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -253,7 +260,7 @@ class Level2Srv(object): msc_dot_level2_dot_level2__pb2.UpdateQc2StatusReq.SerializeToString, msc_dot_level2_dot_level2__pb2.UpdateQc2StatusResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateProcStatus(request, @@ -261,6 +268,7 @@ class Level2Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -269,7 +277,7 @@ class Level2Srv(object): msc_dot_level2_dot_level2__pb2.UpdateProcStatusReq.SerializeToString, msc_dot_level2_dot_level2__pb2.UpdateProcStatusResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DeleteCatalogByLevel2Id(request, @@ -277,6 +285,7 @@ class Level2Srv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -285,4 +294,4 @@ class Level2Srv(object): msc_dot_level2_dot_level2__pb2.DeleteCatalogByLevel2IdReq.SerializeToString, msc_dot_level2_dot_level2__pb2.DeleteCatalogByLevel2IdResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/csst_dfs_proto/msc/level2co/level2co_pb2.py b/csst_dfs_proto/msc/level2co/level2co_pb2.py index ac5ebee..9c40af9 100644 --- a/csst_dfs_proto/msc/level2co/level2co_pb2.py +++ b/csst_dfs_proto/msc/level2co/level2co_pb2.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: msc/level2co/level2co.proto - +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder 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 descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -14,1914 +14,50 @@ _sym_db = _symbol_database.Default() from ...common import error_pb2 as common_dot_error__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='msc/level2co/level2co.proto', - package='dfs.msc.level2co', - syntax='proto3', - serialized_options=b'Z!cnlab.net/csst/proto/msc/level2co', - serialized_pb=b'\n\x1bmsc/level2co/level2co.proto\x12\x10\x64\x66s.msc.level2co\x1a\x12\x63ommon/error.proto\"\xe1\x01\n\x0eLevel2CoRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x10\n\x08\x66ilename\x18\x03 \x01(\t\x12\x11\n\tfile_path\x18\x04 \x01(\t\x12\x12\n\nqc2_status\x18\x05 \x01(\x05\x12\x10\n\x08qc2_time\x18\x06 \x01(\t\x12\x12\n\nprc_status\x18\x07 \x01(\x05\x12\x10\n\x08prc_time\x18\x08 \x01(\t\x12\x13\n\x0b\x63reate_time\x18\t \x01(\t\x12\x13\n\x0bpipeline_id\x18\n \x01(\t\x12\x15\n\rimport_status\x18\x0b \x01(\x05\"\xab\x02\n\x0f\x46indLevel2CoReq\x12\x11\n\tdata_type\x18\x01 \x01(\t\x12\x19\n\x11\x63reate_time_start\x18\x02 \x01(\t\x12\x17\n\x0f\x63reate_time_end\x18\x03 \x01(\t\x12\x12\n\nqc2_status\x18\x04 \x01(\x05\x12\x12\n\nprc_status\x18\x05 \x01(\x05\x12\x10\n\x08\x66ilename\x18\x06 \x01(\t\x12\r\n\x05limit\x18\x07 \x01(\x05\x12P\n\x10other_conditions\x18\x08 \x03(\x0b\x32\x36.dfs.msc.level2co.FindLevel2CoReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x88\x01\n\x10\x46indLevel2CoResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x31\n\x07records\x18\x04 \x03(\x0b\x32 .dfs.msc.level2co.Level2CoRecord\"\x1c\n\x0eGetLevel2CoReq\x12\n\n\x02id\x18\x01 \x01(\x03\"C\n\x0fGetLevel2CoResp\x12\x30\n\x06record\x18\x01 \x01(\x0b\x32 .dfs.msc.level2co.Level2CoRecord\"R\n\x10WriteLevel2CoReq\x12\x30\n\x06record\x18\x01 \x01(\x0b\x32 .dfs.msc.level2co.Level2CoRecord\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"t\n\x11WriteLevel2CoResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x30\n\x06record\x18\x03 \x01(\x0b\x32 .dfs.msc.level2co.Level2CoRecord\"0\n\x12UpdateQc2StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"D\n\x13UpdateQc2StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"1\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"\xa9\x12\n\x15Level2CoCatalogRecord\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\t\n\x01X\x18\x02 \x01(\x02\x12\x0c\n\x04XErr\x18\x03 \x01(\x01\x12\t\n\x01Y\x18\x04 \x01(\x02\x12\x0c\n\x04YErr\x18\x05 \x01(\x01\x12\n\n\x02RA\x18\x06 \x01(\x01\x12\r\n\x05RAErr\x18\x07 \x01(\x01\x12\x0b\n\x03\x44\x45\x43\x18\x08 \x01(\x01\x12\x0e\n\x06\x44\x45\x43\x45rr\x18\t \x01(\x01\x12\t\n\x01\x41\x18\n \x01(\x02\x12\x0c\n\x04\x41\x45rr\x18\x0b \x01(\x02\x12\t\n\x01\x42\x18\x0c \x01(\x02\x12\x0c\n\x04\x42\x45rr\x18\r \x01(\x02\x12\n\n\x02PA\x18\x0e \x01(\x02\x12\r\n\x05PAErr\x18\x0f \x01(\x02\x12\x0c\n\x04\x46lag\x18\x10 \x01(\x05\x12\x10\n\x08\x46lag_ISO\x18\x11 \x01(\x05\x12\x14\n\x0c\x46lag_ISO_Num\x18\x12 \x01(\x05\x12\x0c\n\x04\x46WHM\x18\x13 \x01(\x02\x12\n\n\x02\x41\x42\x18\x14 \x01(\x02\x12\t\n\x01\x45\x18\x15 \x01(\x02\x12\x11\n\tFlux_Kron\x18\x16 \x01(\x01\x12\x14\n\x0c\x46luxErr_Kron\x18\x17 \x01(\x02\x12\x10\n\x08Mag_Kron\x18\x18 \x01(\x01\x12\x13\n\x0bMagErr_Kron\x18\x19 \x01(\x01\x12\x13\n\x0bRadius_Kron\x18\x1a \x01(\x01\x12\x0b\n\x03Sky\x18\x1b \x01(\x02\x12\x12\n\nFlux_Aper1\x18\x1c \x01(\x02\x12\x15\n\rFluxErr_Aper1\x18\x1d \x01(\x02\x12\x11\n\tMag_Aper1\x18\x1e \x01(\x02\x12\x14\n\x0cMagErr_Aper1\x18\x1f \x01(\x02\x12\x12\n\nFlux_Aper2\x18 \x01(\x02\x12\x15\n\rFluxErr_Aper2\x18! \x01(\x02\x12\x11\n\tMag_Aper2\x18\" \x01(\x02\x12\x14\n\x0cMagErr_Aper2\x18# \x01(\x02\x12\x12\n\nFlux_Aper3\x18$ \x01(\x02\x12\x15\n\rFluxErr_Aper3\x18% \x01(\x02\x12\x11\n\tMag_Aper3\x18& \x01(\x02\x12\x14\n\x0cMagErr_Aper3\x18\' \x01(\x02\x12\x12\n\nFlux_Aper4\x18( \x01(\x02\x12\x15\n\rFluxErr_Aper4\x18) \x01(\x02\x12\x11\n\tMag_Aper4\x18* \x01(\x02\x12\x14\n\x0cMagErr_Aper4\x18+ \x01(\x02\x12\x12\n\nFlux_Aper5\x18, \x01(\x02\x12\x15\n\rFluxErr_Aper5\x18- \x01(\x02\x12\x11\n\tMag_Aper5\x18. \x01(\x02\x12\x14\n\x0cMagErr_Aper5\x18/ \x01(\x02\x12\x12\n\nFlux_Aper6\x18\x30 \x01(\x02\x12\x15\n\rFluxErr_Aper6\x18\x31 \x01(\x02\x12\x11\n\tMag_Aper6\x18\x32 \x01(\x02\x12\x14\n\x0cMagErr_Aper6\x18\x33 \x01(\x02\x12\x12\n\nFlux_Aper7\x18\x34 \x01(\x02\x12\x15\n\rFluxErr_Aper7\x18\x35 \x01(\x02\x12\x11\n\tMag_Aper7\x18\x36 \x01(\x02\x12\x14\n\x0cMagErr_Aper7\x18\x37 \x01(\x02\x12\x12\n\nFlux_Aper8\x18\x38 \x01(\x02\x12\x15\n\rFluxErr_Aper8\x18\x39 \x01(\x02\x12\x11\n\tMag_Aper8\x18: \x01(\x02\x12\x14\n\x0cMagErr_Aper8\x18; \x01(\x02\x12\x12\n\nFlux_Aper9\x18< \x01(\x02\x12\x15\n\rFluxErr_Aper9\x18= \x01(\x02\x12\x11\n\tMag_Aper9\x18> \x01(\x02\x12\x14\n\x0cMagErr_Aper9\x18? \x01(\x02\x12\x13\n\x0b\x46lux_Aper10\x18@ \x01(\x02\x12\x16\n\x0e\x46luxErr_Aper10\x18\x41 \x01(\x02\x12\x12\n\nMag_Aper10\x18\x42 \x01(\x02\x12\x15\n\rMagErr_Aper10\x18\x43 \x01(\x02\x12\x13\n\x0b\x46lux_Aper11\x18\x44 \x01(\x02\x12\x16\n\x0e\x46luxErr_Aper11\x18\x45 \x01(\x02\x12\x12\n\nMag_Aper11\x18\x46 \x01(\x02\x12\x15\n\rMagErr_Aper11\x18G \x01(\x02\x12\x13\n\x0b\x46lux_Aper12\x18H \x01(\x02\x12\x16\n\x0e\x46luxErr_Aper12\x18I \x01(\x02\x12\x12\n\nMag_Aper12\x18J \x01(\x02\x12\x15\n\rMagErr_Aper12\x18K \x01(\x02\x12\x0c\n\x04Type\x18L \x01(\x05\x12\x0b\n\x03R20\x18M \x01(\x02\x12\x0b\n\x03R50\x18N \x01(\x02\x12\x0b\n\x03R90\x18O \x01(\x02\x12\r\n\x05X_PSF\x18P \x01(\x01\x12\r\n\x05Y_PSF\x18Q \x01(\x01\x12\x0e\n\x06RA_PSF\x18R \x01(\x01\x12\x0f\n\x07\x44\x45\x43_PSF\x18S \x01(\x01\x12\x10\n\x08\x43hi2_PSF\x18T \x01(\x02\x12\x10\n\x08\x46lux_PSF\x18U \x01(\x02\x12\x13\n\x0b\x46luxErr_PSF\x18V \x01(\x02\x12\x0f\n\x07Mag_PSF\x18W \x01(\x02\x12\x12\n\nMagErr_PSF\x18X \x01(\x02\x12\x0f\n\x07X_Model\x18Y \x01(\x01\x12\x0f\n\x07Y_Model\x18Z \x01(\x01\x12\x10\n\x08RA_Model\x18[ \x01(\x01\x12\x11\n\tDEC_Model\x18\\ \x01(\x01\x12\x12\n\nChi2_Model\x18] \x01(\x02\x12\x12\n\nFlag_Model\x18^ \x01(\x05\x12\x12\n\nFlux_Model\x18_ \x01(\x02\x12\x15\n\rFluxErr_Model\x18` \x01(\x02\x12\x11\n\tMag_Model\x18\x61 \x01(\x02\x12\x14\n\x0cMagErr_Model\x18\x62 \x01(\x02\x12\x12\n\nFlux_Bulge\x18\x63 \x01(\x02\x12\x15\n\rFluxErr_Bulge\x18\x64 \x01(\x02\x12\x11\n\tMag_Bulge\x18\x65 \x01(\x02\x12\x14\n\x0cMagErr_Bulge\x18\x66 \x01(\x02\x12\x10\n\x08Re_Bulge\x18g \x01(\x02\x12\x13\n\x0bReErr_Bulge\x18h \x01(\x02\x12\x0f\n\x07\x45_Bulge\x18i \x01(\x02\x12\x12\n\nEErr_Bulge\x18j \x01(\x02\x12\x10\n\x08PA_Bulge\x18k \x01(\x02\x12\x13\n\x0bPAErr_Bulge\x18l \x01(\x02\x12\x11\n\tFlux_Disk\x18m \x01(\x02\x12\x14\n\x0c\x46luxErr_Disk\x18n \x01(\x02\x12\x10\n\x08Mag_Disk\x18o \x01(\x02\x12\x13\n\x0bMagErr_Disk\x18p \x01(\x02\x12\x0f\n\x07Re_Disk\x18q \x01(\x02\x12\x12\n\nReErr_Disk\x18r \x01(\x02\x12\x0e\n\x06\x45_Disk\x18s \x01(\x02\x12\x11\n\tEErr_Disk\x18t \x01(\x02\x12\x0f\n\x07PA_Disk\x18u \x01(\x02\x12\x12\n\nPAErr_Disk\x18v \x01(\x02\x12\x12\n\nRatio_Disk\x18w \x01(\x02\x12\x15\n\rRatioErr_Disk\x18x \x01(\x02\x12\x14\n\x0cSpread_Model\x18y \x01(\x02\x12\x17\n\x0fSpreadErr_Model\x18z \x01(\x02\x12\x11\n\tNS128HIdx\x18{ \x01(\x05\"\xc3\x01\n\x16\x46indLevel2CoCatalogReq\x12\x0e\n\x06obs_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x02 \x01(\t\x12\n\n\x02ra\x18\x03 \x01(\t\x12\x0b\n\x03\x64\x65\x63\x18\x04 \x01(\t\x12\x0e\n\x06radius\x18\x05 \x01(\x01\x12\x0e\n\x06minMag\x18\x06 \x01(\x01\x12\x0e\n\x06maxMag\x18\x07 \x01(\x01\x12\x16\n\x0eobs_time_start\x18\x08 \x01(\t\x12\x14\n\x0cobs_time_end\x18\t \x01(\t\x12\r\n\x05limit\x18\n \x01(\x05\"\x96\x01\n\x17\x46indLevel2CoCatalogResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x38\n\x07records\x18\x04 \x03(\x0b\x32\'.dfs.msc.level2co.Level2CoCatalogRecord\"1\n\x1c\x44\x65leteCatalogByLevel2CoIdReq\x12\x11\n\tlevel2_id\x18\x01 \x01(\x03\"N\n\x1d\x44\x65leteCatalogByLevel2CoIdResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xaf\x05\n\x0bLevel2CoSrv\x12O\n\x04\x46ind\x12!.dfs.msc.level2co.FindLevel2CoReq\x1a\".dfs.msc.level2co.FindLevel2CoResp\"\x00\x12\x64\n\x0b\x46indCatalog\x12(.dfs.msc.level2co.FindLevel2CoCatalogReq\x1a).dfs.msc.level2co.FindLevel2CoCatalogResp\"\x00\x12L\n\x03Get\x12 .dfs.msc.level2co.GetLevel2CoReq\x1a!.dfs.msc.level2co.GetLevel2CoResp\"\x00\x12T\n\x05Write\x12\".dfs.msc.level2co.WriteLevel2CoReq\x1a#.dfs.msc.level2co.WriteLevel2CoResp\"\x00(\x01\x12`\n\x0fUpdateQc2Status\x12$.dfs.msc.level2co.UpdateQc2StatusReq\x1a%.dfs.msc.level2co.UpdateQc2StatusResp\"\x00\x12\x63\n\x10UpdateProcStatus\x12%.dfs.msc.level2co.UpdateProcStatusReq\x1a&.dfs.msc.level2co.UpdateProcStatusResp\"\x00\x12~\n\x19\x44\x65leteCatalogByLevel2CoId\x12..dfs.msc.level2co.DeleteCatalogByLevel2CoIdReq\x1a/.dfs.msc.level2co.DeleteCatalogByLevel2CoIdResp\"\x00\x42#Z!cnlab.net/csst/proto/msc/level2cob\x06proto3' - , - dependencies=[common_dot_error__pb2.DESCRIPTOR,]) - - - - -_LEVEL2CORECORD = _descriptor.Descriptor( - name='Level2CoRecord', - full_name='dfs.msc.level2co.Level2CoRecord', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.msc.level2co.Level2CoRecord.id', 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), - _descriptor.FieldDescriptor( - name='data_type', full_name='dfs.msc.level2co.Level2CoRecord.data_type', 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), - _descriptor.FieldDescriptor( - name='filename', full_name='dfs.msc.level2co.Level2CoRecord.filename', index=2, - number=3, 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='file_path', full_name='dfs.msc.level2co.Level2CoRecord.file_path', index=3, - number=4, 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='qc2_status', full_name='dfs.msc.level2co.Level2CoRecord.qc2_status', index=4, - number=5, type=5, cpp_type=1, 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='qc2_time', full_name='dfs.msc.level2co.Level2CoRecord.qc2_time', index=5, - number=6, 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='prc_status', full_name='dfs.msc.level2co.Level2CoRecord.prc_status', index=6, - number=7, type=5, cpp_type=1, 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='prc_time', full_name='dfs.msc.level2co.Level2CoRecord.prc_time', index=7, - number=8, 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='create_time', full_name='dfs.msc.level2co.Level2CoRecord.create_time', index=8, - number=9, 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='pipeline_id', full_name='dfs.msc.level2co.Level2CoRecord.pipeline_id', index=9, - number=10, 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='import_status', full_name='dfs.msc.level2co.Level2CoRecord.import_status', index=10, - number=11, type=5, cpp_type=1, 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=70, - serialized_end=295, -) - - -_FINDLEVEL2COREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor( - name='OtherConditionsEntry', - full_name='dfs.msc.level2co.FindLevel2CoReq.OtherConditionsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dfs.msc.level2co.FindLevel2CoReq.OtherConditionsEntry.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.msc.level2co.FindLevel2CoReq.OtherConditionsEntry.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=543, - serialized_end=597, -) - -_FINDLEVEL2COREQ = _descriptor.Descriptor( - name='FindLevel2CoReq', - full_name='dfs.msc.level2co.FindLevel2CoReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='data_type', full_name='dfs.msc.level2co.FindLevel2CoReq.data_type', 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='create_time_start', full_name='dfs.msc.level2co.FindLevel2CoReq.create_time_start', 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), - _descriptor.FieldDescriptor( - name='create_time_end', full_name='dfs.msc.level2co.FindLevel2CoReq.create_time_end', index=2, - number=3, 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='qc2_status', full_name='dfs.msc.level2co.FindLevel2CoReq.qc2_status', index=3, - number=4, type=5, cpp_type=1, 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='prc_status', full_name='dfs.msc.level2co.FindLevel2CoReq.prc_status', index=4, - number=5, type=5, cpp_type=1, 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='filename', full_name='dfs.msc.level2co.FindLevel2CoReq.filename', index=5, - number=6, 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='limit', full_name='dfs.msc.level2co.FindLevel2CoReq.limit', index=6, - number=7, type=5, cpp_type=1, 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='other_conditions', full_name='dfs.msc.level2co.FindLevel2CoReq.other_conditions', index=7, - number=8, 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=[_FINDLEVEL2COREQ_OTHERCONDITIONSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=298, - serialized_end=597, -) - - -_FINDLEVEL2CORESP = _descriptor.Descriptor( - name='FindLevel2CoResp', - full_name='dfs.msc.level2co.FindLevel2CoResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.msc.level2co.FindLevel2CoResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.msc.level2co.FindLevel2CoResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.msc.level2co.FindLevel2CoResp.error', 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='records', full_name='dfs.msc.level2co.FindLevel2CoResp.records', index=3, - number=4, 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=600, - serialized_end=736, -) - - -_GETLEVEL2COREQ = _descriptor.Descriptor( - name='GetLevel2CoReq', - full_name='dfs.msc.level2co.GetLevel2CoReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.msc.level2co.GetLevel2CoReq.id', 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=738, - serialized_end=766, -) - - -_GETLEVEL2CORESP = _descriptor.Descriptor( - name='GetLevel2CoResp', - full_name='dfs.msc.level2co.GetLevel2CoResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.msc.level2co.GetLevel2CoResp.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=768, - serialized_end=835, -) - - -_WRITELEVEL2COREQ = _descriptor.Descriptor( - name='WriteLevel2CoReq', - full_name='dfs.msc.level2co.WriteLevel2CoReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.msc.level2co.WriteLevel2CoReq.record', 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='data', full_name='dfs.msc.level2co.WriteLevel2CoReq.data', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=b"", - 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=837, - serialized_end=919, -) - - -_WRITELEVEL2CORESP = _descriptor.Descriptor( - name='WriteLevel2CoResp', - full_name='dfs.msc.level2co.WriteLevel2CoResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.msc.level2co.WriteLevel2CoResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.msc.level2co.WriteLevel2CoResp.error', 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='record', full_name='dfs.msc.level2co.WriteLevel2CoResp.record', 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=921, - serialized_end=1037, -) - - -_UPDATEQC2STATUSREQ = _descriptor.Descriptor( - name='UpdateQc2StatusReq', - full_name='dfs.msc.level2co.UpdateQc2StatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.msc.level2co.UpdateQc2StatusReq.id', 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), - _descriptor.FieldDescriptor( - name='status', full_name='dfs.msc.level2co.UpdateQc2StatusReq.status', index=1, - number=2, type=5, cpp_type=1, 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=1039, - serialized_end=1087, -) - - -_UPDATEQC2STATUSRESP = _descriptor.Descriptor( - name='UpdateQc2StatusResp', - full_name='dfs.msc.level2co.UpdateQc2StatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.msc.level2co.UpdateQc2StatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.msc.level2co.UpdateQc2StatusResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1089, - serialized_end=1157, -) - - -_UPDATEPROCSTATUSREQ = _descriptor.Descriptor( - name='UpdateProcStatusReq', - full_name='dfs.msc.level2co.UpdateProcStatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.msc.level2co.UpdateProcStatusReq.id', 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), - _descriptor.FieldDescriptor( - name='status', full_name='dfs.msc.level2co.UpdateProcStatusReq.status', index=1, - number=2, type=5, cpp_type=1, 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=1159, - serialized_end=1208, -) - - -_UPDATEPROCSTATUSRESP = _descriptor.Descriptor( - name='UpdateProcStatusResp', - full_name='dfs.msc.level2co.UpdateProcStatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.msc.level2co.UpdateProcStatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.msc.level2co.UpdateProcStatusResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1210, - serialized_end=1279, -) - - -_LEVEL2COCATALOGRECORD = _descriptor.Descriptor( - name='Level2CoCatalogRecord', - full_name='dfs.msc.level2co.Level2CoCatalogRecord', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='ID', full_name='dfs.msc.level2co.Level2CoCatalogRecord.ID', 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), - _descriptor.FieldDescriptor( - name='X', full_name='dfs.msc.level2co.Level2CoCatalogRecord.X', index=1, - number=2, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='XErr', full_name='dfs.msc.level2co.Level2CoCatalogRecord.XErr', index=2, - number=3, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Y', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Y', index=3, - number=4, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='YErr', full_name='dfs.msc.level2co.Level2CoCatalogRecord.YErr', index=4, - number=5, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RA', full_name='dfs.msc.level2co.Level2CoCatalogRecord.RA', index=5, - number=6, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RAErr', full_name='dfs.msc.level2co.Level2CoCatalogRecord.RAErr', index=6, - number=7, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DEC', full_name='dfs.msc.level2co.Level2CoCatalogRecord.DEC', index=7, - number=8, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DECErr', full_name='dfs.msc.level2co.Level2CoCatalogRecord.DECErr', index=8, - number=9, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='A', full_name='dfs.msc.level2co.Level2CoCatalogRecord.A', index=9, - number=10, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='AErr', full_name='dfs.msc.level2co.Level2CoCatalogRecord.AErr', index=10, - number=11, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='B', full_name='dfs.msc.level2co.Level2CoCatalogRecord.B', index=11, - number=12, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='BErr', full_name='dfs.msc.level2co.Level2CoCatalogRecord.BErr', index=12, - number=13, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PA', full_name='dfs.msc.level2co.Level2CoCatalogRecord.PA', index=13, - number=14, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PAErr', full_name='dfs.msc.level2co.Level2CoCatalogRecord.PAErr', index=14, - number=15, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flag', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flag', index=15, - number=16, type=5, cpp_type=1, 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='Flag_ISO', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flag_ISO', index=16, - number=17, type=5, cpp_type=1, 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='Flag_ISO_Num', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flag_ISO_Num', index=17, - number=18, type=5, cpp_type=1, 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='FWHM', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FWHM', index=18, - number=19, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='AB', full_name='dfs.msc.level2co.Level2CoCatalogRecord.AB', index=19, - number=20, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='E', full_name='dfs.msc.level2co.Level2CoCatalogRecord.E', index=20, - number=21, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Kron', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_Kron', index=21, - number=22, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Kron', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_Kron', index=22, - number=23, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Kron', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_Kron', index=23, - number=24, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Kron', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_Kron', index=24, - number=25, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Radius_Kron', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Radius_Kron', index=25, - number=26, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Sky', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Sky', index=26, - number=27, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper1', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_Aper1', index=27, - number=28, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper1', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_Aper1', index=28, - number=29, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper1', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_Aper1', index=29, - number=30, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper1', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_Aper1', index=30, - number=31, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper2', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_Aper2', index=31, - number=32, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper2', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_Aper2', index=32, - number=33, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper2', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_Aper2', index=33, - number=34, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper2', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_Aper2', index=34, - number=35, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper3', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_Aper3', index=35, - number=36, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper3', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_Aper3', index=36, - number=37, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper3', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_Aper3', index=37, - number=38, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper3', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_Aper3', index=38, - number=39, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper4', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_Aper4', index=39, - number=40, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper4', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_Aper4', index=40, - number=41, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper4', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_Aper4', index=41, - number=42, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper4', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_Aper4', index=42, - number=43, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper5', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_Aper5', index=43, - number=44, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper5', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_Aper5', index=44, - number=45, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper5', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_Aper5', index=45, - number=46, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper5', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_Aper5', index=46, - number=47, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper6', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_Aper6', index=47, - number=48, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper6', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_Aper6', index=48, - number=49, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper6', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_Aper6', index=49, - number=50, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper6', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_Aper6', index=50, - number=51, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper7', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_Aper7', index=51, - number=52, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper7', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_Aper7', index=52, - number=53, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper7', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_Aper7', index=53, - number=54, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper7', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_Aper7', index=54, - number=55, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper8', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_Aper8', index=55, - number=56, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper8', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_Aper8', index=56, - number=57, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper8', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_Aper8', index=57, - number=58, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper8', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_Aper8', index=58, - number=59, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper9', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_Aper9', index=59, - number=60, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper9', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_Aper9', index=60, - number=61, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper9', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_Aper9', index=61, - number=62, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper9', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_Aper9', index=62, - number=63, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper10', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_Aper10', index=63, - number=64, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper10', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_Aper10', index=64, - number=65, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper10', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_Aper10', index=65, - number=66, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper10', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_Aper10', index=66, - number=67, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper11', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_Aper11', index=67, - number=68, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper11', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_Aper11', index=68, - number=69, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper11', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_Aper11', index=69, - number=70, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper11', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_Aper11', index=70, - number=71, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Aper12', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_Aper12', index=71, - number=72, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Aper12', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_Aper12', index=72, - number=73, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Aper12', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_Aper12', index=73, - number=74, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Aper12', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_Aper12', index=74, - number=75, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - 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.msc.level2co.Level2CoCatalogRecord.Type', index=75, - number=76, type=5, cpp_type=1, 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='R20', full_name='dfs.msc.level2co.Level2CoCatalogRecord.R20', index=76, - number=77, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='R50', full_name='dfs.msc.level2co.Level2CoCatalogRecord.R50', index=77, - number=78, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='R90', full_name='dfs.msc.level2co.Level2CoCatalogRecord.R90', index=78, - number=79, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='X_PSF', full_name='dfs.msc.level2co.Level2CoCatalogRecord.X_PSF', index=79, - number=80, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Y_PSF', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Y_PSF', index=80, - number=81, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RA_PSF', full_name='dfs.msc.level2co.Level2CoCatalogRecord.RA_PSF', index=81, - number=82, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DEC_PSF', full_name='dfs.msc.level2co.Level2CoCatalogRecord.DEC_PSF', index=82, - number=83, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Chi2_PSF', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Chi2_PSF', index=83, - number=84, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_PSF', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_PSF', index=84, - number=85, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_PSF', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_PSF', index=85, - number=86, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_PSF', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_PSF', index=86, - number=87, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_PSF', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_PSF', index=87, - number=88, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='X_Model', full_name='dfs.msc.level2co.Level2CoCatalogRecord.X_Model', index=88, - number=89, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Y_Model', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Y_Model', index=89, - number=90, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RA_Model', full_name='dfs.msc.level2co.Level2CoCatalogRecord.RA_Model', index=90, - number=91, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='DEC_Model', full_name='dfs.msc.level2co.Level2CoCatalogRecord.DEC_Model', index=91, - number=92, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Chi2_Model', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Chi2_Model', index=92, - number=93, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flag_Model', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flag_Model', index=93, - number=94, type=5, cpp_type=1, 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='Flux_Model', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_Model', index=94, - number=95, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Model', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_Model', index=95, - number=96, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Model', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_Model', index=96, - number=97, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Model', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_Model', index=97, - number=98, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Bulge', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_Bulge', index=98, - number=99, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Bulge', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_Bulge', index=99, - number=100, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Bulge', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_Bulge', index=100, - number=101, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Bulge', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_Bulge', index=101, - number=102, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Re_Bulge', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Re_Bulge', index=102, - number=103, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ReErr_Bulge', full_name='dfs.msc.level2co.Level2CoCatalogRecord.ReErr_Bulge', index=103, - number=104, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='E_Bulge', full_name='dfs.msc.level2co.Level2CoCatalogRecord.E_Bulge', index=104, - number=105, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='EErr_Bulge', full_name='dfs.msc.level2co.Level2CoCatalogRecord.EErr_Bulge', index=105, - number=106, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PA_Bulge', full_name='dfs.msc.level2co.Level2CoCatalogRecord.PA_Bulge', index=106, - number=107, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PAErr_Bulge', full_name='dfs.msc.level2co.Level2CoCatalogRecord.PAErr_Bulge', index=107, - number=108, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Flux_Disk', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Flux_Disk', index=108, - number=109, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='FluxErr_Disk', full_name='dfs.msc.level2co.Level2CoCatalogRecord.FluxErr_Disk', index=109, - number=110, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Mag_Disk', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Mag_Disk', index=110, - number=111, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='MagErr_Disk', full_name='dfs.msc.level2co.Level2CoCatalogRecord.MagErr_Disk', index=111, - number=112, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Re_Disk', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Re_Disk', index=112, - number=113, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='ReErr_Disk', full_name='dfs.msc.level2co.Level2CoCatalogRecord.ReErr_Disk', index=113, - number=114, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='E_Disk', full_name='dfs.msc.level2co.Level2CoCatalogRecord.E_Disk', index=114, - number=115, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='EErr_Disk', full_name='dfs.msc.level2co.Level2CoCatalogRecord.EErr_Disk', index=115, - number=116, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PA_Disk', full_name='dfs.msc.level2co.Level2CoCatalogRecord.PA_Disk', index=116, - number=117, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='PAErr_Disk', full_name='dfs.msc.level2co.Level2CoCatalogRecord.PAErr_Disk', index=117, - number=118, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Ratio_Disk', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Ratio_Disk', index=118, - number=119, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='RatioErr_Disk', full_name='dfs.msc.level2co.Level2CoCatalogRecord.RatioErr_Disk', index=119, - number=120, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='Spread_Model', full_name='dfs.msc.level2co.Level2CoCatalogRecord.Spread_Model', index=120, - number=121, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='SpreadErr_Model', full_name='dfs.msc.level2co.Level2CoCatalogRecord.SpreadErr_Model', index=121, - number=122, type=2, cpp_type=6, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='NS128HIdx', full_name='dfs.msc.level2co.Level2CoCatalogRecord.NS128HIdx', index=122, - number=123, type=5, cpp_type=1, 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=1282, - serialized_end=3627, -) - - -_FINDLEVEL2COCATALOGREQ = _descriptor.Descriptor( - name='FindLevel2CoCatalogReq', - full_name='dfs.msc.level2co.FindLevel2CoCatalogReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='obs_id', full_name='dfs.msc.level2co.FindLevel2CoCatalogReq.obs_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='detector_no', full_name='dfs.msc.level2co.FindLevel2CoCatalogReq.detector_no', 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), - _descriptor.FieldDescriptor( - name='ra', full_name='dfs.msc.level2co.FindLevel2CoCatalogReq.ra', index=2, - number=3, 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='dec', full_name='dfs.msc.level2co.FindLevel2CoCatalogReq.dec', index=3, - number=4, 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='radius', full_name='dfs.msc.level2co.FindLevel2CoCatalogReq.radius', index=4, - number=5, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='minMag', full_name='dfs.msc.level2co.FindLevel2CoCatalogReq.minMag', index=5, - number=6, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='maxMag', full_name='dfs.msc.level2co.FindLevel2CoCatalogReq.maxMag', index=6, - number=7, type=1, cpp_type=5, label=1, - has_default_value=False, default_value=float(0), - message_type=None, enum_type=None, containing_type=None, - is_extension=False, extension_scope=None, - serialized_options=None, file=DESCRIPTOR), - _descriptor.FieldDescriptor( - name='obs_time_start', full_name='dfs.msc.level2co.FindLevel2CoCatalogReq.obs_time_start', index=7, - number=8, 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='obs_time_end', full_name='dfs.msc.level2co.FindLevel2CoCatalogReq.obs_time_end', index=8, - number=9, 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='limit', full_name='dfs.msc.level2co.FindLevel2CoCatalogReq.limit', index=9, - number=10, type=5, cpp_type=1, 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=3630, - serialized_end=3825, -) - - -_FINDLEVEL2COCATALOGRESP = _descriptor.Descriptor( - name='FindLevel2CoCatalogResp', - full_name='dfs.msc.level2co.FindLevel2CoCatalogResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.msc.level2co.FindLevel2CoCatalogResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.msc.level2co.FindLevel2CoCatalogResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.msc.level2co.FindLevel2CoCatalogResp.error', 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='records', full_name='dfs.msc.level2co.FindLevel2CoCatalogResp.records', index=3, - number=4, 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=3828, - serialized_end=3978, -) - - -_DELETECATALOGBYLEVEL2COIDREQ = _descriptor.Descriptor( - name='DeleteCatalogByLevel2CoIdReq', - full_name='dfs.msc.level2co.DeleteCatalogByLevel2CoIdReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='level2_id', full_name='dfs.msc.level2co.DeleteCatalogByLevel2CoIdReq.level2_id', 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=3980, - serialized_end=4029, -) - - -_DELETECATALOGBYLEVEL2COIDRESP = _descriptor.Descriptor( - name='DeleteCatalogByLevel2CoIdResp', - full_name='dfs.msc.level2co.DeleteCatalogByLevel2CoIdResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.msc.level2co.DeleteCatalogByLevel2CoIdResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.msc.level2co.DeleteCatalogByLevel2CoIdResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=4031, - serialized_end=4109, -) - -_FINDLEVEL2COREQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL2COREQ -_FINDLEVEL2COREQ.fields_by_name['other_conditions'].message_type = _FINDLEVEL2COREQ_OTHERCONDITIONSENTRY -_FINDLEVEL2CORESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDLEVEL2CORESP.fields_by_name['records'].message_type = _LEVEL2CORECORD -_GETLEVEL2CORESP.fields_by_name['record'].message_type = _LEVEL2CORECORD -_WRITELEVEL2COREQ.fields_by_name['record'].message_type = _LEVEL2CORECORD -_WRITELEVEL2CORESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_WRITELEVEL2CORESP.fields_by_name['record'].message_type = _LEVEL2CORECORD -_UPDATEQC2STATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDLEVEL2COCATALOGRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDLEVEL2COCATALOGRESP.fields_by_name['records'].message_type = _LEVEL2COCATALOGRECORD -_DELETECATALOGBYLEVEL2COIDRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -DESCRIPTOR.message_types_by_name['Level2CoRecord'] = _LEVEL2CORECORD -DESCRIPTOR.message_types_by_name['FindLevel2CoReq'] = _FINDLEVEL2COREQ -DESCRIPTOR.message_types_by_name['FindLevel2CoResp'] = _FINDLEVEL2CORESP -DESCRIPTOR.message_types_by_name['GetLevel2CoReq'] = _GETLEVEL2COREQ -DESCRIPTOR.message_types_by_name['GetLevel2CoResp'] = _GETLEVEL2CORESP -DESCRIPTOR.message_types_by_name['WriteLevel2CoReq'] = _WRITELEVEL2COREQ -DESCRIPTOR.message_types_by_name['WriteLevel2CoResp'] = _WRITELEVEL2CORESP -DESCRIPTOR.message_types_by_name['UpdateQc2StatusReq'] = _UPDATEQC2STATUSREQ -DESCRIPTOR.message_types_by_name['UpdateQc2StatusResp'] = _UPDATEQC2STATUSRESP -DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ -DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP -DESCRIPTOR.message_types_by_name['Level2CoCatalogRecord'] = _LEVEL2COCATALOGRECORD -DESCRIPTOR.message_types_by_name['FindLevel2CoCatalogReq'] = _FINDLEVEL2COCATALOGREQ -DESCRIPTOR.message_types_by_name['FindLevel2CoCatalogResp'] = _FINDLEVEL2COCATALOGRESP -DESCRIPTOR.message_types_by_name['DeleteCatalogByLevel2CoIdReq'] = _DELETECATALOGBYLEVEL2COIDREQ -DESCRIPTOR.message_types_by_name['DeleteCatalogByLevel2CoIdResp'] = _DELETECATALOGBYLEVEL2COIDRESP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Level2CoRecord = _reflection.GeneratedProtocolMessageType('Level2CoRecord', (_message.Message,), { - 'DESCRIPTOR' : _LEVEL2CORECORD, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.Level2CoRecord) - }) -_sym_db.RegisterMessage(Level2CoRecord) - -FindLevel2CoReq = _reflection.GeneratedProtocolMessageType('FindLevel2CoReq', (_message.Message,), { - - 'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL2COREQ_OTHERCONDITIONSENTRY, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.FindLevel2CoReq.OtherConditionsEntry) - }) - , - 'DESCRIPTOR' : _FINDLEVEL2COREQ, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.FindLevel2CoReq) - }) -_sym_db.RegisterMessage(FindLevel2CoReq) -_sym_db.RegisterMessage(FindLevel2CoReq.OtherConditionsEntry) - -FindLevel2CoResp = _reflection.GeneratedProtocolMessageType('FindLevel2CoResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL2CORESP, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.FindLevel2CoResp) - }) -_sym_db.RegisterMessage(FindLevel2CoResp) - -GetLevel2CoReq = _reflection.GeneratedProtocolMessageType('GetLevel2CoReq', (_message.Message,), { - 'DESCRIPTOR' : _GETLEVEL2COREQ, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.GetLevel2CoReq) - }) -_sym_db.RegisterMessage(GetLevel2CoReq) - -GetLevel2CoResp = _reflection.GeneratedProtocolMessageType('GetLevel2CoResp', (_message.Message,), { - 'DESCRIPTOR' : _GETLEVEL2CORESP, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.GetLevel2CoResp) - }) -_sym_db.RegisterMessage(GetLevel2CoResp) - -WriteLevel2CoReq = _reflection.GeneratedProtocolMessageType('WriteLevel2CoReq', (_message.Message,), { - 'DESCRIPTOR' : _WRITELEVEL2COREQ, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.WriteLevel2CoReq) - }) -_sym_db.RegisterMessage(WriteLevel2CoReq) - -WriteLevel2CoResp = _reflection.GeneratedProtocolMessageType('WriteLevel2CoResp', (_message.Message,), { - 'DESCRIPTOR' : _WRITELEVEL2CORESP, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.WriteLevel2CoResp) - }) -_sym_db.RegisterMessage(WriteLevel2CoResp) - -UpdateQc2StatusReq = _reflection.GeneratedProtocolMessageType('UpdateQc2StatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEQC2STATUSREQ, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.UpdateQc2StatusReq) - }) -_sym_db.RegisterMessage(UpdateQc2StatusReq) - -UpdateQc2StatusResp = _reflection.GeneratedProtocolMessageType('UpdateQc2StatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEQC2STATUSRESP, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.UpdateQc2StatusResp) - }) -_sym_db.RegisterMessage(UpdateQc2StatusResp) - -UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSREQ, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.UpdateProcStatusReq) - }) -_sym_db.RegisterMessage(UpdateProcStatusReq) - -UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSRESP, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.UpdateProcStatusResp) - }) -_sym_db.RegisterMessage(UpdateProcStatusResp) - -Level2CoCatalogRecord = _reflection.GeneratedProtocolMessageType('Level2CoCatalogRecord', (_message.Message,), { - 'DESCRIPTOR' : _LEVEL2COCATALOGRECORD, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.Level2CoCatalogRecord) - }) -_sym_db.RegisterMessage(Level2CoCatalogRecord) - -FindLevel2CoCatalogReq = _reflection.GeneratedProtocolMessageType('FindLevel2CoCatalogReq', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL2COCATALOGREQ, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.FindLevel2CoCatalogReq) - }) -_sym_db.RegisterMessage(FindLevel2CoCatalogReq) - -FindLevel2CoCatalogResp = _reflection.GeneratedProtocolMessageType('FindLevel2CoCatalogResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL2COCATALOGRESP, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.FindLevel2CoCatalogResp) - }) -_sym_db.RegisterMessage(FindLevel2CoCatalogResp) - -DeleteCatalogByLevel2CoIdReq = _reflection.GeneratedProtocolMessageType('DeleteCatalogByLevel2CoIdReq', (_message.Message,), { - 'DESCRIPTOR' : _DELETECATALOGBYLEVEL2COIDREQ, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.DeleteCatalogByLevel2CoIdReq) - }) -_sym_db.RegisterMessage(DeleteCatalogByLevel2CoIdReq) - -DeleteCatalogByLevel2CoIdResp = _reflection.GeneratedProtocolMessageType('DeleteCatalogByLevel2CoIdResp', (_message.Message,), { - 'DESCRIPTOR' : _DELETECATALOGBYLEVEL2COIDRESP, - '__module__' : 'msc.level2co.level2co_pb2' - # @@protoc_insertion_point(class_scope:dfs.msc.level2co.DeleteCatalogByLevel2CoIdResp) - }) -_sym_db.RegisterMessage(DeleteCatalogByLevel2CoIdResp) - - -DESCRIPTOR._options = None -_FINDLEVEL2COREQ_OTHERCONDITIONSENTRY._options = None - -_LEVEL2COSRV = _descriptor.ServiceDescriptor( - name='Level2CoSrv', - full_name='dfs.msc.level2co.Level2CoSrv', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=4112, - serialized_end=4799, - methods=[ - _descriptor.MethodDescriptor( - name='Find', - full_name='dfs.msc.level2co.Level2CoSrv.Find', - index=0, - containing_service=None, - input_type=_FINDLEVEL2COREQ, - output_type=_FINDLEVEL2CORESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='FindCatalog', - full_name='dfs.msc.level2co.Level2CoSrv.FindCatalog', - index=1, - containing_service=None, - input_type=_FINDLEVEL2COCATALOGREQ, - output_type=_FINDLEVEL2COCATALOGRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Get', - full_name='dfs.msc.level2co.Level2CoSrv.Get', - index=2, - containing_service=None, - input_type=_GETLEVEL2COREQ, - output_type=_GETLEVEL2CORESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Write', - full_name='dfs.msc.level2co.Level2CoSrv.Write', - index=3, - containing_service=None, - input_type=_WRITELEVEL2COREQ, - output_type=_WRITELEVEL2CORESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateQc2Status', - full_name='dfs.msc.level2co.Level2CoSrv.UpdateQc2Status', - index=4, - containing_service=None, - input_type=_UPDATEQC2STATUSREQ, - output_type=_UPDATEQC2STATUSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateProcStatus', - full_name='dfs.msc.level2co.Level2CoSrv.UpdateProcStatus', - index=5, - containing_service=None, - input_type=_UPDATEPROCSTATUSREQ, - output_type=_UPDATEPROCSTATUSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='DeleteCatalogByLevel2CoId', - full_name='dfs.msc.level2co.Level2CoSrv.DeleteCatalogByLevel2CoId', - index=6, - containing_service=None, - input_type=_DELETECATALOGBYLEVEL2COIDREQ, - output_type=_DELETECATALOGBYLEVEL2COIDRESP, - serialized_options=None, - ), -]) -_sym_db.RegisterServiceDescriptor(_LEVEL2COSRV) - -DESCRIPTOR.services_by_name['Level2CoSrv'] = _LEVEL2COSRV - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bmsc/level2co/level2co.proto\x12\x10\x64\x66s.msc.level2co\x1a\x12\x63ommon/error.proto\"\xe1\x01\n\x0eLevel2CoRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tdata_type\x18\x02 \x01(\t\x12\x10\n\x08\x66ilename\x18\x03 \x01(\t\x12\x11\n\tfile_path\x18\x04 \x01(\t\x12\x12\n\nqc2_status\x18\x05 \x01(\x05\x12\x10\n\x08qc2_time\x18\x06 \x01(\t\x12\x12\n\nprc_status\x18\x07 \x01(\x05\x12\x10\n\x08prc_time\x18\x08 \x01(\t\x12\x13\n\x0b\x63reate_time\x18\t \x01(\t\x12\x13\n\x0bpipeline_id\x18\n \x01(\t\x12\x15\n\rimport_status\x18\x0b \x01(\x05\"\xab\x02\n\x0f\x46indLevel2CoReq\x12\x11\n\tdata_type\x18\x01 \x01(\t\x12\x19\n\x11\x63reate_time_start\x18\x02 \x01(\t\x12\x17\n\x0f\x63reate_time_end\x18\x03 \x01(\t\x12\x12\n\nqc2_status\x18\x04 \x01(\x05\x12\x12\n\nprc_status\x18\x05 \x01(\x05\x12\x10\n\x08\x66ilename\x18\x06 \x01(\t\x12\r\n\x05limit\x18\x07 \x01(\x05\x12P\n\x10other_conditions\x18\x08 \x03(\x0b\x32\x36.dfs.msc.level2co.FindLevel2CoReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x88\x01\n\x10\x46indLevel2CoResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x31\n\x07records\x18\x04 \x03(\x0b\x32 .dfs.msc.level2co.Level2CoRecord\"\x1c\n\x0eGetLevel2CoReq\x12\n\n\x02id\x18\x01 \x01(\x03\"C\n\x0fGetLevel2CoResp\x12\x30\n\x06record\x18\x01 \x01(\x0b\x32 .dfs.msc.level2co.Level2CoRecord\"R\n\x10WriteLevel2CoReq\x12\x30\n\x06record\x18\x01 \x01(\x0b\x32 .dfs.msc.level2co.Level2CoRecord\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"t\n\x11WriteLevel2CoResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12\x30\n\x06record\x18\x03 \x01(\x0b\x32 .dfs.msc.level2co.Level2CoRecord\"0\n\x12UpdateQc2StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"D\n\x13UpdateQc2StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"1\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"\xa9\x12\n\x15Level2CoCatalogRecord\x12\n\n\x02ID\x18\x01 \x01(\x03\x12\t\n\x01X\x18\x02 \x01(\x02\x12\x0c\n\x04XErr\x18\x03 \x01(\x01\x12\t\n\x01Y\x18\x04 \x01(\x02\x12\x0c\n\x04YErr\x18\x05 \x01(\x01\x12\n\n\x02RA\x18\x06 \x01(\x01\x12\r\n\x05RAErr\x18\x07 \x01(\x01\x12\x0b\n\x03\x44\x45\x43\x18\x08 \x01(\x01\x12\x0e\n\x06\x44\x45\x43\x45rr\x18\t \x01(\x01\x12\t\n\x01\x41\x18\n \x01(\x02\x12\x0c\n\x04\x41\x45rr\x18\x0b \x01(\x02\x12\t\n\x01\x42\x18\x0c \x01(\x02\x12\x0c\n\x04\x42\x45rr\x18\r \x01(\x02\x12\n\n\x02PA\x18\x0e \x01(\x02\x12\r\n\x05PAErr\x18\x0f \x01(\x02\x12\x0c\n\x04\x46lag\x18\x10 \x01(\x05\x12\x10\n\x08\x46lag_ISO\x18\x11 \x01(\x05\x12\x14\n\x0c\x46lag_ISO_Num\x18\x12 \x01(\x05\x12\x0c\n\x04\x46WHM\x18\x13 \x01(\x02\x12\n\n\x02\x41\x42\x18\x14 \x01(\x02\x12\t\n\x01\x45\x18\x15 \x01(\x02\x12\x11\n\tFlux_Kron\x18\x16 \x01(\x01\x12\x14\n\x0c\x46luxErr_Kron\x18\x17 \x01(\x02\x12\x10\n\x08Mag_Kron\x18\x18 \x01(\x01\x12\x13\n\x0bMagErr_Kron\x18\x19 \x01(\x01\x12\x13\n\x0bRadius_Kron\x18\x1a \x01(\x01\x12\x0b\n\x03Sky\x18\x1b \x01(\x02\x12\x12\n\nFlux_Aper1\x18\x1c \x01(\x02\x12\x15\n\rFluxErr_Aper1\x18\x1d \x01(\x02\x12\x11\n\tMag_Aper1\x18\x1e \x01(\x02\x12\x14\n\x0cMagErr_Aper1\x18\x1f \x01(\x02\x12\x12\n\nFlux_Aper2\x18 \x01(\x02\x12\x15\n\rFluxErr_Aper2\x18! \x01(\x02\x12\x11\n\tMag_Aper2\x18\" \x01(\x02\x12\x14\n\x0cMagErr_Aper2\x18# \x01(\x02\x12\x12\n\nFlux_Aper3\x18$ \x01(\x02\x12\x15\n\rFluxErr_Aper3\x18% \x01(\x02\x12\x11\n\tMag_Aper3\x18& \x01(\x02\x12\x14\n\x0cMagErr_Aper3\x18\' \x01(\x02\x12\x12\n\nFlux_Aper4\x18( \x01(\x02\x12\x15\n\rFluxErr_Aper4\x18) \x01(\x02\x12\x11\n\tMag_Aper4\x18* \x01(\x02\x12\x14\n\x0cMagErr_Aper4\x18+ \x01(\x02\x12\x12\n\nFlux_Aper5\x18, \x01(\x02\x12\x15\n\rFluxErr_Aper5\x18- \x01(\x02\x12\x11\n\tMag_Aper5\x18. \x01(\x02\x12\x14\n\x0cMagErr_Aper5\x18/ \x01(\x02\x12\x12\n\nFlux_Aper6\x18\x30 \x01(\x02\x12\x15\n\rFluxErr_Aper6\x18\x31 \x01(\x02\x12\x11\n\tMag_Aper6\x18\x32 \x01(\x02\x12\x14\n\x0cMagErr_Aper6\x18\x33 \x01(\x02\x12\x12\n\nFlux_Aper7\x18\x34 \x01(\x02\x12\x15\n\rFluxErr_Aper7\x18\x35 \x01(\x02\x12\x11\n\tMag_Aper7\x18\x36 \x01(\x02\x12\x14\n\x0cMagErr_Aper7\x18\x37 \x01(\x02\x12\x12\n\nFlux_Aper8\x18\x38 \x01(\x02\x12\x15\n\rFluxErr_Aper8\x18\x39 \x01(\x02\x12\x11\n\tMag_Aper8\x18: \x01(\x02\x12\x14\n\x0cMagErr_Aper8\x18; \x01(\x02\x12\x12\n\nFlux_Aper9\x18< \x01(\x02\x12\x15\n\rFluxErr_Aper9\x18= \x01(\x02\x12\x11\n\tMag_Aper9\x18> \x01(\x02\x12\x14\n\x0cMagErr_Aper9\x18? \x01(\x02\x12\x13\n\x0b\x46lux_Aper10\x18@ \x01(\x02\x12\x16\n\x0e\x46luxErr_Aper10\x18\x41 \x01(\x02\x12\x12\n\nMag_Aper10\x18\x42 \x01(\x02\x12\x15\n\rMagErr_Aper10\x18\x43 \x01(\x02\x12\x13\n\x0b\x46lux_Aper11\x18\x44 \x01(\x02\x12\x16\n\x0e\x46luxErr_Aper11\x18\x45 \x01(\x02\x12\x12\n\nMag_Aper11\x18\x46 \x01(\x02\x12\x15\n\rMagErr_Aper11\x18G \x01(\x02\x12\x13\n\x0b\x46lux_Aper12\x18H \x01(\x02\x12\x16\n\x0e\x46luxErr_Aper12\x18I \x01(\x02\x12\x12\n\nMag_Aper12\x18J \x01(\x02\x12\x15\n\rMagErr_Aper12\x18K \x01(\x02\x12\x0c\n\x04Type\x18L \x01(\x05\x12\x0b\n\x03R20\x18M \x01(\x02\x12\x0b\n\x03R50\x18N \x01(\x02\x12\x0b\n\x03R90\x18O \x01(\x02\x12\r\n\x05X_PSF\x18P \x01(\x01\x12\r\n\x05Y_PSF\x18Q \x01(\x01\x12\x0e\n\x06RA_PSF\x18R \x01(\x01\x12\x0f\n\x07\x44\x45\x43_PSF\x18S \x01(\x01\x12\x10\n\x08\x43hi2_PSF\x18T \x01(\x02\x12\x10\n\x08\x46lux_PSF\x18U \x01(\x02\x12\x13\n\x0b\x46luxErr_PSF\x18V \x01(\x02\x12\x0f\n\x07Mag_PSF\x18W \x01(\x02\x12\x12\n\nMagErr_PSF\x18X \x01(\x02\x12\x0f\n\x07X_Model\x18Y \x01(\x01\x12\x0f\n\x07Y_Model\x18Z \x01(\x01\x12\x10\n\x08RA_Model\x18[ \x01(\x01\x12\x11\n\tDEC_Model\x18\\ \x01(\x01\x12\x12\n\nChi2_Model\x18] \x01(\x02\x12\x12\n\nFlag_Model\x18^ \x01(\x05\x12\x12\n\nFlux_Model\x18_ \x01(\x02\x12\x15\n\rFluxErr_Model\x18` \x01(\x02\x12\x11\n\tMag_Model\x18\x61 \x01(\x02\x12\x14\n\x0cMagErr_Model\x18\x62 \x01(\x02\x12\x12\n\nFlux_Bulge\x18\x63 \x01(\x02\x12\x15\n\rFluxErr_Bulge\x18\x64 \x01(\x02\x12\x11\n\tMag_Bulge\x18\x65 \x01(\x02\x12\x14\n\x0cMagErr_Bulge\x18\x66 \x01(\x02\x12\x10\n\x08Re_Bulge\x18g \x01(\x02\x12\x13\n\x0bReErr_Bulge\x18h \x01(\x02\x12\x0f\n\x07\x45_Bulge\x18i \x01(\x02\x12\x12\n\nEErr_Bulge\x18j \x01(\x02\x12\x10\n\x08PA_Bulge\x18k \x01(\x02\x12\x13\n\x0bPAErr_Bulge\x18l \x01(\x02\x12\x11\n\tFlux_Disk\x18m \x01(\x02\x12\x14\n\x0c\x46luxErr_Disk\x18n \x01(\x02\x12\x10\n\x08Mag_Disk\x18o \x01(\x02\x12\x13\n\x0bMagErr_Disk\x18p \x01(\x02\x12\x0f\n\x07Re_Disk\x18q \x01(\x02\x12\x12\n\nReErr_Disk\x18r \x01(\x02\x12\x0e\n\x06\x45_Disk\x18s \x01(\x02\x12\x11\n\tEErr_Disk\x18t \x01(\x02\x12\x0f\n\x07PA_Disk\x18u \x01(\x02\x12\x12\n\nPAErr_Disk\x18v \x01(\x02\x12\x12\n\nRatio_Disk\x18w \x01(\x02\x12\x15\n\rRatioErr_Disk\x18x \x01(\x02\x12\x14\n\x0cSpread_Model\x18y \x01(\x02\x12\x17\n\x0fSpreadErr_Model\x18z \x01(\x02\x12\x11\n\tNS128HIdx\x18{ \x01(\x05\"\xc3\x01\n\x16\x46indLevel2CoCatalogReq\x12\x0e\n\x06obs_id\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65tector_no\x18\x02 \x01(\t\x12\n\n\x02ra\x18\x03 \x01(\t\x12\x0b\n\x03\x64\x65\x63\x18\x04 \x01(\t\x12\x0e\n\x06radius\x18\x05 \x01(\x01\x12\x0e\n\x06minMag\x18\x06 \x01(\x01\x12\x0e\n\x06maxMag\x18\x07 \x01(\x01\x12\x16\n\x0eobs_time_start\x18\x08 \x01(\t\x12\x14\n\x0cobs_time_end\x18\t \x01(\t\x12\r\n\x05limit\x18\n \x01(\x05\"\x96\x01\n\x17\x46indLevel2CoCatalogResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12\x38\n\x07records\x18\x04 \x03(\x0b\x32\'.dfs.msc.level2co.Level2CoCatalogRecord\"1\n\x1c\x44\x65leteCatalogByLevel2CoIdReq\x12\x11\n\tlevel2_id\x18\x01 \x01(\x03\"N\n\x1d\x44\x65leteCatalogByLevel2CoIdResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xaf\x05\n\x0bLevel2CoSrv\x12O\n\x04\x46ind\x12!.dfs.msc.level2co.FindLevel2CoReq\x1a\".dfs.msc.level2co.FindLevel2CoResp\"\x00\x12\x64\n\x0b\x46indCatalog\x12(.dfs.msc.level2co.FindLevel2CoCatalogReq\x1a).dfs.msc.level2co.FindLevel2CoCatalogResp\"\x00\x12L\n\x03Get\x12 .dfs.msc.level2co.GetLevel2CoReq\x1a!.dfs.msc.level2co.GetLevel2CoResp\"\x00\x12T\n\x05Write\x12\".dfs.msc.level2co.WriteLevel2CoReq\x1a#.dfs.msc.level2co.WriteLevel2CoResp\"\x00(\x01\x12`\n\x0fUpdateQc2Status\x12$.dfs.msc.level2co.UpdateQc2StatusReq\x1a%.dfs.msc.level2co.UpdateQc2StatusResp\"\x00\x12\x63\n\x10UpdateProcStatus\x12%.dfs.msc.level2co.UpdateProcStatusReq\x1a&.dfs.msc.level2co.UpdateProcStatusResp\"\x00\x12~\n\x19\x44\x65leteCatalogByLevel2CoId\x12..dfs.msc.level2co.DeleteCatalogByLevel2CoIdReq\x1a/.dfs.msc.level2co.DeleteCatalogByLevel2CoIdResp\"\x00\x42#Z!cnlab.net/csst/proto/msc/level2cob\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'msc.level2co.level2co_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z!cnlab.net/csst/proto/msc/level2co' + _FINDLEVEL2COREQ_OTHERCONDITIONSENTRY._options = None + _FINDLEVEL2COREQ_OTHERCONDITIONSENTRY._serialized_options = b'8\001' + _LEVEL2CORECORD._serialized_start=70 + _LEVEL2CORECORD._serialized_end=295 + _FINDLEVEL2COREQ._serialized_start=298 + _FINDLEVEL2COREQ._serialized_end=597 + _FINDLEVEL2COREQ_OTHERCONDITIONSENTRY._serialized_start=543 + _FINDLEVEL2COREQ_OTHERCONDITIONSENTRY._serialized_end=597 + _FINDLEVEL2CORESP._serialized_start=600 + _FINDLEVEL2CORESP._serialized_end=736 + _GETLEVEL2COREQ._serialized_start=738 + _GETLEVEL2COREQ._serialized_end=766 + _GETLEVEL2CORESP._serialized_start=768 + _GETLEVEL2CORESP._serialized_end=835 + _WRITELEVEL2COREQ._serialized_start=837 + _WRITELEVEL2COREQ._serialized_end=919 + _WRITELEVEL2CORESP._serialized_start=921 + _WRITELEVEL2CORESP._serialized_end=1037 + _UPDATEQC2STATUSREQ._serialized_start=1039 + _UPDATEQC2STATUSREQ._serialized_end=1087 + _UPDATEQC2STATUSRESP._serialized_start=1089 + _UPDATEQC2STATUSRESP._serialized_end=1157 + _UPDATEPROCSTATUSREQ._serialized_start=1159 + _UPDATEPROCSTATUSREQ._serialized_end=1208 + _UPDATEPROCSTATUSRESP._serialized_start=1210 + _UPDATEPROCSTATUSRESP._serialized_end=1279 + _LEVEL2COCATALOGRECORD._serialized_start=1282 + _LEVEL2COCATALOGRECORD._serialized_end=3627 + _FINDLEVEL2COCATALOGREQ._serialized_start=3630 + _FINDLEVEL2COCATALOGREQ._serialized_end=3825 + _FINDLEVEL2COCATALOGRESP._serialized_start=3828 + _FINDLEVEL2COCATALOGRESP._serialized_end=3978 + _DELETECATALOGBYLEVEL2COIDREQ._serialized_start=3980 + _DELETECATALOGBYLEVEL2COIDREQ._serialized_end=4029 + _DELETECATALOGBYLEVEL2COIDRESP._serialized_start=4031 + _DELETECATALOGBYLEVEL2COIDRESP._serialized_end=4109 + _LEVEL2COSRV._serialized_start=4112 + _LEVEL2COSRV._serialized_end=4799 # @@protoc_insertion_point(module_scope) diff --git a/csst_dfs_proto/msc/level2co/level2co_pb2_grpc.py b/csst_dfs_proto/msc/level2co/level2co_pb2_grpc.py index 3604e13..1ee0761 100644 --- a/csst_dfs_proto/msc/level2co/level2co_pb2_grpc.py +++ b/csst_dfs_proto/msc/level2co/level2co_pb2_grpc.py @@ -1,11 +1,12 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from . import level2co_pb2 as msc_dot_level2co_dot_level2co__pb2 class Level2CoSrvStub(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def __init__(self, channel): """Constructor. @@ -51,46 +52,46 @@ class Level2CoSrvStub(object): class Level2CoSrvServicer(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def Find(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def FindCatalog(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Get(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Write(self, request_iterator, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateQc2Status(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateProcStatus(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def DeleteCatalogByLevel2CoId(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') @@ -141,7 +142,7 @@ def add_Level2CoSrvServicer_to_server(servicer, server): # This class is part of an EXPERIMENTAL API. class Level2CoSrv(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" @staticmethod def Find(request, @@ -149,6 +150,7 @@ class Level2CoSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -157,7 +159,7 @@ class Level2CoSrv(object): msc_dot_level2co_dot_level2co__pb2.FindLevel2CoReq.SerializeToString, msc_dot_level2co_dot_level2co__pb2.FindLevel2CoResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def FindCatalog(request, @@ -165,6 +167,7 @@ class Level2CoSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -173,7 +176,7 @@ class Level2CoSrv(object): msc_dot_level2co_dot_level2co__pb2.FindLevel2CoCatalogReq.SerializeToString, msc_dot_level2co_dot_level2co__pb2.FindLevel2CoCatalogResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Get(request, @@ -181,6 +184,7 @@ class Level2CoSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -189,7 +193,7 @@ class Level2CoSrv(object): msc_dot_level2co_dot_level2co__pb2.GetLevel2CoReq.SerializeToString, msc_dot_level2co_dot_level2co__pb2.GetLevel2CoResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Write(request_iterator, @@ -197,6 +201,7 @@ class Level2CoSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -205,7 +210,7 @@ class Level2CoSrv(object): msc_dot_level2co_dot_level2co__pb2.WriteLevel2CoReq.SerializeToString, msc_dot_level2co_dot_level2co__pb2.WriteLevel2CoResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateQc2Status(request, @@ -213,6 +218,7 @@ class Level2CoSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -221,7 +227,7 @@ class Level2CoSrv(object): msc_dot_level2co_dot_level2co__pb2.UpdateQc2StatusReq.SerializeToString, msc_dot_level2co_dot_level2co__pb2.UpdateQc2StatusResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateProcStatus(request, @@ -229,6 +235,7 @@ class Level2CoSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -237,7 +244,7 @@ class Level2CoSrv(object): msc_dot_level2co_dot_level2co__pb2.UpdateProcStatusReq.SerializeToString, msc_dot_level2co_dot_level2co__pb2.UpdateProcStatusResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def DeleteCatalogByLevel2CoId(request, @@ -245,6 +252,7 @@ class Level2CoSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -253,4 +261,4 @@ class Level2CoSrv(object): msc_dot_level2co_dot_level2co__pb2.DeleteCatalogByLevel2CoIdReq.SerializeToString, msc_dot_level2co_dot_level2co__pb2.DeleteCatalogByLevel2CoIdResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) diff --git a/csst_dfs_proto/sls/level2spectra/level2spectra_pb2.py b/csst_dfs_proto/sls/level2spectra/level2spectra_pb2.py index c02ce9d..3e5aac2 100644 --- a/csst_dfs_proto/sls/level2spectra/level2spectra_pb2.py +++ b/csst_dfs_proto/sls/level2spectra/level2spectra_pb2.py @@ -1,10 +1,10 @@ # -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: sls/level2spectra/level2spectra.proto - +"""Generated protocol buffer code.""" +from google.protobuf.internal import builder as _builder 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 descriptor_pool as _descriptor_pool from google.protobuf import symbol_database as _symbol_database # @@protoc_insertion_point(imports) @@ -14,781 +14,40 @@ _sym_db = _symbol_database.Default() from ...common import error_pb2 as common_dot_error__pb2 -DESCRIPTOR = _descriptor.FileDescriptor( - name='sls/level2spectra/level2spectra.proto', - package='dfs.sls.level2spectra', - syntax='proto3', - serialized_options=b'Z&cnlab.net/csst/proto/sls/level2spectra', - serialized_pb=b'\n%sls/level2spectra/level2spectra.proto\x12\x15\x64\x66s.sls.level2spectra\x1a\x12\x63ommon/error.proto\"\x86\x02\n\x13Level2spectraRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x12\n\nspectra_id\x18\x03 \x01(\t\x12\x11\n\tlevel1_id\x18\x04 \x01(\x03\x12\x0e\n\x06region\x18\x05 \x01(\t\x12\x10\n\x08\x66ilename\x18\x06 \x01(\t\x12\x11\n\tfile_path\x18\x07 \x01(\t\x12\x12\n\nqc2_status\x18\x08 \x01(\x05\x12\x10\n\x08qc2_time\x18\t \x01(\t\x12\x12\n\nprc_status\x18\n \x01(\x05\x12\x10\n\x08prc_time\x18\x0b \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x0c \x01(\t\x12\x13\n\x0bpipeline_id\x18\r \x01(\t\"\xe1\x02\n\x14\x46indLevel2spectraReq\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x12\n\nspectra_id\x18\x03 \x01(\t\x12\x19\n\x11\x63reate_time_start\x18\x04 \x01(\t\x12\x17\n\x0f\x63reate_time_end\x18\x05 \x01(\t\x12\x12\n\nqc2_status\x18\x06 \x01(\x05\x12\x12\n\nprc_status\x18\x07 \x01(\x05\x12\x10\n\x08\x66ilename\x18\x08 \x01(\t\x12\r\n\x05limit\x18\t \x01(\x05\x12Z\n\x10other_conditions\x18\n \x03(\x0b\x32@.dfs.sls.level2spectra.FindLevel2spectraReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x97\x01\n\x15\x46indLevel2spectraResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12;\n\x07records\x18\x04 \x03(\x0b\x32*.dfs.sls.level2spectra.Level2spectraRecord\"!\n\x13GetLevel2spectraReq\x12\n\n\x02id\x18\x01 \x01(\x03\"R\n\x14GetLevel2spectraResp\x12:\n\x06record\x18\x01 \x01(\x0b\x32*.dfs.sls.level2spectra.Level2spectraRecord\"a\n\x15WriteLevel2spectraReq\x12:\n\x06record\x18\x01 \x01(\x0b\x32*.dfs.sls.level2spectra.Level2spectraRecord\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\x83\x01\n\x16WriteLevel2spectraResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12:\n\x06record\x18\x03 \x01(\x0b\x32*.dfs.sls.level2spectra.Level2spectraRecord\"0\n\x12UpdateQc2StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"D\n\x13UpdateQc2StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"1\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\x9e\x04\n\x10Level2spectraSrv\x12\x63\n\x04\x46ind\x12+.dfs.sls.level2spectra.FindLevel2spectraReq\x1a,.dfs.sls.level2spectra.FindLevel2spectraResp\"\x00\x12`\n\x03Get\x12*.dfs.sls.level2spectra.GetLevel2spectraReq\x1a+.dfs.sls.level2spectra.GetLevel2spectraResp\"\x00\x12h\n\x05Write\x12,.dfs.sls.level2spectra.WriteLevel2spectraReq\x1a-.dfs.sls.level2spectra.WriteLevel2spectraResp\"\x00(\x01\x12j\n\x0fUpdateQc2Status\x12).dfs.sls.level2spectra.UpdateQc2StatusReq\x1a*.dfs.sls.level2spectra.UpdateQc2StatusResp\"\x00\x12m\n\x10UpdateProcStatus\x12*.dfs.sls.level2spectra.UpdateProcStatusReq\x1a+.dfs.sls.level2spectra.UpdateProcStatusResp\"\x00\x42(Z&cnlab.net/csst/proto/sls/level2spectrab\x06proto3' - , - dependencies=[common_dot_error__pb2.DESCRIPTOR,]) - - - - -_LEVEL2SPECTRARECORD = _descriptor.Descriptor( - name='Level2spectraRecord', - full_name='dfs.sls.level2spectra.Level2spectraRecord', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.sls.level2spectra.Level2spectraRecord.id', 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), - _descriptor.FieldDescriptor( - name='level0_id', full_name='dfs.sls.level2spectra.Level2spectraRecord.level0_id', 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), - _descriptor.FieldDescriptor( - name='spectra_id', full_name='dfs.sls.level2spectra.Level2spectraRecord.spectra_id', index=2, - number=3, 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='level1_id', full_name='dfs.sls.level2spectra.Level2spectraRecord.level1_id', index=3, - number=4, 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), - _descriptor.FieldDescriptor( - name='region', full_name='dfs.sls.level2spectra.Level2spectraRecord.region', index=4, - number=5, 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='filename', full_name='dfs.sls.level2spectra.Level2spectraRecord.filename', index=5, - number=6, 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='file_path', full_name='dfs.sls.level2spectra.Level2spectraRecord.file_path', index=6, - number=7, 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='qc2_status', full_name='dfs.sls.level2spectra.Level2spectraRecord.qc2_status', index=7, - number=8, type=5, cpp_type=1, 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='qc2_time', full_name='dfs.sls.level2spectra.Level2spectraRecord.qc2_time', index=8, - number=9, 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='prc_status', full_name='dfs.sls.level2spectra.Level2spectraRecord.prc_status', index=9, - number=10, type=5, cpp_type=1, 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='prc_time', full_name='dfs.sls.level2spectra.Level2spectraRecord.prc_time', index=10, - number=11, 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='create_time', full_name='dfs.sls.level2spectra.Level2spectraRecord.create_time', index=11, - number=12, 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='pipeline_id', full_name='dfs.sls.level2spectra.Level2spectraRecord.pipeline_id', index=12, - number=13, 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=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=85, - serialized_end=347, -) - - -_FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor( - name='OtherConditionsEntry', - full_name='dfs.sls.level2spectra.FindLevel2spectraReq.OtherConditionsEntry', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='key', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.OtherConditionsEntry.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.sls.level2spectra.FindLevel2spectraReq.OtherConditionsEntry.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=649, - serialized_end=703, -) - -_FINDLEVEL2SPECTRAREQ = _descriptor.Descriptor( - name='FindLevel2spectraReq', - full_name='dfs.sls.level2spectra.FindLevel2spectraReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='level0_id', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.level0_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='level1_id', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.level1_id', index=1, - number=2, 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), - _descriptor.FieldDescriptor( - name='spectra_id', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.spectra_id', index=2, - number=3, 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='create_time_start', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.create_time_start', index=3, - number=4, 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='create_time_end', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.create_time_end', index=4, - number=5, 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='qc2_status', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.qc2_status', index=5, - number=6, type=5, cpp_type=1, 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='prc_status', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.prc_status', index=6, - number=7, type=5, cpp_type=1, 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='filename', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.filename', index=7, - number=8, 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='limit', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.limit', index=8, - number=9, type=5, cpp_type=1, 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='other_conditions', full_name='dfs.sls.level2spectra.FindLevel2spectraReq.other_conditions', index=9, - number=10, 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=[_FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY, ], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=350, - serialized_end=703, -) - - -_FINDLEVEL2SPECTRARESP = _descriptor.Descriptor( - name='FindLevel2spectraResp', - full_name='dfs.sls.level2spectra.FindLevel2spectraResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.sls.level2spectra.FindLevel2spectraResp.success', 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), - _descriptor.FieldDescriptor( - name='totalCount', full_name='dfs.sls.level2spectra.FindLevel2spectraResp.totalCount', index=1, - number=2, type=5, cpp_type=1, 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='error', full_name='dfs.sls.level2spectra.FindLevel2spectraResp.error', 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='records', full_name='dfs.sls.level2spectra.FindLevel2spectraResp.records', index=3, - number=4, 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=706, - serialized_end=857, -) - - -_GETLEVEL2SPECTRAREQ = _descriptor.Descriptor( - name='GetLevel2spectraReq', - full_name='dfs.sls.level2spectra.GetLevel2spectraReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.sls.level2spectra.GetLevel2spectraReq.id', 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=859, - serialized_end=892, -) - - -_GETLEVEL2SPECTRARESP = _descriptor.Descriptor( - name='GetLevel2spectraResp', - full_name='dfs.sls.level2spectra.GetLevel2spectraResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.sls.level2spectra.GetLevel2spectraResp.record', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=894, - serialized_end=976, -) - - -_WRITELEVEL2SPECTRAREQ = _descriptor.Descriptor( - name='WriteLevel2spectraReq', - full_name='dfs.sls.level2spectra.WriteLevel2spectraReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='record', full_name='dfs.sls.level2spectra.WriteLevel2spectraReq.record', 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='data', full_name='dfs.sls.level2spectra.WriteLevel2spectraReq.data', index=1, - number=2, type=12, cpp_type=9, label=1, - has_default_value=False, default_value=b"", - 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=978, - serialized_end=1075, -) - - -_WRITELEVEL2SPECTRARESP = _descriptor.Descriptor( - name='WriteLevel2spectraResp', - full_name='dfs.sls.level2spectra.WriteLevel2spectraResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.sls.level2spectra.WriteLevel2spectraResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.sls.level2spectra.WriteLevel2spectraResp.error', 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='record', full_name='dfs.sls.level2spectra.WriteLevel2spectraResp.record', 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=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1078, - serialized_end=1209, -) - - -_UPDATEQC2STATUSREQ = _descriptor.Descriptor( - name='UpdateQc2StatusReq', - full_name='dfs.sls.level2spectra.UpdateQc2StatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.sls.level2spectra.UpdateQc2StatusReq.id', 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), - _descriptor.FieldDescriptor( - name='status', full_name='dfs.sls.level2spectra.UpdateQc2StatusReq.status', index=1, - number=2, type=5, cpp_type=1, 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=1211, - serialized_end=1259, -) - - -_UPDATEQC2STATUSRESP = _descriptor.Descriptor( - name='UpdateQc2StatusResp', - full_name='dfs.sls.level2spectra.UpdateQc2StatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.sls.level2spectra.UpdateQc2StatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.sls.level2spectra.UpdateQc2StatusResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1261, - serialized_end=1329, -) - - -_UPDATEPROCSTATUSREQ = _descriptor.Descriptor( - name='UpdateProcStatusReq', - full_name='dfs.sls.level2spectra.UpdateProcStatusReq', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='id', full_name='dfs.sls.level2spectra.UpdateProcStatusReq.id', 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), - _descriptor.FieldDescriptor( - name='status', full_name='dfs.sls.level2spectra.UpdateProcStatusReq.status', index=1, - number=2, type=5, cpp_type=1, 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=1331, - serialized_end=1380, -) - - -_UPDATEPROCSTATUSRESP = _descriptor.Descriptor( - name='UpdateProcStatusResp', - full_name='dfs.sls.level2spectra.UpdateProcStatusResp', - filename=None, - file=DESCRIPTOR, - containing_type=None, - fields=[ - _descriptor.FieldDescriptor( - name='success', full_name='dfs.sls.level2spectra.UpdateProcStatusResp.success', 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), - _descriptor.FieldDescriptor( - name='error', full_name='dfs.sls.level2spectra.UpdateProcStatusResp.error', 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), - ], - extensions=[ - ], - nested_types=[], - enum_types=[ - ], - serialized_options=None, - is_extendable=False, - syntax='proto3', - extension_ranges=[], - oneofs=[ - ], - serialized_start=1382, - serialized_end=1451, -) - -_FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY.containing_type = _FINDLEVEL2SPECTRAREQ -_FINDLEVEL2SPECTRAREQ.fields_by_name['other_conditions'].message_type = _FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY -_FINDLEVEL2SPECTRARESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_FINDLEVEL2SPECTRARESP.fields_by_name['records'].message_type = _LEVEL2SPECTRARECORD -_GETLEVEL2SPECTRARESP.fields_by_name['record'].message_type = _LEVEL2SPECTRARECORD -_WRITELEVEL2SPECTRAREQ.fields_by_name['record'].message_type = _LEVEL2SPECTRARECORD -_WRITELEVEL2SPECTRARESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_WRITELEVEL2SPECTRARESP.fields_by_name['record'].message_type = _LEVEL2SPECTRARECORD -_UPDATEQC2STATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -_UPDATEPROCSTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR -DESCRIPTOR.message_types_by_name['Level2spectraRecord'] = _LEVEL2SPECTRARECORD -DESCRIPTOR.message_types_by_name['FindLevel2spectraReq'] = _FINDLEVEL2SPECTRAREQ -DESCRIPTOR.message_types_by_name['FindLevel2spectraResp'] = _FINDLEVEL2SPECTRARESP -DESCRIPTOR.message_types_by_name['GetLevel2spectraReq'] = _GETLEVEL2SPECTRAREQ -DESCRIPTOR.message_types_by_name['GetLevel2spectraResp'] = _GETLEVEL2SPECTRARESP -DESCRIPTOR.message_types_by_name['WriteLevel2spectraReq'] = _WRITELEVEL2SPECTRAREQ -DESCRIPTOR.message_types_by_name['WriteLevel2spectraResp'] = _WRITELEVEL2SPECTRARESP -DESCRIPTOR.message_types_by_name['UpdateQc2StatusReq'] = _UPDATEQC2STATUSREQ -DESCRIPTOR.message_types_by_name['UpdateQc2StatusResp'] = _UPDATEQC2STATUSRESP -DESCRIPTOR.message_types_by_name['UpdateProcStatusReq'] = _UPDATEPROCSTATUSREQ -DESCRIPTOR.message_types_by_name['UpdateProcStatusResp'] = _UPDATEPROCSTATUSRESP -_sym_db.RegisterFileDescriptor(DESCRIPTOR) - -Level2spectraRecord = _reflection.GeneratedProtocolMessageType('Level2spectraRecord', (_message.Message,), { - 'DESCRIPTOR' : _LEVEL2SPECTRARECORD, - '__module__' : 'sls.level2spectra.level2spectra_pb2' - # @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.Level2spectraRecord) - }) -_sym_db.RegisterMessage(Level2spectraRecord) - -FindLevel2spectraReq = _reflection.GeneratedProtocolMessageType('FindLevel2spectraReq', (_message.Message,), { - - 'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY, - '__module__' : 'sls.level2spectra.level2spectra_pb2' - # @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.FindLevel2spectraReq.OtherConditionsEntry) - }) - , - 'DESCRIPTOR' : _FINDLEVEL2SPECTRAREQ, - '__module__' : 'sls.level2spectra.level2spectra_pb2' - # @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.FindLevel2spectraReq) - }) -_sym_db.RegisterMessage(FindLevel2spectraReq) -_sym_db.RegisterMessage(FindLevel2spectraReq.OtherConditionsEntry) - -FindLevel2spectraResp = _reflection.GeneratedProtocolMessageType('FindLevel2spectraResp', (_message.Message,), { - 'DESCRIPTOR' : _FINDLEVEL2SPECTRARESP, - '__module__' : 'sls.level2spectra.level2spectra_pb2' - # @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.FindLevel2spectraResp) - }) -_sym_db.RegisterMessage(FindLevel2spectraResp) - -GetLevel2spectraReq = _reflection.GeneratedProtocolMessageType('GetLevel2spectraReq', (_message.Message,), { - 'DESCRIPTOR' : _GETLEVEL2SPECTRAREQ, - '__module__' : 'sls.level2spectra.level2spectra_pb2' - # @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.GetLevel2spectraReq) - }) -_sym_db.RegisterMessage(GetLevel2spectraReq) - -GetLevel2spectraResp = _reflection.GeneratedProtocolMessageType('GetLevel2spectraResp', (_message.Message,), { - 'DESCRIPTOR' : _GETLEVEL2SPECTRARESP, - '__module__' : 'sls.level2spectra.level2spectra_pb2' - # @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.GetLevel2spectraResp) - }) -_sym_db.RegisterMessage(GetLevel2spectraResp) - -WriteLevel2spectraReq = _reflection.GeneratedProtocolMessageType('WriteLevel2spectraReq', (_message.Message,), { - 'DESCRIPTOR' : _WRITELEVEL2SPECTRAREQ, - '__module__' : 'sls.level2spectra.level2spectra_pb2' - # @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.WriteLevel2spectraReq) - }) -_sym_db.RegisterMessage(WriteLevel2spectraReq) - -WriteLevel2spectraResp = _reflection.GeneratedProtocolMessageType('WriteLevel2spectraResp', (_message.Message,), { - 'DESCRIPTOR' : _WRITELEVEL2SPECTRARESP, - '__module__' : 'sls.level2spectra.level2spectra_pb2' - # @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.WriteLevel2spectraResp) - }) -_sym_db.RegisterMessage(WriteLevel2spectraResp) - -UpdateQc2StatusReq = _reflection.GeneratedProtocolMessageType('UpdateQc2StatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEQC2STATUSREQ, - '__module__' : 'sls.level2spectra.level2spectra_pb2' - # @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.UpdateQc2StatusReq) - }) -_sym_db.RegisterMessage(UpdateQc2StatusReq) - -UpdateQc2StatusResp = _reflection.GeneratedProtocolMessageType('UpdateQc2StatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEQC2STATUSRESP, - '__module__' : 'sls.level2spectra.level2spectra_pb2' - # @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.UpdateQc2StatusResp) - }) -_sym_db.RegisterMessage(UpdateQc2StatusResp) - -UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSREQ, - '__module__' : 'sls.level2spectra.level2spectra_pb2' - # @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.UpdateProcStatusReq) - }) -_sym_db.RegisterMessage(UpdateProcStatusReq) - -UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), { - 'DESCRIPTOR' : _UPDATEPROCSTATUSRESP, - '__module__' : 'sls.level2spectra.level2spectra_pb2' - # @@protoc_insertion_point(class_scope:dfs.sls.level2spectra.UpdateProcStatusResp) - }) -_sym_db.RegisterMessage(UpdateProcStatusResp) - - -DESCRIPTOR._options = None -_FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY._options = None - -_LEVEL2SPECTRASRV = _descriptor.ServiceDescriptor( - name='Level2spectraSrv', - full_name='dfs.sls.level2spectra.Level2spectraSrv', - file=DESCRIPTOR, - index=0, - serialized_options=None, - serialized_start=1454, - serialized_end=1996, - methods=[ - _descriptor.MethodDescriptor( - name='Find', - full_name='dfs.sls.level2spectra.Level2spectraSrv.Find', - index=0, - containing_service=None, - input_type=_FINDLEVEL2SPECTRAREQ, - output_type=_FINDLEVEL2SPECTRARESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Get', - full_name='dfs.sls.level2spectra.Level2spectraSrv.Get', - index=1, - containing_service=None, - input_type=_GETLEVEL2SPECTRAREQ, - output_type=_GETLEVEL2SPECTRARESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='Write', - full_name='dfs.sls.level2spectra.Level2spectraSrv.Write', - index=2, - containing_service=None, - input_type=_WRITELEVEL2SPECTRAREQ, - output_type=_WRITELEVEL2SPECTRARESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateQc2Status', - full_name='dfs.sls.level2spectra.Level2spectraSrv.UpdateQc2Status', - index=3, - containing_service=None, - input_type=_UPDATEQC2STATUSREQ, - output_type=_UPDATEQC2STATUSRESP, - serialized_options=None, - ), - _descriptor.MethodDescriptor( - name='UpdateProcStatus', - full_name='dfs.sls.level2spectra.Level2spectraSrv.UpdateProcStatus', - index=4, - containing_service=None, - input_type=_UPDATEPROCSTATUSREQ, - output_type=_UPDATEPROCSTATUSRESP, - serialized_options=None, - ), -]) -_sym_db.RegisterServiceDescriptor(_LEVEL2SPECTRASRV) - -DESCRIPTOR.services_by_name['Level2spectraSrv'] = _LEVEL2SPECTRASRV - +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%sls/level2spectra/level2spectra.proto\x12\x15\x64\x66s.sls.level2spectra\x1a\x12\x63ommon/error.proto\"\x86\x02\n\x13Level2spectraRecord\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tlevel0_id\x18\x02 \x01(\t\x12\x12\n\nspectra_id\x18\x03 \x01(\t\x12\x11\n\tlevel1_id\x18\x04 \x01(\x03\x12\x0e\n\x06region\x18\x05 \x01(\t\x12\x10\n\x08\x66ilename\x18\x06 \x01(\t\x12\x11\n\tfile_path\x18\x07 \x01(\t\x12\x12\n\nqc2_status\x18\x08 \x01(\x05\x12\x10\n\x08qc2_time\x18\t \x01(\t\x12\x12\n\nprc_status\x18\n \x01(\x05\x12\x10\n\x08prc_time\x18\x0b \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x0c \x01(\t\x12\x13\n\x0bpipeline_id\x18\r \x01(\t\"\xe1\x02\n\x14\x46indLevel2spectraReq\x12\x11\n\tlevel0_id\x18\x01 \x01(\t\x12\x11\n\tlevel1_id\x18\x02 \x01(\x03\x12\x12\n\nspectra_id\x18\x03 \x01(\t\x12\x19\n\x11\x63reate_time_start\x18\x04 \x01(\t\x12\x17\n\x0f\x63reate_time_end\x18\x05 \x01(\t\x12\x12\n\nqc2_status\x18\x06 \x01(\x05\x12\x12\n\nprc_status\x18\x07 \x01(\x05\x12\x10\n\x08\x66ilename\x18\x08 \x01(\t\x12\r\n\x05limit\x18\t \x01(\x05\x12Z\n\x10other_conditions\x18\n \x03(\x0b\x32@.dfs.sls.level2spectra.FindLevel2spectraReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x97\x01\n\x15\x46indLevel2spectraResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x12\n\ntotalCount\x18\x02 \x01(\x05\x12\x1c\n\x05\x65rror\x18\x03 \x01(\x0b\x32\r.common.Error\x12;\n\x07records\x18\x04 \x03(\x0b\x32*.dfs.sls.level2spectra.Level2spectraRecord\"!\n\x13GetLevel2spectraReq\x12\n\n\x02id\x18\x01 \x01(\x03\"R\n\x14GetLevel2spectraResp\x12:\n\x06record\x18\x01 \x01(\x0b\x32*.dfs.sls.level2spectra.Level2spectraRecord\"a\n\x15WriteLevel2spectraReq\x12:\n\x06record\x18\x01 \x01(\x0b\x32*.dfs.sls.level2spectra.Level2spectraRecord\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\"\x83\x01\n\x16WriteLevel2spectraResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12:\n\x06record\x18\x03 \x01(\x0b\x32*.dfs.sls.level2spectra.Level2spectraRecord\"0\n\x12UpdateQc2StatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"D\n\x13UpdateQc2StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"1\n\x13UpdateProcStatusReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\x05\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\x9e\x04\n\x10Level2spectraSrv\x12\x63\n\x04\x46ind\x12+.dfs.sls.level2spectra.FindLevel2spectraReq\x1a,.dfs.sls.level2spectra.FindLevel2spectraResp\"\x00\x12`\n\x03Get\x12*.dfs.sls.level2spectra.GetLevel2spectraReq\x1a+.dfs.sls.level2spectra.GetLevel2spectraResp\"\x00\x12h\n\x05Write\x12,.dfs.sls.level2spectra.WriteLevel2spectraReq\x1a-.dfs.sls.level2spectra.WriteLevel2spectraResp\"\x00(\x01\x12j\n\x0fUpdateQc2Status\x12).dfs.sls.level2spectra.UpdateQc2StatusReq\x1a*.dfs.sls.level2spectra.UpdateQc2StatusResp\"\x00\x12m\n\x10UpdateProcStatus\x12*.dfs.sls.level2spectra.UpdateProcStatusReq\x1a+.dfs.sls.level2spectra.UpdateProcStatusResp\"\x00\x42(Z&cnlab.net/csst/proto/sls/level2spectrab\x06proto3') + +_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) +_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'sls.level2spectra.level2spectra_pb2', globals()) +if _descriptor._USE_C_DESCRIPTORS == False: + + DESCRIPTOR._options = None + DESCRIPTOR._serialized_options = b'Z&cnlab.net/csst/proto/sls/level2spectra' + _FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY._options = None + _FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY._serialized_options = b'8\001' + _LEVEL2SPECTRARECORD._serialized_start=85 + _LEVEL2SPECTRARECORD._serialized_end=347 + _FINDLEVEL2SPECTRAREQ._serialized_start=350 + _FINDLEVEL2SPECTRAREQ._serialized_end=703 + _FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY._serialized_start=649 + _FINDLEVEL2SPECTRAREQ_OTHERCONDITIONSENTRY._serialized_end=703 + _FINDLEVEL2SPECTRARESP._serialized_start=706 + _FINDLEVEL2SPECTRARESP._serialized_end=857 + _GETLEVEL2SPECTRAREQ._serialized_start=859 + _GETLEVEL2SPECTRAREQ._serialized_end=892 + _GETLEVEL2SPECTRARESP._serialized_start=894 + _GETLEVEL2SPECTRARESP._serialized_end=976 + _WRITELEVEL2SPECTRAREQ._serialized_start=978 + _WRITELEVEL2SPECTRAREQ._serialized_end=1075 + _WRITELEVEL2SPECTRARESP._serialized_start=1078 + _WRITELEVEL2SPECTRARESP._serialized_end=1209 + _UPDATEQC2STATUSREQ._serialized_start=1211 + _UPDATEQC2STATUSREQ._serialized_end=1259 + _UPDATEQC2STATUSRESP._serialized_start=1261 + _UPDATEQC2STATUSRESP._serialized_end=1329 + _UPDATEPROCSTATUSREQ._serialized_start=1331 + _UPDATEPROCSTATUSREQ._serialized_end=1380 + _UPDATEPROCSTATUSRESP._serialized_start=1382 + _UPDATEPROCSTATUSRESP._serialized_end=1451 + _LEVEL2SPECTRASRV._serialized_start=1454 + _LEVEL2SPECTRASRV._serialized_end=1996 # @@protoc_insertion_point(module_scope) diff --git a/csst_dfs_proto/sls/level2spectra/level2spectra_pb2_grpc.py b/csst_dfs_proto/sls/level2spectra/level2spectra_pb2_grpc.py index 75d2005..36d09b3 100644 --- a/csst_dfs_proto/sls/level2spectra/level2spectra_pb2_grpc.py +++ b/csst_dfs_proto/sls/level2spectra/level2spectra_pb2_grpc.py @@ -1,11 +1,12 @@ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT! +"""Client and server classes corresponding to protobuf-defined services.""" import grpc from . import level2spectra_pb2 as sls_dot_level2spectra_dot_level2spectra__pb2 class Level2spectraSrvStub(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def __init__(self, channel): """Constructor. @@ -41,34 +42,34 @@ class Level2spectraSrvStub(object): class Level2spectraSrvServicer(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" def Find(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Get(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def Write(self, request_iterator, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateQc2Status(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') def UpdateProcStatus(self, request, context): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" context.set_code(grpc.StatusCode.UNIMPLEMENTED) context.set_details('Method not implemented!') raise NotImplementedError('Method not implemented!') @@ -109,7 +110,7 @@ def add_Level2spectraSrvServicer_to_server(servicer, server): # This class is part of an EXPERIMENTAL API. class Level2spectraSrv(object): - """Missing associated documentation comment in .proto file""" + """Missing associated documentation comment in .proto file.""" @staticmethod def Find(request, @@ -117,6 +118,7 @@ class Level2spectraSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -125,7 +127,7 @@ class Level2spectraSrv(object): sls_dot_level2spectra_dot_level2spectra__pb2.FindLevel2spectraReq.SerializeToString, sls_dot_level2spectra_dot_level2spectra__pb2.FindLevel2spectraResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Get(request, @@ -133,6 +135,7 @@ class Level2spectraSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -141,7 +144,7 @@ class Level2spectraSrv(object): sls_dot_level2spectra_dot_level2spectra__pb2.GetLevel2spectraReq.SerializeToString, sls_dot_level2spectra_dot_level2spectra__pb2.GetLevel2spectraResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def Write(request_iterator, @@ -149,6 +152,7 @@ class Level2spectraSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -157,7 +161,7 @@ class Level2spectraSrv(object): sls_dot_level2spectra_dot_level2spectra__pb2.WriteLevel2spectraReq.SerializeToString, sls_dot_level2spectra_dot_level2spectra__pb2.WriteLevel2spectraResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateQc2Status(request, @@ -165,6 +169,7 @@ class Level2spectraSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -173,7 +178,7 @@ class Level2spectraSrv(object): sls_dot_level2spectra_dot_level2spectra__pb2.UpdateQc2StatusReq.SerializeToString, sls_dot_level2spectra_dot_level2spectra__pb2.UpdateQc2StatusResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) @staticmethod def UpdateProcStatus(request, @@ -181,6 +186,7 @@ class Level2spectraSrv(object): options=(), channel_credentials=None, call_credentials=None, + insecure=False, compression=None, wait_for_ready=None, timeout=None, @@ -189,4 +195,4 @@ class Level2spectraSrv(object): sls_dot_level2spectra_dot_level2spectra__pb2.UpdateProcStatusReq.SerializeToString, sls_dot_level2spectra_dot_level2spectra__pb2.UpdateProcStatusResp.FromString, options, channel_credentials, - call_credentials, compression, wait_for_ready, timeout, metadata) + insecure, call_credentials, compression, wait_for_ready, timeout, metadata) -- GitLab