Commit 60afdbeb authored by Wei Shoulin's avatar Wei Shoulin
Browse files

bug

parent 7187a5a4
......@@ -21,722 +21,722 @@ DESCRIPTOR = _descriptor.FileDescriptor(
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\"\xd9\x13\n\x0bGaia2Record\x12\x10\n\x08SourceId\x18\x01 \x01(\x03\x12\x13\n\x0bRandomIndex\x18\x02 \x01(\x03\x12\x10\n\x08RefEpoch\x18\x03 \x01(\x01\x12\n\n\x02Ra\x18\x04 \x01(\x01\x12\x0f\n\x07RaError\x18\x05 \x01(\x01\x12\x0b\n\x03\x44\x65\x63\x18\x06 \x01(\x01\x12\x10\n\x08\x44\x65\x63\x45rror\x18\x07 \x01(\x01\x12\x10\n\x08Parallax\x18\x08 \x01(\x01\x12\x15\n\rParallaxError\x18\t \x01(\x01\x12\x19\n\x11ParallaxOverError\x18\n \x01(\x01\x12\n\n\x02Pm\x18\x0b \x01(\x01\x12\x0c\n\x04Pmra\x18\x0c \x01(\x01\x12\x11\n\tPmraError\x18\r \x01(\x01\x12\r\n\x05Pmdec\x18\x0e \x01(\x01\x12\x12\n\nPmdecError\x18\x0f \x01(\x01\x12\x11\n\tRaDecCorr\x18\x10 \x01(\x01\x12\x16\n\x0eRaParallaxCorr\x18\x11 \x01(\x01\x12\x12\n\nRaPmraCorr\x18\x12 \x01(\x01\x12\x13\n\x0bRaPmdecCorr\x18\x13 \x01(\x01\x12\x17\n\x0f\x44\x65\x63ParallaxCorr\x18\x14 \x01(\x01\x12\x13\n\x0b\x44\x65\x63PmraCorr\x18\x15 \x01(\x01\x12\x14\n\x0c\x44\x65\x63PmdecCorr\x18\x16 \x01(\x01\x12\x18\n\x10ParallaxPmraCorr\x18\x17 \x01(\x01\x12\x19\n\x11ParallaxPmdecCorr\x18\x18 \x01(\x01\x12\x15\n\rPmraPmdecCorr\x18\x19 \x01(\x01\x12\x19\n\x11\x41strometricNObsAl\x18\x1a \x01(\x03\x12\x19\n\x11\x41strometricNObsAc\x18\x1b \x01(\x03\x12\x1d\n\x15\x41strometricNGoodObsAl\x18\x1c \x01(\x03\x12\x1c\n\x14\x41strometricNBadObsAl\x18\x1d \x01(\x03\x12\x18\n\x10\x41strometricGofAl\x18\x1e \x01(\x01\x12\x19\n\x11\x41strometricChi2Al\x18\x1f \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(\r\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. \x01(\x01\x12\x17\n\x0fMatchedTransits\x18/ \x01(\x03\x12\x1a\n\x12NewMatchedTransits\x18\x30 \x01(\x03\x12\x1e\n\x16MatchedTransitsRemoved\x18\x31 \x01(\x03\x12\x1f\n\x17IpdGofHarmonicAmplitude\x18\x32 \x01(\x01\x12\x1b\n\x13IpdGofHarmonicPhase\x18\x33 \x01(\x01\x12\x18\n\x10IpdFracMultiPeak\x18\x34 \x01(\x03\x12\x15\n\rIpdFracOddWin\x18\x35 \x01(\x03\x12\x0c\n\x04Ruwe\x18\x36 \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK1\x18\x37 \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK2\x18\x38 \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK3\x18\x39 \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? \x01(\r\x12\x11\n\tPhotGNObs\x18@ \x01(\x03\x12\x15\n\rPhotGMeanFlux\x18\x41 \x01(\x01\x12\x1a\n\x12PhotGMeanFluxError\x18\x42 \x01(\x01\x12\x1e\n\x16PhotGMeanFluxOverError\x18\x43 \x01(\x01\x12\x14\n\x0cPhotGMeanMag\x18\x44 \x01(\x01\x12\x12\n\nPhotBpNObs\x18\x45 \x01(\x03\x12\x16\n\x0ePhotBpMeanFlux\x18\x46 \x01(\x01\x12\x1b\n\x13PhotBpMeanFluxError\x18G \x01(\x01\x12\x1f\n\x17PhotBpMeanFluxOverError\x18H \x01(\x01\x12\x15\n\rPhotBpMeanMag\x18I \x01(\x01\x12\x12\n\nPhotRpNObs\x18J \x01(\x03\x12\x16\n\x0ePhotRpMeanFlux\x18K \x01(\x01\x12\x1b\n\x13PhotRpMeanFluxError\x18L \x01(\x01\x12\x1f\n\x17PhotRpMeanFluxOverError\x18M \x01(\x01\x12\x15\n\rPhotRpMeanMag\x18N \x01(\x01\x12#\n\x1bPhotBpNContaminatedTransits\x18O \x01(\x01\x12\x1e\n\x16PhotBpNBlendedTransits\x18P \x01(\x01\x12#\n\x1bPhotRpNContaminatedTransits\x18Q \x01(\x01\x12\x1e\n\x16PhotRpNBlendedTransits\x18R \x01(\x01\x12\x14\n\x0cPhotProcMode\x18S \x01(\x01\x12\x1c\n\x14PhotBpRpExcessFactor\x18T \x01(\x01\x12\x0c\n\x04\x42pRp\x18U \x01(\x01\x12\x0b\n\x03\x42pG\x18V \x01(\x01\x12\x0b\n\x03GRp\x18W \x01(\x01\x12\x19\n\x11\x44r2RadialVelocity\x18X \x01(\x01\x12\x1e\n\x16\x44r2RadialVelocityError\x18Y \x01(\x01\x12\x17\n\x0f\x44r2RvNbTransits\x18Z \x01(\x03\x12\x19\n\x11\x44r2RvTemplateTeff\x18[ \x01(\x01\x12\x19\n\x11\x44r2RvTemplateLogg\x18\\ \x01(\x01\x12\x18\n\x10\x44r2RvTemplateFeH\x18] \x01(\x01\x12\t\n\x01L\x18^ \x01(\x01\x12\t\n\x01\x42\x18_ \x01(\x01\x12\x0e\n\x06\x45\x63lLon\x18` \x01(\x01\x12\x0e\n\x06\x45\x63lLat\x18\x61 \x01(\x01\x12\x0f\n\x07NS8HIdx\x18\x62 \x01(\x05\x12\x10\n\x08NS16HIdx\x18\x63 \x01(\x05\x12\x10\n\x08NS32HIdx\x18\x64 \x01(\x05\x12\x10\n\x08NS64HIdx\x18\x65 \x01(\x05\"\x8a\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\x0b\n\x03mag\x18\x04 \x01(\x01\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\"\x81\x01\n\x13Gaia2SearchResponse\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\x16.dfs.ephem.Gaia2Record2`\n\x0e\x45phemSearchSrv\x12N\n\x0bGaia2Search\x12\x1d.dfs.ephem.EphemSearchRequest\x1a\x1e.dfs.ephem.Gaia2SearchResponse\"\x00\x42#Z!cnlab.net/csst/proto/common/ephemb\x06proto3')
serialized_pb=_b('\n\x18\x63ommon/ephem/ephem.proto\x12\tdfs.ephem\x1a\x12\x63ommon/error.proto\"\xd9\x13\n\x0bGaia3Record\x12\x10\n\x08SourceId\x18\x01 \x01(\x03\x12\x13\n\x0bRandomIndex\x18\x02 \x01(\x03\x12\x10\n\x08RefEpoch\x18\x03 \x01(\x01\x12\n\n\x02Ra\x18\x04 \x01(\x01\x12\x0f\n\x07RaError\x18\x05 \x01(\x01\x12\x0b\n\x03\x44\x65\x63\x18\x06 \x01(\x01\x12\x10\n\x08\x44\x65\x63\x45rror\x18\x07 \x01(\x01\x12\x10\n\x08Parallax\x18\x08 \x01(\x01\x12\x15\n\rParallaxError\x18\t \x01(\x01\x12\x19\n\x11ParallaxOverError\x18\n \x01(\x01\x12\n\n\x02Pm\x18\x0b \x01(\x01\x12\x0c\n\x04Pmra\x18\x0c \x01(\x01\x12\x11\n\tPmraError\x18\r \x01(\x01\x12\r\n\x05Pmdec\x18\x0e \x01(\x01\x12\x12\n\nPmdecError\x18\x0f \x01(\x01\x12\x11\n\tRaDecCorr\x18\x10 \x01(\x01\x12\x16\n\x0eRaParallaxCorr\x18\x11 \x01(\x01\x12\x12\n\nRaPmraCorr\x18\x12 \x01(\x01\x12\x13\n\x0bRaPmdecCorr\x18\x13 \x01(\x01\x12\x17\n\x0f\x44\x65\x63ParallaxCorr\x18\x14 \x01(\x01\x12\x13\n\x0b\x44\x65\x63PmraCorr\x18\x15 \x01(\x01\x12\x14\n\x0c\x44\x65\x63PmdecCorr\x18\x16 \x01(\x01\x12\x18\n\x10ParallaxPmraCorr\x18\x17 \x01(\x01\x12\x19\n\x11ParallaxPmdecCorr\x18\x18 \x01(\x01\x12\x15\n\rPmraPmdecCorr\x18\x19 \x01(\x01\x12\x19\n\x11\x41strometricNObsAl\x18\x1a \x01(\x03\x12\x19\n\x11\x41strometricNObsAc\x18\x1b \x01(\x03\x12\x1d\n\x15\x41strometricNGoodObsAl\x18\x1c \x01(\x03\x12\x1c\n\x14\x41strometricNBadObsAl\x18\x1d \x01(\x03\x12\x18\n\x10\x41strometricGofAl\x18\x1e \x01(\x01\x12\x19\n\x11\x41strometricChi2Al\x18\x1f \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(\r\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. \x01(\x01\x12\x17\n\x0fMatchedTransits\x18/ \x01(\x03\x12\x1a\n\x12NewMatchedTransits\x18\x30 \x01(\x03\x12\x1e\n\x16MatchedTransitsRemoved\x18\x31 \x01(\x03\x12\x1f\n\x17IpdGofHarmonicAmplitude\x18\x32 \x01(\x01\x12\x1b\n\x13IpdGofHarmonicPhase\x18\x33 \x01(\x01\x12\x18\n\x10IpdFracMultiPeak\x18\x34 \x01(\x03\x12\x15\n\rIpdFracOddWin\x18\x35 \x01(\x03\x12\x0c\n\x04Ruwe\x18\x36 \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK1\x18\x37 \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK2\x18\x38 \x01(\x01\x12\x1f\n\x17ScanDirectionStrengthK3\x18\x39 \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? \x01(\r\x12\x11\n\tPhotGNObs\x18@ \x01(\x03\x12\x15\n\rPhotGMeanFlux\x18\x41 \x01(\x01\x12\x1a\n\x12PhotGMeanFluxError\x18\x42 \x01(\x01\x12\x1e\n\x16PhotGMeanFluxOverError\x18\x43 \x01(\x01\x12\x14\n\x0cPhotGMeanMag\x18\x44 \x01(\x01\x12\x12\n\nPhotBpNObs\x18\x45 \x01(\x03\x12\x16\n\x0ePhotBpMeanFlux\x18\x46 \x01(\x01\x12\x1b\n\x13PhotBpMeanFluxError\x18G \x01(\x01\x12\x1f\n\x17PhotBpMeanFluxOverError\x18H \x01(\x01\x12\x15\n\rPhotBpMeanMag\x18I \x01(\x01\x12\x12\n\nPhotRpNObs\x18J \x01(\x03\x12\x16\n\x0ePhotRpMeanFlux\x18K \x01(\x01\x12\x1b\n\x13PhotRpMeanFluxError\x18L \x01(\x01\x12\x1f\n\x17PhotRpMeanFluxOverError\x18M \x01(\x01\x12\x15\n\rPhotRpMeanMag\x18N \x01(\x01\x12#\n\x1bPhotBpNContaminatedTransits\x18O \x01(\x01\x12\x1e\n\x16PhotBpNBlendedTransits\x18P \x01(\x01\x12#\n\x1bPhotRpNContaminatedTransits\x18Q \x01(\x01\x12\x1e\n\x16PhotRpNBlendedTransits\x18R \x01(\x01\x12\x14\n\x0cPhotProcMode\x18S \x01(\x01\x12\x1c\n\x14PhotBpRpExcessFactor\x18T \x01(\x01\x12\x0c\n\x04\x42pRp\x18U \x01(\x01\x12\x0b\n\x03\x42pG\x18V \x01(\x01\x12\x0b\n\x03GRp\x18W \x01(\x01\x12\x19\n\x11\x44r2RadialVelocity\x18X \x01(\x01\x12\x1e\n\x16\x44r2RadialVelocityError\x18Y \x01(\x01\x12\x17\n\x0f\x44r2RvNbTransits\x18Z \x01(\x03\x12\x19\n\x11\x44r2RvTemplateTeff\x18[ \x01(\x01\x12\x19\n\x11\x44r2RvTemplateLogg\x18\\ \x01(\x01\x12\x18\n\x10\x44r2RvTemplateFeH\x18] \x01(\x01\x12\t\n\x01L\x18^ \x01(\x01\x12\t\n\x01\x42\x18_ \x01(\x01\x12\x0e\n\x06\x45\x63lLon\x18` \x01(\x01\x12\x0e\n\x06\x45\x63lLat\x18\x61 \x01(\x01\x12\x0f\n\x07NS8HIdx\x18\x62 \x01(\x05\x12\x10\n\x08NS16HIdx\x18\x63 \x01(\x05\x12\x10\n\x08NS32HIdx\x18\x64 \x01(\x05\x12\x10\n\x08NS64HIdx\x18\x65 \x01(\x05\"}\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\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\"\x81\x01\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\'\n\x07records\x18\x04 \x03(\x0b\x32\x16.dfs.ephem.Gaia3Record2`\n\x0e\x45phemSearchSrv\x12N\n\x0bGaia3Search\x12\x1d.dfs.ephem.EphemSearchRequest\x1a\x1e.dfs.ephem.Gaia3SearchResponse\"\x00\x42#Z!cnlab.net/csst/proto/common/ephemb\x06proto3')
,
dependencies=[common_dot_error__pb2.DESCRIPTOR,])
_GAIA2RECORD = _descriptor.Descriptor(
name='Gaia2Record',
full_name='dfs.ephem.Gaia2Record',
_GAIA3RECORD = _descriptor.Descriptor(
name='Gaia3Record',
full_name='dfs.ephem.Gaia3Record',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='SourceId', full_name='dfs.ephem.Gaia2Record.SourceId', index=0,
name='SourceId', full_name='dfs.ephem.Gaia3Record.SourceId', 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='RandomIndex', full_name='dfs.ephem.Gaia2Record.RandomIndex', index=1,
name='RandomIndex', full_name='dfs.ephem.Gaia3Record.RandomIndex', 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='RefEpoch', full_name='dfs.ephem.Gaia2Record.RefEpoch', index=2,
name='RefEpoch', full_name='dfs.ephem.Gaia3Record.RefEpoch', 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='Ra', full_name='dfs.ephem.Gaia2Record.Ra', index=3,
name='Ra', full_name='dfs.ephem.Gaia3Record.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='RaError', full_name='dfs.ephem.Gaia2Record.RaError', index=4,
name='RaError', full_name='dfs.ephem.Gaia3Record.RaError', 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='Dec', full_name='dfs.ephem.Gaia2Record.Dec', index=5,
name='Dec', full_name='dfs.ephem.Gaia3Record.Dec', 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='DecError', full_name='dfs.ephem.Gaia2Record.DecError', index=6,
name='DecError', full_name='dfs.ephem.Gaia3Record.DecError', 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='Parallax', full_name='dfs.ephem.Gaia2Record.Parallax', index=7,
name='Parallax', full_name='dfs.ephem.Gaia3Record.Parallax', 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='ParallaxError', full_name='dfs.ephem.Gaia2Record.ParallaxError', index=8,
name='ParallaxError', full_name='dfs.ephem.Gaia3Record.ParallaxError', 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='ParallaxOverError', full_name='dfs.ephem.Gaia2Record.ParallaxOverError', index=9,
name='ParallaxOverError', full_name='dfs.ephem.Gaia3Record.ParallaxOverError', 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='Pm', full_name='dfs.ephem.Gaia2Record.Pm', index=10,
name='Pm', full_name='dfs.ephem.Gaia3Record.Pm', 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='Pmra', full_name='dfs.ephem.Gaia2Record.Pmra', index=11,
name='Pmra', full_name='dfs.ephem.Gaia3Record.Pmra', 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='PmraError', full_name='dfs.ephem.Gaia2Record.PmraError', index=12,
name='PmraError', full_name='dfs.ephem.Gaia3Record.PmraError', 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='Pmdec', full_name='dfs.ephem.Gaia2Record.Pmdec', index=13,
name='Pmdec', full_name='dfs.ephem.Gaia3Record.Pmdec', 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='PmdecError', full_name='dfs.ephem.Gaia2Record.PmdecError', index=14,
name='PmdecError', full_name='dfs.ephem.Gaia3Record.PmdecError', 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='RaDecCorr', full_name='dfs.ephem.Gaia2Record.RaDecCorr', index=15,
name='RaDecCorr', full_name='dfs.ephem.Gaia3Record.RaDecCorr', 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='RaParallaxCorr', full_name='dfs.ephem.Gaia2Record.RaParallaxCorr', index=16,
name='RaParallaxCorr', full_name='dfs.ephem.Gaia3Record.RaParallaxCorr', 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='RaPmraCorr', full_name='dfs.ephem.Gaia2Record.RaPmraCorr', index=17,
name='RaPmraCorr', full_name='dfs.ephem.Gaia3Record.RaPmraCorr', 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='RaPmdecCorr', full_name='dfs.ephem.Gaia2Record.RaPmdecCorr', index=18,
name='RaPmdecCorr', full_name='dfs.ephem.Gaia3Record.RaPmdecCorr', 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='DecParallaxCorr', full_name='dfs.ephem.Gaia2Record.DecParallaxCorr', index=19,
name='DecParallaxCorr', full_name='dfs.ephem.Gaia3Record.DecParallaxCorr', 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='DecPmraCorr', full_name='dfs.ephem.Gaia2Record.DecPmraCorr', index=20,
name='DecPmraCorr', full_name='dfs.ephem.Gaia3Record.DecPmraCorr', 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='DecPmdecCorr', full_name='dfs.ephem.Gaia2Record.DecPmdecCorr', index=21,
name='DecPmdecCorr', full_name='dfs.ephem.Gaia3Record.DecPmdecCorr', 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='ParallaxPmraCorr', full_name='dfs.ephem.Gaia2Record.ParallaxPmraCorr', index=22,
name='ParallaxPmraCorr', full_name='dfs.ephem.Gaia3Record.ParallaxPmraCorr', 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='ParallaxPmdecCorr', full_name='dfs.ephem.Gaia2Record.ParallaxPmdecCorr', index=23,
name='ParallaxPmdecCorr', full_name='dfs.ephem.Gaia3Record.ParallaxPmdecCorr', 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='PmraPmdecCorr', full_name='dfs.ephem.Gaia2Record.PmraPmdecCorr', index=24,
name='PmraPmdecCorr', full_name='dfs.ephem.Gaia3Record.PmraPmdecCorr', 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='AstrometricNObsAl', full_name='dfs.ephem.Gaia2Record.AstrometricNObsAl', index=25,
name='AstrometricNObsAl', full_name='dfs.ephem.Gaia3Record.AstrometricNObsAl', index=25,
number=26, 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.Gaia2Record.AstrometricNObsAc', index=26,
name='AstrometricNObsAc', full_name='dfs.ephem.Gaia3Record.AstrometricNObsAc', index=26,
number=27, 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.Gaia2Record.AstrometricNGoodObsAl', index=27,
name='AstrometricNGoodObsAl', full_name='dfs.ephem.Gaia3Record.AstrometricNGoodObsAl', 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='AstrometricNBadObsAl', full_name='dfs.ephem.Gaia2Record.AstrometricNBadObsAl', index=28,
name='AstrometricNBadObsAl', full_name='dfs.ephem.Gaia3Record.AstrometricNBadObsAl', 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='AstrometricGofAl', full_name='dfs.ephem.Gaia2Record.AstrometricGofAl', index=29,
name='AstrometricGofAl', full_name='dfs.ephem.Gaia3Record.AstrometricGofAl', index=29,
number=30, 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.Gaia2Record.AstrometricChi2Al', index=30,
name='AstrometricChi2Al', full_name='dfs.ephem.Gaia3Record.AstrometricChi2Al', index=30,
number=31, 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.Gaia2Record.AstrometricExcessNoise', index=31,
name='AstrometricExcessNoise', full_name='dfs.ephem.Gaia3Record.AstrometricExcessNoise', 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='AstrometricExcessNoiseSig', full_name='dfs.ephem.Gaia2Record.AstrometricExcessNoiseSig', index=32,
name='AstrometricExcessNoiseSig', full_name='dfs.ephem.Gaia3Record.AstrometricExcessNoiseSig', 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='AstrometricParamsSolved', full_name='dfs.ephem.Gaia2Record.AstrometricParamsSolved', index=33,
name='AstrometricParamsSolved', full_name='dfs.ephem.Gaia3Record.AstrometricParamsSolved', index=33,
number=34, 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.Gaia2Record.AstrometricPrimaryFlag', index=34,
name='AstrometricPrimaryFlag', full_name='dfs.ephem.Gaia3Record.AstrometricPrimaryFlag', index=34,
number=35, 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),
_descriptor.FieldDescriptor(
name='NuEffUsedInAstrometry', full_name='dfs.ephem.Gaia2Record.NuEffUsedInAstrometry', index=35,
name='NuEffUsedInAstrometry', full_name='dfs.ephem.Gaia3Record.NuEffUsedInAstrometry', index=35,
number=36, 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.Gaia2Record.Pseudocolour', index=36,
name='Pseudocolour', full_name='dfs.ephem.Gaia3Record.Pseudocolour', index=36,
number=37, 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.Gaia2Record.PseudocolourError', index=37,
name='PseudocolourError', full_name='dfs.ephem.Gaia3Record.PseudocolourError', 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='RaPseudocolourCorr', full_name='dfs.ephem.Gaia2Record.RaPseudocolourCorr', index=38,
name='RaPseudocolourCorr', full_name='dfs.ephem.Gaia3Record.RaPseudocolourCorr', 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='DecPseudocolourCorr', full_name='dfs.ephem.Gaia2Record.DecPseudocolourCorr', index=39,
name='DecPseudocolourCorr', full_name='dfs.ephem.Gaia3Record.DecPseudocolourCorr', 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='ParallaxPseudocolourCorr', full_name='dfs.ephem.Gaia2Record.ParallaxPseudocolourCorr', index=40,
name='ParallaxPseudocolourCorr', full_name='dfs.ephem.Gaia3Record.ParallaxPseudocolourCorr', 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='PmraPseudocolourCorr', full_name='dfs.ephem.Gaia2Record.PmraPseudocolourCorr', index=41,
name='PmraPseudocolourCorr', full_name='dfs.ephem.Gaia3Record.PmraPseudocolourCorr', 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='PmdecPseudocolourCorr', full_name='dfs.ephem.Gaia2Record.PmdecPseudocolourCorr', index=42,
name='PmdecPseudocolourCorr', full_name='dfs.ephem.Gaia3Record.PmdecPseudocolourCorr', 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='AstrometricMatchedTransits', full_name='dfs.ephem.Gaia2Record.AstrometricMatchedTransits', index=43,
name='AstrometricMatchedTransits', full_name='dfs.ephem.Gaia3Record.AstrometricMatchedTransits', index=43,
number=44, 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.Gaia2Record.VisibilityPeriodsUsed', index=44,
name='VisibilityPeriodsUsed', full_name='dfs.ephem.Gaia3Record.VisibilityPeriodsUsed', index=44,
number=45, 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.Gaia2Record.AstrometricSigma5dMax', index=45,
name='AstrometricSigma5dMax', full_name='dfs.ephem.Gaia3Record.AstrometricSigma5dMax', index=45,
number=46, 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.Gaia2Record.MatchedTransits', index=46,
name='MatchedTransits', full_name='dfs.ephem.Gaia3Record.MatchedTransits', 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='NewMatchedTransits', full_name='dfs.ephem.Gaia2Record.NewMatchedTransits', index=47,
name='NewMatchedTransits', full_name='dfs.ephem.Gaia3Record.NewMatchedTransits', index=47,
number=48, 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.Gaia2Record.MatchedTransitsRemoved', index=48,
name='MatchedTransitsRemoved', full_name='dfs.ephem.Gaia3Record.MatchedTransitsRemoved', 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='IpdGofHarmonicAmplitude', full_name='dfs.ephem.Gaia2Record.IpdGofHarmonicAmplitude', index=49,
name='IpdGofHarmonicAmplitude', full_name='dfs.ephem.Gaia3Record.IpdGofHarmonicAmplitude', index=49,
number=50, 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.Gaia2Record.IpdGofHarmonicPhase', index=50,
name='IpdGofHarmonicPhase', full_name='dfs.ephem.Gaia3Record.IpdGofHarmonicPhase', index=50,
number=51, 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.Gaia2Record.IpdFracMultiPeak', index=51,
name='IpdFracMultiPeak', full_name='dfs.ephem.Gaia3Record.IpdFracMultiPeak', index=51,
number=52, 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.Gaia2Record.IpdFracOddWin', index=52,
name='IpdFracOddWin', full_name='dfs.ephem.Gaia3Record.IpdFracOddWin', index=52,
number=53, 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.Gaia2Record.Ruwe', index=53,
name='Ruwe', full_name='dfs.ephem.Gaia3Record.Ruwe', index=53,
number=54, 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.Gaia2Record.ScanDirectionStrengthK1', index=54,
name='ScanDirectionStrengthK1', full_name='dfs.ephem.Gaia3Record.ScanDirectionStrengthK1', index=54,
number=55, 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.Gaia2Record.ScanDirectionStrengthK2', index=55,
name='ScanDirectionStrengthK2', full_name='dfs.ephem.Gaia3Record.ScanDirectionStrengthK2', 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='ScanDirectionStrengthK3', full_name='dfs.ephem.Gaia2Record.ScanDirectionStrengthK3', index=56,
name='ScanDirectionStrengthK3', full_name='dfs.ephem.Gaia3Record.ScanDirectionStrengthK3', 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='ScanDirectionStrengthK4', full_name='dfs.ephem.Gaia2Record.ScanDirectionStrengthK4', index=57,
name='ScanDirectionStrengthK4', full_name='dfs.ephem.Gaia3Record.ScanDirectionStrengthK4', 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='ScanDirectionMeanK1', full_name='dfs.ephem.Gaia2Record.ScanDirectionMeanK1', index=58,
name='ScanDirectionMeanK1', full_name='dfs.ephem.Gaia3Record.ScanDirectionMeanK1', 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='ScanDirectionMeanK2', full_name='dfs.ephem.Gaia2Record.ScanDirectionMeanK2', index=59,
name='ScanDirectionMeanK2', full_name='dfs.ephem.Gaia3Record.ScanDirectionMeanK2', 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='ScanDirectionMeanK3', full_name='dfs.ephem.Gaia2Record.ScanDirectionMeanK3', index=60,
name='ScanDirectionMeanK3', full_name='dfs.ephem.Gaia3Record.ScanDirectionMeanK3', 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='ScanDirectionMeanK4', full_name='dfs.ephem.Gaia2Record.ScanDirectionMeanK4', index=61,
name='ScanDirectionMeanK4', full_name='dfs.ephem.Gaia3Record.ScanDirectionMeanK4', 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='DuplicatedSource', full_name='dfs.ephem.Gaia2Record.DuplicatedSource', index=62,
name='DuplicatedSource', full_name='dfs.ephem.Gaia3Record.DuplicatedSource', index=62,
number=63, 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),
_descriptor.FieldDescriptor(
name='PhotGNObs', full_name='dfs.ephem.Gaia2Record.PhotGNObs', index=63,
name='PhotGNObs', full_name='dfs.ephem.Gaia3Record.PhotGNObs', index=63,
number=64, 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.Gaia2Record.PhotGMeanFlux', index=64,
name='PhotGMeanFlux', full_name='dfs.ephem.Gaia3Record.PhotGMeanFlux', index=64,
number=65, 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.Gaia2Record.PhotGMeanFluxError', index=65,
name='PhotGMeanFluxError', full_name='dfs.ephem.Gaia3Record.PhotGMeanFluxError', index=65,
number=66, 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.Gaia2Record.PhotGMeanFluxOverError', index=66,
name='PhotGMeanFluxOverError', full_name='dfs.ephem.Gaia3Record.PhotGMeanFluxOverError', 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='PhotGMeanMag', full_name='dfs.ephem.Gaia2Record.PhotGMeanMag', index=67,
name='PhotGMeanMag', full_name='dfs.ephem.Gaia3Record.PhotGMeanMag', 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='PhotBpNObs', full_name='dfs.ephem.Gaia2Record.PhotBpNObs', index=68,
name='PhotBpNObs', full_name='dfs.ephem.Gaia3Record.PhotBpNObs', index=68,
number=69, 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.Gaia2Record.PhotBpMeanFlux', index=69,
name='PhotBpMeanFlux', full_name='dfs.ephem.Gaia3Record.PhotBpMeanFlux', 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='PhotBpMeanFluxError', full_name='dfs.ephem.Gaia2Record.PhotBpMeanFluxError', index=70,
name='PhotBpMeanFluxError', full_name='dfs.ephem.Gaia3Record.PhotBpMeanFluxError', index=70,
number=71, 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.Gaia2Record.PhotBpMeanFluxOverError', index=71,
name='PhotBpMeanFluxOverError', full_name='dfs.ephem.Gaia3Record.PhotBpMeanFluxOverError', 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='PhotBpMeanMag', full_name='dfs.ephem.Gaia2Record.PhotBpMeanMag', index=72,
name='PhotBpMeanMag', full_name='dfs.ephem.Gaia3Record.PhotBpMeanMag', 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='PhotRpNObs', full_name='dfs.ephem.Gaia2Record.PhotRpNObs', index=73,
name='PhotRpNObs', full_name='dfs.ephem.Gaia3Record.PhotRpNObs', index=73,
number=74, 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.Gaia2Record.PhotRpMeanFlux', index=74,
name='PhotRpMeanFlux', full_name='dfs.ephem.Gaia3Record.PhotRpMeanFlux', 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='PhotRpMeanFluxError', full_name='dfs.ephem.Gaia2Record.PhotRpMeanFluxError', index=75,
name='PhotRpMeanFluxError', full_name='dfs.ephem.Gaia3Record.PhotRpMeanFluxError', index=75,
number=76, 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.Gaia2Record.PhotRpMeanFluxOverError', index=76,
name='PhotRpMeanFluxOverError', full_name='dfs.ephem.Gaia3Record.PhotRpMeanFluxOverError', 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='PhotRpMeanMag', full_name='dfs.ephem.Gaia2Record.PhotRpMeanMag', index=77,
name='PhotRpMeanMag', full_name='dfs.ephem.Gaia3Record.PhotRpMeanMag', 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='PhotBpNContaminatedTransits', full_name='dfs.ephem.Gaia2Record.PhotBpNContaminatedTransits', index=78,
name='PhotBpNContaminatedTransits', full_name='dfs.ephem.Gaia3Record.PhotBpNContaminatedTransits', 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='PhotBpNBlendedTransits', full_name='dfs.ephem.Gaia2Record.PhotBpNBlendedTransits', index=79,
name='PhotBpNBlendedTransits', full_name='dfs.ephem.Gaia3Record.PhotBpNBlendedTransits', 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='PhotRpNContaminatedTransits', full_name='dfs.ephem.Gaia2Record.PhotRpNContaminatedTransits', index=80,
name='PhotRpNContaminatedTransits', full_name='dfs.ephem.Gaia3Record.PhotRpNContaminatedTransits', 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='PhotRpNBlendedTransits', full_name='dfs.ephem.Gaia2Record.PhotRpNBlendedTransits', index=81,
name='PhotRpNBlendedTransits', full_name='dfs.ephem.Gaia3Record.PhotRpNBlendedTransits', 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='PhotProcMode', full_name='dfs.ephem.Gaia2Record.PhotProcMode', index=82,
name='PhotProcMode', full_name='dfs.ephem.Gaia3Record.PhotProcMode', 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='PhotBpRpExcessFactor', full_name='dfs.ephem.Gaia2Record.PhotBpRpExcessFactor', index=83,
name='PhotBpRpExcessFactor', full_name='dfs.ephem.Gaia3Record.PhotBpRpExcessFactor', 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='BpRp', full_name='dfs.ephem.Gaia2Record.BpRp', index=84,
name='BpRp', full_name='dfs.ephem.Gaia3Record.BpRp', 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='BpG', full_name='dfs.ephem.Gaia2Record.BpG', index=85,
name='BpG', full_name='dfs.ephem.Gaia3Record.BpG', 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='GRp', full_name='dfs.ephem.Gaia2Record.GRp', index=86,
name='GRp', full_name='dfs.ephem.Gaia3Record.GRp', 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='Dr2RadialVelocity', full_name='dfs.ephem.Gaia2Record.Dr2RadialVelocity', index=87,
name='Dr2RadialVelocity', full_name='dfs.ephem.Gaia3Record.Dr2RadialVelocity', 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='Dr2RadialVelocityError', full_name='dfs.ephem.Gaia2Record.Dr2RadialVelocityError', index=88,
name='Dr2RadialVelocityError', full_name='dfs.ephem.Gaia3Record.Dr2RadialVelocityError', 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='Dr2RvNbTransits', full_name='dfs.ephem.Gaia2Record.Dr2RvNbTransits', index=89,
name='Dr2RvNbTransits', full_name='dfs.ephem.Gaia3Record.Dr2RvNbTransits', index=89,
number=90, 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='Dr2RvTemplateTeff', full_name='dfs.ephem.Gaia2Record.Dr2RvTemplateTeff', index=90,
name='Dr2RvTemplateTeff', full_name='dfs.ephem.Gaia3Record.Dr2RvTemplateTeff', 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='Dr2RvTemplateLogg', full_name='dfs.ephem.Gaia2Record.Dr2RvTemplateLogg', index=91,
name='Dr2RvTemplateLogg', full_name='dfs.ephem.Gaia3Record.Dr2RvTemplateLogg', 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='Dr2RvTemplateFeH', full_name='dfs.ephem.Gaia2Record.Dr2RvTemplateFeH', index=92,
name='Dr2RvTemplateFeH', full_name='dfs.ephem.Gaia3Record.Dr2RvTemplateFeH', 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='L', full_name='dfs.ephem.Gaia2Record.L', index=93,
name='L', full_name='dfs.ephem.Gaia3Record.L', 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='B', full_name='dfs.ephem.Gaia2Record.B', index=94,
name='B', full_name='dfs.ephem.Gaia3Record.B', 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='EclLon', full_name='dfs.ephem.Gaia2Record.EclLon', index=95,
name='EclLon', full_name='dfs.ephem.Gaia3Record.EclLon', 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='EclLat', full_name='dfs.ephem.Gaia2Record.EclLat', index=96,
name='EclLat', full_name='dfs.ephem.Gaia3Record.EclLat', 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='NS8HIdx', full_name='dfs.ephem.Gaia2Record.NS8HIdx', index=97,
name='NS8HIdx', full_name='dfs.ephem.Gaia3Record.NS8HIdx', index=97,
number=98, 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.Gaia2Record.NS16HIdx', index=98,
name='NS16HIdx', full_name='dfs.ephem.Gaia3Record.NS16HIdx', index=98,
number=99, 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.Gaia2Record.NS32HIdx', index=99,
name='NS32HIdx', full_name='dfs.ephem.Gaia3Record.NS32HIdx', index=99,
number=100, 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.Gaia2Record.NS64HIdx', index=100,
name='NS64HIdx', full_name='dfs.ephem.Gaia3Record.NS64HIdx', index=100,
number=101, type=5, cpp_type=1, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
......@@ -788,35 +788,28 @@ _EPHEMSEARCHREQUEST = _descriptor.Descriptor(
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='mag', full_name='dfs.ephem.EphemSearchRequest.mag', 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='minMag', full_name='dfs.ephem.EphemSearchRequest.minMag', index=4,
name='minMag', full_name='dfs.ephem.EphemSearchRequest.minMag', index=3,
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,
name='maxMag', full_name='dfs.ephem.EphemSearchRequest.maxMag', index=4,
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,
name='obstime', full_name='dfs.ephem.EphemSearchRequest.obstime', index=5,
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,
name='limit', full_name='dfs.ephem.EphemSearchRequest.limit', index=6,
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,
......@@ -834,41 +827,41 @@ _EPHEMSEARCHREQUEST = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=2584,
serialized_end=2722,
serialized_start=2583,
serialized_end=2708,
)
_GAIA2SEARCHRESPONSE = _descriptor.Descriptor(
name='Gaia2SearchResponse',
full_name='dfs.ephem.Gaia2SearchResponse',
_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.Gaia2SearchResponse.success', index=0,
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.Gaia2SearchResponse.totalCount', index=1,
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.Gaia2SearchResponse.error', index=2,
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.Gaia2SearchResponse.records', index=3,
name='records', full_name='dfs.ephem.Gaia3SearchResponse.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,
......@@ -886,23 +879,23 @@ _GAIA2SEARCHRESPONSE = _descriptor.Descriptor(
extension_ranges=[],
oneofs=[
],
serialized_start=2725,
serialized_end=2854,
serialized_start=2711,
serialized_end=2840,
)
_GAIA2SEARCHRESPONSE.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_GAIA2SEARCHRESPONSE.fields_by_name['records'].message_type = _GAIA2RECORD
DESCRIPTOR.message_types_by_name['Gaia2Record'] = _GAIA2RECORD
_GAIA3SEARCHRESPONSE.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_GAIA3SEARCHRESPONSE.fields_by_name['records'].message_type = _GAIA3RECORD
DESCRIPTOR.message_types_by_name['Gaia3Record'] = _GAIA3RECORD
DESCRIPTOR.message_types_by_name['EphemSearchRequest'] = _EPHEMSEARCHREQUEST
DESCRIPTOR.message_types_by_name['Gaia2SearchResponse'] = _GAIA2SEARCHRESPONSE
DESCRIPTOR.message_types_by_name['Gaia3SearchResponse'] = _GAIA3SEARCHRESPONSE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Gaia2Record = _reflection.GeneratedProtocolMessageType('Gaia2Record', (_message.Message,), {
'DESCRIPTOR' : _GAIA2RECORD,
Gaia3Record = _reflection.GeneratedProtocolMessageType('Gaia3Record', (_message.Message,), {
'DESCRIPTOR' : _GAIA3RECORD,
'__module__' : 'common.ephem.ephem_pb2'
# @@protoc_insertion_point(class_scope:dfs.ephem.Gaia2Record)
# @@protoc_insertion_point(class_scope:dfs.ephem.Gaia3Record)
})
_sym_db.RegisterMessage(Gaia2Record)
_sym_db.RegisterMessage(Gaia3Record)
EphemSearchRequest = _reflection.GeneratedProtocolMessageType('EphemSearchRequest', (_message.Message,), {
'DESCRIPTOR' : _EPHEMSEARCHREQUEST,
......@@ -911,12 +904,12 @@ EphemSearchRequest = _reflection.GeneratedProtocolMessageType('EphemSearchReques
})
_sym_db.RegisterMessage(EphemSearchRequest)
Gaia2SearchResponse = _reflection.GeneratedProtocolMessageType('Gaia2SearchResponse', (_message.Message,), {
'DESCRIPTOR' : _GAIA2SEARCHRESPONSE,
Gaia3SearchResponse = _reflection.GeneratedProtocolMessageType('Gaia3SearchResponse', (_message.Message,), {
'DESCRIPTOR' : _GAIA3SEARCHRESPONSE,
'__module__' : 'common.ephem.ephem_pb2'
# @@protoc_insertion_point(class_scope:dfs.ephem.Gaia2SearchResponse)
# @@protoc_insertion_point(class_scope:dfs.ephem.Gaia3SearchResponse)
})
_sym_db.RegisterMessage(Gaia2SearchResponse)
_sym_db.RegisterMessage(Gaia3SearchResponse)
DESCRIPTOR._options = None
......@@ -927,16 +920,16 @@ _EPHEMSEARCHSRV = _descriptor.ServiceDescriptor(
file=DESCRIPTOR,
index=0,
serialized_options=None,
serialized_start=2856,
serialized_end=2952,
serialized_start=2842,
serialized_end=2938,
methods=[
_descriptor.MethodDescriptor(
name='Gaia2Search',
full_name='dfs.ephem.EphemSearchSrv.Gaia2Search',
name='Gaia3Search',
full_name='dfs.ephem.EphemSearchSrv.Gaia3Search',
index=0,
containing_service=None,
input_type=_EPHEMSEARCHREQUEST,
output_type=_GAIA2SEARCHRESPONSE,
output_type=_GAIA3SEARCHRESPONSE,
serialized_options=None,
),
])
......
......@@ -14,10 +14,10 @@ class EphemSearchSrvStub(object):
Args:
channel: A grpc.Channel.
"""
self.Gaia2Search = channel.unary_unary(
'/dfs.ephem.EphemSearchSrv/Gaia2Search',
self.Gaia3Search = channel.unary_unary(
'/dfs.ephem.EphemSearchSrv/Gaia3Search',
request_serializer=common_dot_ephem_dot_ephem__pb2.EphemSearchRequest.SerializeToString,
response_deserializer=common_dot_ephem_dot_ephem__pb2.Gaia2SearchResponse.FromString,
response_deserializer=common_dot_ephem_dot_ephem__pb2.Gaia3SearchResponse.FromString,
)
......@@ -25,7 +25,7 @@ class EphemSearchSrvServicer(object):
# missing associated documentation comment in .proto file
pass
def Gaia2Search(self, request, context):
def Gaia3Search(self, request, context):
# missing associated documentation comment in .proto file
pass
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
......@@ -35,10 +35,10 @@ class EphemSearchSrvServicer(object):
def add_EphemSearchSrvServicer_to_server(servicer, server):
rpc_method_handlers = {
'Gaia2Search': grpc.unary_unary_rpc_method_handler(
servicer.Gaia2Search,
'Gaia3Search': grpc.unary_unary_rpc_method_handler(
servicer.Gaia3Search,
request_deserializer=common_dot_ephem_dot_ephem__pb2.EphemSearchRequest.FromString,
response_serializer=common_dot_ephem_dot_ephem__pb2.Gaia2SearchResponse.SerializeToString,
response_serializer=common_dot_ephem_dot_ephem__pb2.Gaia3SearchResponse.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
......
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: facility/detector.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()
from ..common import error_pb2 as common_dot_error__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='facility/detector.proto',
package='facility',
syntax='proto3',
serialized_options=_b('Z\035cnlab.net/csst/proto/facility'),
serialized_pb=_b('\n\x17\x66\x61\x63ility/detector.proto\x12\x08\x66\x61\x63ility\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(\x03\x12\x13\n\x0bupdate_time\x18\x06 \x01(\x03\"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(\x03\x12\x13\n\x0b\x63reate_time\x18\x05 \x01(\x03\"1\n\x0f\x46indDetectorReq\x12\x11\n\tmodule_id\x18\x01 \x01(\t\x12\x0b\n\x03key\x18\x02 \x01(\t\"{\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$\n\x08\x44\x65tector\x18\x04 \x03(\x0b\x32\x12.facility.Detector\"\x1c\n\x0eGetDetectorReq\x12\n\n\x02no\x18\x01 \x01(\t\"7\n\x0fGetDetectorResp\x12$\n\x08\x44\x65tector\x18\x01 \x01(\x0b\x32\x12.facility.Detector\"[\n\x10WriteDetectorReq\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\"h\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\x08\x44\x65tector\x18\x03 \x01(\x0b\x32\x12.facility.Detector\"\\\n\x11UpdateDetectorReq\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\"C\n\x12UpdateDetectorResp\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(\x03\x12\x17\n\x0fstatus_end_time\x18\x03 \x01(\x03\x12\r\n\x05limit\x18\x04 \x01(\x05\"~\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)\n\x07records\x18\x04 \x03(\x0b\x32\x18.facility.DetectorStatus\"!\n\x0cGetStatusReq\x12\x11\n\tstatus_id\x18\x01 \x01(\x03\"9\n\rGetStatusResp\x12(\n\x06record\x18\x01 \x01(\x0b\x32\x18.facility.DetectorStatus\"J\n\x0eWriteStatusReq\x12\x13\n\x0b\x64\x65tector_no\x18\x01 \x01(\t\x12\x0e\n\x06status\x18\x02 \x01(\t\x12\x13\n\x0bstatus_time\x18\x03 \x01(\x03\"j\n\x0fWriteStatusResp\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\x18.facility.DetectorStatus2\xe0\x03\n\x0b\x44\x65tectorSrv\x12?\n\x04\x46ind\x12\x19.facility.FindDetectorReq\x1a\x1a.facility.FindDetectorResp\"\x00\x12<\n\x03Get\x12\x18.facility.GetDetectorReq\x1a\x19.facility.GetDetectorResp\"\x00\x12\x42\n\x05Write\x12\x1a.facility.WriteDetectorReq\x1a\x1b.facility.WriteDetectorResp\"\x00\x12\x45\n\x06Update\x12\x1b.facility.UpdateDetectorReq\x1a\x1c.facility.UpdateDetectorResp\"\x00\x12\x41\n\nFindStatus\x12\x17.facility.FindStatusReq\x1a\x18.facility.FindStatusResp\"\x00\x12>\n\tGetStatus\x12\x16.facility.GetStatusReq\x1a\x17.facility.GetStatusResp\"\x00\x12\x44\n\x0bWriteStatus\x12\x18.facility.WriteStatusReq\x1a\x19.facility.WriteStatusResp\"\x00\x42\x1fZ\x1d\x63nlab.net/csst/proto/facilityb\x06proto3')
,
dependencies=[common_dot_error__pb2.DESCRIPTOR,])
_DETECTOR = _descriptor.Descriptor(
name='Detector',
full_name='facility.Detector',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='no', full_name='facility.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='facility.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='facility.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='facility.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='facility.Detector.create_time', index=4,
number=5, 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='update_time', full_name='facility.Detector.update_time', index=5,
number=6, 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=57,
serialized_end=182,
)
_DETECTORSTATUS = _descriptor.Descriptor(
name='DetectorStatus',
full_name='facility.DetectorStatus',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='facility.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='facility.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='facility.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='facility.DetectorStatus.status_time', 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='create_time', full_name='facility.DetectorStatus.create_time', index=4,
number=5, 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=184,
serialized_end=291,
)
_FINDDETECTORREQ = _descriptor.Descriptor(
name='FindDetectorReq',
full_name='facility.FindDetectorReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='module_id', full_name='facility.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='facility.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=293,
serialized_end=342,
)
_FINDDETECTORRESP = _descriptor.Descriptor(
name='FindDetectorResp',
full_name='facility.FindDetectorResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='facility.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='facility.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='facility.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='Detector', full_name='facility.FindDetectorResp.Detector', 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=344,
serialized_end=467,
)
_GETDETECTORREQ = _descriptor.Descriptor(
name='GetDetectorReq',
full_name='facility.GetDetectorReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='no', full_name='facility.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=469,
serialized_end=497,
)
_GETDETECTORRESP = _descriptor.Descriptor(
name='GetDetectorResp',
full_name='facility.GetDetectorResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='Detector', full_name='facility.GetDetectorResp.Detector', 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=499,
serialized_end=554,
)
_WRITEDETECTORREQ = _descriptor.Descriptor(
name='WriteDetectorReq',
full_name='facility.WriteDetectorReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='no', full_name='facility.WriteDetectorReq.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='facility.WriteDetectorReq.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='facility.WriteDetectorReq.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='facility.WriteDetectorReq.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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=556,
serialized_end=647,
)
_WRITEDETECTORRESP = _descriptor.Descriptor(
name='WriteDetectorResp',
full_name='facility.WriteDetectorResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='facility.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='facility.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='Detector', full_name='facility.WriteDetectorResp.Detector', 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=649,
serialized_end=753,
)
_UPDATEDETECTORREQ = _descriptor.Descriptor(
name='UpdateDetectorReq',
full_name='facility.UpdateDetectorReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='no', full_name='facility.UpdateDetectorReq.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='facility.UpdateDetectorReq.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='facility.UpdateDetectorReq.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='facility.UpdateDetectorReq.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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=755,
serialized_end=847,
)
_UPDATEDETECTORRESP = _descriptor.Descriptor(
name='UpdateDetectorResp',
full_name='facility.UpdateDetectorResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='facility.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='facility.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=849,
serialized_end=916,
)
_FINDSTATUSREQ = _descriptor.Descriptor(
name='FindStatusReq',
full_name='facility.FindStatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='detector_no', full_name='facility.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='facility.FindStatusReq.status_begin_time', 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='status_end_time', full_name='facility.FindStatusReq.status_end_time', 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='limit', full_name='facility.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=918,
serialized_end=1021,
)
_FINDSTATUSRESP = _descriptor.Descriptor(
name='FindStatusResp',
full_name='facility.FindStatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='facility.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='facility.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='facility.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='facility.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=1023,
serialized_end=1149,
)
_GETSTATUSREQ = _descriptor.Descriptor(
name='GetStatusReq',
full_name='facility.GetStatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='status_id', full_name='facility.GetStatusReq.status_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=1151,
serialized_end=1184,
)
_GETSTATUSRESP = _descriptor.Descriptor(
name='GetStatusResp',
full_name='facility.GetStatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='record', full_name='facility.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=1186,
serialized_end=1243,
)
_WRITESTATUSREQ = _descriptor.Descriptor(
name='WriteStatusReq',
full_name='facility.WriteStatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='detector_no', full_name='facility.WriteStatusReq.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', full_name='facility.WriteStatusReq.status', 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_time', full_name='facility.WriteStatusReq.status_time', 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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=1245,
serialized_end=1319,
)
_WRITESTATUSRESP = _descriptor.Descriptor(
name='WriteStatusResp',
full_name='facility.WriteStatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='facility.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='facility.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='facility.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=1321,
serialized_end=1427,
)
_FINDDETECTORRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_FINDDETECTORRESP.fields_by_name['Detector'].message_type = _DETECTOR
_GETDETECTORRESP.fields_by_name['Detector'].message_type = _DETECTOR
_WRITEDETECTORRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_WRITEDETECTORRESP.fields_by_name['Detector'].message_type = _DETECTOR
_UPDATEDETECTORRESP.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
_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['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_pb2'
# @@protoc_insertion_point(class_scope:facility.Detector)
})
_sym_db.RegisterMessage(Detector)
DetectorStatus = _reflection.GeneratedProtocolMessageType('DetectorStatus', (_message.Message,), {
'DESCRIPTOR' : _DETECTORSTATUS,
'__module__' : 'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:facility.DetectorStatus)
})
_sym_db.RegisterMessage(DetectorStatus)
FindDetectorReq = _reflection.GeneratedProtocolMessageType('FindDetectorReq', (_message.Message,), {
'DESCRIPTOR' : _FINDDETECTORREQ,
'__module__' : 'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:facility.FindDetectorReq)
})
_sym_db.RegisterMessage(FindDetectorReq)
FindDetectorResp = _reflection.GeneratedProtocolMessageType('FindDetectorResp', (_message.Message,), {
'DESCRIPTOR' : _FINDDETECTORRESP,
'__module__' : 'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:facility.FindDetectorResp)
})
_sym_db.RegisterMessage(FindDetectorResp)
GetDetectorReq = _reflection.GeneratedProtocolMessageType('GetDetectorReq', (_message.Message,), {
'DESCRIPTOR' : _GETDETECTORREQ,
'__module__' : 'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:facility.GetDetectorReq)
})
_sym_db.RegisterMessage(GetDetectorReq)
GetDetectorResp = _reflection.GeneratedProtocolMessageType('GetDetectorResp', (_message.Message,), {
'DESCRIPTOR' : _GETDETECTORRESP,
'__module__' : 'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:facility.GetDetectorResp)
})
_sym_db.RegisterMessage(GetDetectorResp)
WriteDetectorReq = _reflection.GeneratedProtocolMessageType('WriteDetectorReq', (_message.Message,), {
'DESCRIPTOR' : _WRITEDETECTORREQ,
'__module__' : 'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:facility.WriteDetectorReq)
})
_sym_db.RegisterMessage(WriteDetectorReq)
WriteDetectorResp = _reflection.GeneratedProtocolMessageType('WriteDetectorResp', (_message.Message,), {
'DESCRIPTOR' : _WRITEDETECTORRESP,
'__module__' : 'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:facility.WriteDetectorResp)
})
_sym_db.RegisterMessage(WriteDetectorResp)
UpdateDetectorReq = _reflection.GeneratedProtocolMessageType('UpdateDetectorReq', (_message.Message,), {
'DESCRIPTOR' : _UPDATEDETECTORREQ,
'__module__' : 'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:facility.UpdateDetectorReq)
})
_sym_db.RegisterMessage(UpdateDetectorReq)
UpdateDetectorResp = _reflection.GeneratedProtocolMessageType('UpdateDetectorResp', (_message.Message,), {
'DESCRIPTOR' : _UPDATEDETECTORRESP,
'__module__' : 'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:facility.UpdateDetectorResp)
})
_sym_db.RegisterMessage(UpdateDetectorResp)
FindStatusReq = _reflection.GeneratedProtocolMessageType('FindStatusReq', (_message.Message,), {
'DESCRIPTOR' : _FINDSTATUSREQ,
'__module__' : 'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:facility.FindStatusReq)
})
_sym_db.RegisterMessage(FindStatusReq)
FindStatusResp = _reflection.GeneratedProtocolMessageType('FindStatusResp', (_message.Message,), {
'DESCRIPTOR' : _FINDSTATUSRESP,
'__module__' : 'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:facility.FindStatusResp)
})
_sym_db.RegisterMessage(FindStatusResp)
GetStatusReq = _reflection.GeneratedProtocolMessageType('GetStatusReq', (_message.Message,), {
'DESCRIPTOR' : _GETSTATUSREQ,
'__module__' : 'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:facility.GetStatusReq)
})
_sym_db.RegisterMessage(GetStatusReq)
GetStatusResp = _reflection.GeneratedProtocolMessageType('GetStatusResp', (_message.Message,), {
'DESCRIPTOR' : _GETSTATUSRESP,
'__module__' : 'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:facility.GetStatusResp)
})
_sym_db.RegisterMessage(GetStatusResp)
WriteStatusReq = _reflection.GeneratedProtocolMessageType('WriteStatusReq', (_message.Message,), {
'DESCRIPTOR' : _WRITESTATUSREQ,
'__module__' : 'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:facility.WriteStatusReq)
})
_sym_db.RegisterMessage(WriteStatusReq)
WriteStatusResp = _reflection.GeneratedProtocolMessageType('WriteStatusResp', (_message.Message,), {
'DESCRIPTOR' : _WRITESTATUSRESP,
'__module__' : 'facility.detector_pb2'
# @@protoc_insertion_point(class_scope:facility.WriteStatusResp)
})
_sym_db.RegisterMessage(WriteStatusResp)
DESCRIPTOR._options = None
_DETECTORSRV = _descriptor.ServiceDescriptor(
name='DetectorSrv',
full_name='facility.DetectorSrv',
file=DESCRIPTOR,
index=0,
serialized_options=None,
serialized_start=1430,
serialized_end=1910,
methods=[
_descriptor.MethodDescriptor(
name='Find',
full_name='facility.DetectorSrv.Find',
index=0,
containing_service=None,
input_type=_FINDDETECTORREQ,
output_type=_FINDDETECTORRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='Get',
full_name='facility.DetectorSrv.Get',
index=1,
containing_service=None,
input_type=_GETDETECTORREQ,
output_type=_GETDETECTORRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='Write',
full_name='facility.DetectorSrv.Write',
index=2,
containing_service=None,
input_type=_WRITEDETECTORREQ,
output_type=_WRITEDETECTORRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='Update',
full_name='facility.DetectorSrv.Update',
index=3,
containing_service=None,
input_type=_UPDATEDETECTORREQ,
output_type=_UPDATEDETECTORRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='FindStatus',
full_name='facility.DetectorSrv.FindStatus',
index=4,
containing_service=None,
input_type=_FINDSTATUSREQ,
output_type=_FINDSTATUSRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='GetStatus',
full_name='facility.DetectorSrv.GetStatus',
index=5,
containing_service=None,
input_type=_GETSTATUSREQ,
output_type=_GETSTATUSRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='WriteStatus',
full_name='facility.DetectorSrv.WriteStatus',
index=6,
containing_service=None,
input_type=_WRITESTATUSREQ,
output_type=_WRITESTATUSRESP,
serialized_options=None,
),
])
_sym_db.RegisterServiceDescriptor(_DETECTORSRV)
DESCRIPTOR.services_by_name['DetectorSrv'] = _DETECTORSRV
# @@protoc_insertion_point(module_scope)
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from . import detector_pb2 as facility_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(
'/facility.DetectorSrv/Find',
request_serializer=facility_dot_detector__pb2.FindDetectorReq.SerializeToString,
response_deserializer=facility_dot_detector__pb2.FindDetectorResp.FromString,
)
self.Get = channel.unary_unary(
'/facility.DetectorSrv/Get',
request_serializer=facility_dot_detector__pb2.GetDetectorReq.SerializeToString,
response_deserializer=facility_dot_detector__pb2.GetDetectorResp.FromString,
)
self.Write = channel.unary_unary(
'/facility.DetectorSrv/Write',
request_serializer=facility_dot_detector__pb2.WriteDetectorReq.SerializeToString,
response_deserializer=facility_dot_detector__pb2.WriteDetectorResp.FromString,
)
self.Update = channel.unary_unary(
'/facility.DetectorSrv/Update',
request_serializer=facility_dot_detector__pb2.UpdateDetectorReq.SerializeToString,
response_deserializer=facility_dot_detector__pb2.UpdateDetectorResp.FromString,
)
self.FindStatus = channel.unary_unary(
'/facility.DetectorSrv/FindStatus',
request_serializer=facility_dot_detector__pb2.FindStatusReq.SerializeToString,
response_deserializer=facility_dot_detector__pb2.FindStatusResp.FromString,
)
self.GetStatus = channel.unary_unary(
'/facility.DetectorSrv/GetStatus',
request_serializer=facility_dot_detector__pb2.GetStatusReq.SerializeToString,
response_deserializer=facility_dot_detector__pb2.GetStatusResp.FromString,
)
self.WriteStatus = channel.unary_unary(
'/facility.DetectorSrv/WriteStatus',
request_serializer=facility_dot_detector__pb2.WriteStatusReq.SerializeToString,
response_deserializer=facility_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 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!')
def add_DetectorSrvServicer_to_server(servicer, server):
rpc_method_handlers = {
'Find': grpc.unary_unary_rpc_method_handler(
servicer.Find,
request_deserializer=facility_dot_detector__pb2.FindDetectorReq.FromString,
response_serializer=facility_dot_detector__pb2.FindDetectorResp.SerializeToString,
),
'Get': grpc.unary_unary_rpc_method_handler(
servicer.Get,
request_deserializer=facility_dot_detector__pb2.GetDetectorReq.FromString,
response_serializer=facility_dot_detector__pb2.GetDetectorResp.SerializeToString,
),
'Write': grpc.unary_unary_rpc_method_handler(
servicer.Write,
request_deserializer=facility_dot_detector__pb2.WriteDetectorReq.FromString,
response_serializer=facility_dot_detector__pb2.WriteDetectorResp.SerializeToString,
),
'Update': grpc.unary_unary_rpc_method_handler(
servicer.Update,
request_deserializer=facility_dot_detector__pb2.UpdateDetectorReq.FromString,
response_serializer=facility_dot_detector__pb2.UpdateDetectorResp.SerializeToString,
),
'FindStatus': grpc.unary_unary_rpc_method_handler(
servicer.FindStatus,
request_deserializer=facility_dot_detector__pb2.FindStatusReq.FromString,
response_serializer=facility_dot_detector__pb2.FindStatusResp.SerializeToString,
),
'GetStatus': grpc.unary_unary_rpc_method_handler(
servicer.GetStatus,
request_deserializer=facility_dot_detector__pb2.GetStatusReq.FromString,
response_serializer=facility_dot_detector__pb2.GetStatusResp.SerializeToString,
),
'WriteStatus': grpc.unary_unary_rpc_method_handler(
servicer.WriteStatus,
request_deserializer=facility_dot_detector__pb2.WriteStatusReq.FromString,
response_serializer=facility_dot_detector__pb2.WriteStatusResp.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'facility.DetectorSrv', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: facility/exposure.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()
from ..common import error_pb2 as common_dot_error__pb2
DESCRIPTOR = _descriptor.FileDescriptor(
name='facility/exposure.proto',
package='facility',
syntax='proto3',
serialized_options=_b('Z\035cnlab.net/csst/proto/facility'),
serialized_pb=_b('\n\x17\x66\x61\x63ility/exposure.proto\x12\x08\x66\x61\x63ility\x1a\x12\x63ommon/error.proto\"\x80\x02\n\x08\x45xposure\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x16\n\x0e\x65xp_begin_time\x18\x02 \x01(\x03\x12\x14\n\x0c\x65xp_end_time\x18\x03 \x01(\x03\x12\x11\n\tmodule_id\x18\x04 \x01(\t\x12\x10\n\x08obs_type\x18\x05 \x01(\t\x12\x1a\n\x12\x66\x61\x63ility_status_id\x18\x06 \x01(\x03\x12\x18\n\x10module_status_id\x18\x07 \x01(\x03\x12\x12\n\nqc0_status\x18\x08 \x01(\r\x12\x10\n\x08qc0_time\x18\t \x01(\x03\x12\x12\n\nprc_status\x18\n \x01(\r\x12\x10\n\x08prc_time\x18\x0b \x01(\x03\x12\x13\n\x0b\x63reate_time\x18\x0c \x01(\x03\"\xa1\x02\n\x0f\x46indExposureReq\x12\x11\n\tmodule_id\x18\x01 \x01(\t\x12\x10\n\x08obs_type\x18\x02 \x01(\t\x12\x11\n\tfile_name\x18\x03 \x01(\t\x12\x16\n\x0e\x65xp_time_start\x18\x04 \x01(\t\x12\x14\n\x0c\x65xp_time_end\x18\x05 \x01(\t\x12\x12\n\nqc0_status\x18\x06 \x01(\r\x12\x12\n\nprc_status\x18\x07 \x01(\r\x12H\n\x10other_conditions\x18\x08 \x03(\x0b\x32..facility.FindExposureReq.OtherConditionsEntry\x1a\x36\n\x14OtherConditionsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"{\n\x10\x46indExposureResp\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\x08\x45xposure\x18\x04 \x03(\x0b\x32\x12.facility.Exposure\" \n\x0eGetExposureReq\x12\x0e\n\x06obs_id\x18\x01 \x01(\x03\"7\n\x0fGetExposureResp\x12$\n\x08\x45xposure\x18\x01 \x01(\x0b\x32\x12.facility.Exposure\"\xa7\x01\n\x10WriteExposureReq\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x16\n\x0e\x65xp_begin_time\x18\x02 \x01(\x03\x12\x14\n\x0c\x65xp_end_time\x18\x03 \x01(\x03\x12\x11\n\tmodule_id\x18\x04 \x01(\t\x12\x10\n\x08obs_type\x18\x05 \x01(\t\x12\x1a\n\x12\x66\x61\x63ility_status_id\x18\x06 \x01(\x03\x12\x18\n\x10module_status_id\x18\x07 \x01(\x03\"h\n\x11WriteExposureResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12$\n\x08\x65xposure\x18\x03 \x01(\x0b\x32\x12.facility.Exposure\"4\n\x12UpdateQc0StatusReq\x12\x0e\n\x06obs_id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\r\"D\n\x13UpdateQc0StatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\"5\n\x13UpdateProcStatusReq\x12\x0e\n\x06obs_id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\r\"E\n\x14UpdateProcStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xf9\x02\n\x0b\x45xposureSrv\x12?\n\x04\x46ind\x12\x19.facility.FindExposureReq\x1a\x1a.facility.FindExposureResp\"\x00\x12<\n\x03Get\x12\x18.facility.GetExposureReq\x1a\x19.facility.GetExposureResp\"\x00\x12\x44\n\x05Write\x12\x1a.facility.WriteExposureReq\x1a\x1b.facility.WriteExposureResp\"\x00(\x01\x12P\n\x0fUpdateQc0Status\x12\x1c.facility.UpdateQc0StatusReq\x1a\x1d.facility.UpdateQc0StatusResp\"\x00\x12S\n\x10UpdateProcStatus\x12\x1d.facility.UpdateProcStatusReq\x1a\x1e.facility.UpdateProcStatusResp\"\x00\x42\x1fZ\x1d\x63nlab.net/csst/proto/facilityb\x06proto3')
,
dependencies=[common_dot_error__pb2.DESCRIPTOR,])
_EXPOSURE = _descriptor.Descriptor(
name='Exposure',
full_name='facility.Exposure',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='facility.Exposure.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='exp_begin_time', full_name='facility.Exposure.exp_begin_time', 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='exp_end_time', full_name='facility.Exposure.exp_end_time', 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='module_id', full_name='facility.Exposure.module_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='obs_type', full_name='facility.Exposure.obs_type', 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='facility_status_id', full_name='facility.Exposure.facility_status_id', index=5,
number=6, 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='facility.Exposure.module_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='qc0_status', full_name='facility.Exposure.qc0_status', index=7,
number=8, 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),
_descriptor.FieldDescriptor(
name='qc0_time', full_name='facility.Exposure.qc0_time', index=8,
number=9, 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='facility.Exposure.prc_status', index=9,
number=10, 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),
_descriptor.FieldDescriptor(
name='prc_time', full_name='facility.Exposure.prc_time', index=10,
number=11, 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='create_time', full_name='facility.Exposure.create_time', index=11,
number=12, 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=58,
serialized_end=314,
)
_FINDEXPOSUREREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
name='OtherConditionsEntry',
full_name='facility.FindExposureReq.OtherConditionsEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='facility.FindExposureReq.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='facility.FindExposureReq.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=552,
serialized_end=606,
)
_FINDEXPOSUREREQ = _descriptor.Descriptor(
name='FindExposureReq',
full_name='facility.FindExposureReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='module_id', full_name='facility.FindExposureReq.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='facility.FindExposureReq.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='file_name', full_name='facility.FindExposureReq.file_name', 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_start', full_name='facility.FindExposureReq.exp_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='exp_time_end', full_name='facility.FindExposureReq.exp_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='qc0_status', full_name='facility.FindExposureReq.qc0_status', index=5,
number=6, 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),
_descriptor.FieldDescriptor(
name='prc_status', full_name='facility.FindExposureReq.prc_status', index=6,
number=7, 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),
_descriptor.FieldDescriptor(
name='other_conditions', full_name='facility.FindExposureReq.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=[_FINDEXPOSUREREQ_OTHERCONDITIONSENTRY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=317,
serialized_end=606,
)
_FINDEXPOSURERESP = _descriptor.Descriptor(
name='FindExposureResp',
full_name='facility.FindExposureResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='facility.FindExposureResp.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='facility.FindExposureResp.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='facility.FindExposureResp.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='Exposure', full_name='facility.FindExposureResp.Exposure', 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=608,
serialized_end=731,
)
_GETEXPOSUREREQ = _descriptor.Descriptor(
name='GetExposureReq',
full_name='facility.GetExposureReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='obs_id', full_name='facility.GetExposureReq.obs_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=733,
serialized_end=765,
)
_GETEXPOSURERESP = _descriptor.Descriptor(
name='GetExposureResp',
full_name='facility.GetExposureResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='Exposure', full_name='facility.GetExposureResp.Exposure', 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=767,
serialized_end=822,
)
_WRITEEXPOSUREREQ = _descriptor.Descriptor(
name='WriteExposureReq',
full_name='facility.WriteExposureReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='facility.WriteExposureReq.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='exp_begin_time', full_name='facility.WriteExposureReq.exp_begin_time', 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='exp_end_time', full_name='facility.WriteExposureReq.exp_end_time', 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='module_id', full_name='facility.WriteExposureReq.module_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='obs_type', full_name='facility.WriteExposureReq.obs_type', 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='facility_status_id', full_name='facility.WriteExposureReq.facility_status_id', index=5,
number=6, 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='facility.WriteExposureReq.module_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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=825,
serialized_end=992,
)
_WRITEEXPOSURERESP = _descriptor.Descriptor(
name='WriteExposureResp',
full_name='facility.WriteExposureResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='facility.WriteExposureResp.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='facility.WriteExposureResp.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='exposure', full_name='facility.WriteExposureResp.exposure', 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=994,
serialized_end=1098,
)
_UPDATEQC0STATUSREQ = _descriptor.Descriptor(
name='UpdateQc0StatusReq',
full_name='facility.UpdateQc0StatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='obs_id', full_name='facility.UpdateQc0StatusReq.obs_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='facility.UpdateQc0StatusReq.status', 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=1100,
serialized_end=1152,
)
_UPDATEQC0STATUSRESP = _descriptor.Descriptor(
name='UpdateQc0StatusResp',
full_name='facility.UpdateQc0StatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='facility.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='facility.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=1154,
serialized_end=1222,
)
_UPDATEPROCSTATUSREQ = _descriptor.Descriptor(
name='UpdateProcStatusReq',
full_name='facility.UpdateProcStatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='obs_id', full_name='facility.UpdateProcStatusReq.obs_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='facility.UpdateProcStatusReq.status', 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=1224,
serialized_end=1277,
)
_UPDATEPROCSTATUSRESP = _descriptor.Descriptor(
name='UpdateProcStatusResp',
full_name='facility.UpdateProcStatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='facility.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='facility.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=1279,
serialized_end=1348,
)
_FINDEXPOSUREREQ_OTHERCONDITIONSENTRY.containing_type = _FINDEXPOSUREREQ
_FINDEXPOSUREREQ.fields_by_name['other_conditions'].message_type = _FINDEXPOSUREREQ_OTHERCONDITIONSENTRY
_FINDEXPOSURERESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_FINDEXPOSURERESP.fields_by_name['Exposure'].message_type = _EXPOSURE
_GETEXPOSURERESP.fields_by_name['Exposure'].message_type = _EXPOSURE
_WRITEEXPOSURERESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_WRITEEXPOSURERESP.fields_by_name['exposure'].message_type = _EXPOSURE
_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['Exposure'] = _EXPOSURE
DESCRIPTOR.message_types_by_name['FindExposureReq'] = _FINDEXPOSUREREQ
DESCRIPTOR.message_types_by_name['FindExposureResp'] = _FINDEXPOSURERESP
DESCRIPTOR.message_types_by_name['GetExposureReq'] = _GETEXPOSUREREQ
DESCRIPTOR.message_types_by_name['GetExposureResp'] = _GETEXPOSURERESP
DESCRIPTOR.message_types_by_name['WriteExposureReq'] = _WRITEEXPOSUREREQ
DESCRIPTOR.message_types_by_name['WriteExposureResp'] = _WRITEEXPOSURERESP
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)
Exposure = _reflection.GeneratedProtocolMessageType('Exposure', (_message.Message,), {
'DESCRIPTOR' : _EXPOSURE,
'__module__' : 'facility.exposure_pb2'
# @@protoc_insertion_point(class_scope:facility.Exposure)
})
_sym_db.RegisterMessage(Exposure)
FindExposureReq = _reflection.GeneratedProtocolMessageType('FindExposureReq', (_message.Message,), {
'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), {
'DESCRIPTOR' : _FINDEXPOSUREREQ_OTHERCONDITIONSENTRY,
'__module__' : 'facility.exposure_pb2'
# @@protoc_insertion_point(class_scope:facility.FindExposureReq.OtherConditionsEntry)
})
,
'DESCRIPTOR' : _FINDEXPOSUREREQ,
'__module__' : 'facility.exposure_pb2'
# @@protoc_insertion_point(class_scope:facility.FindExposureReq)
})
_sym_db.RegisterMessage(FindExposureReq)
_sym_db.RegisterMessage(FindExposureReq.OtherConditionsEntry)
FindExposureResp = _reflection.GeneratedProtocolMessageType('FindExposureResp', (_message.Message,), {
'DESCRIPTOR' : _FINDEXPOSURERESP,
'__module__' : 'facility.exposure_pb2'
# @@protoc_insertion_point(class_scope:facility.FindExposureResp)
})
_sym_db.RegisterMessage(FindExposureResp)
GetExposureReq = _reflection.GeneratedProtocolMessageType('GetExposureReq', (_message.Message,), {
'DESCRIPTOR' : _GETEXPOSUREREQ,
'__module__' : 'facility.exposure_pb2'
# @@protoc_insertion_point(class_scope:facility.GetExposureReq)
})
_sym_db.RegisterMessage(GetExposureReq)
GetExposureResp = _reflection.GeneratedProtocolMessageType('GetExposureResp', (_message.Message,), {
'DESCRIPTOR' : _GETEXPOSURERESP,
'__module__' : 'facility.exposure_pb2'
# @@protoc_insertion_point(class_scope:facility.GetExposureResp)
})
_sym_db.RegisterMessage(GetExposureResp)
WriteExposureReq = _reflection.GeneratedProtocolMessageType('WriteExposureReq', (_message.Message,), {
'DESCRIPTOR' : _WRITEEXPOSUREREQ,
'__module__' : 'facility.exposure_pb2'
# @@protoc_insertion_point(class_scope:facility.WriteExposureReq)
})
_sym_db.RegisterMessage(WriteExposureReq)
WriteExposureResp = _reflection.GeneratedProtocolMessageType('WriteExposureResp', (_message.Message,), {
'DESCRIPTOR' : _WRITEEXPOSURERESP,
'__module__' : 'facility.exposure_pb2'
# @@protoc_insertion_point(class_scope:facility.WriteExposureResp)
})
_sym_db.RegisterMessage(WriteExposureResp)
UpdateQc0StatusReq = _reflection.GeneratedProtocolMessageType('UpdateQc0StatusReq', (_message.Message,), {
'DESCRIPTOR' : _UPDATEQC0STATUSREQ,
'__module__' : 'facility.exposure_pb2'
# @@protoc_insertion_point(class_scope:facility.UpdateQc0StatusReq)
})
_sym_db.RegisterMessage(UpdateQc0StatusReq)
UpdateQc0StatusResp = _reflection.GeneratedProtocolMessageType('UpdateQc0StatusResp', (_message.Message,), {
'DESCRIPTOR' : _UPDATEQC0STATUSRESP,
'__module__' : 'facility.exposure_pb2'
# @@protoc_insertion_point(class_scope:facility.UpdateQc0StatusResp)
})
_sym_db.RegisterMessage(UpdateQc0StatusResp)
UpdateProcStatusReq = _reflection.GeneratedProtocolMessageType('UpdateProcStatusReq', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSREQ,
'__module__' : 'facility.exposure_pb2'
# @@protoc_insertion_point(class_scope:facility.UpdateProcStatusReq)
})
_sym_db.RegisterMessage(UpdateProcStatusReq)
UpdateProcStatusResp = _reflection.GeneratedProtocolMessageType('UpdateProcStatusResp', (_message.Message,), {
'DESCRIPTOR' : _UPDATEPROCSTATUSRESP,
'__module__' : 'facility.exposure_pb2'
# @@protoc_insertion_point(class_scope:facility.UpdateProcStatusResp)
})
_sym_db.RegisterMessage(UpdateProcStatusResp)
DESCRIPTOR._options = None
_FINDEXPOSUREREQ_OTHERCONDITIONSENTRY._options = None
_EXPOSURESRV = _descriptor.ServiceDescriptor(
name='ExposureSrv',
full_name='facility.ExposureSrv',
file=DESCRIPTOR,
index=0,
serialized_options=None,
serialized_start=1351,
serialized_end=1728,
methods=[
_descriptor.MethodDescriptor(
name='Find',
full_name='facility.ExposureSrv.Find',
index=0,
containing_service=None,
input_type=_FINDEXPOSUREREQ,
output_type=_FINDEXPOSURERESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='Get',
full_name='facility.ExposureSrv.Get',
index=1,
containing_service=None,
input_type=_GETEXPOSUREREQ,
output_type=_GETEXPOSURERESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='Write',
full_name='facility.ExposureSrv.Write',
index=2,
containing_service=None,
input_type=_WRITEEXPOSUREREQ,
output_type=_WRITEEXPOSURERESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='UpdateQc0Status',
full_name='facility.ExposureSrv.UpdateQc0Status',
index=3,
containing_service=None,
input_type=_UPDATEQC0STATUSREQ,
output_type=_UPDATEQC0STATUSRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='UpdateProcStatus',
full_name='facility.ExposureSrv.UpdateProcStatus',
index=4,
containing_service=None,
input_type=_UPDATEPROCSTATUSREQ,
output_type=_UPDATEPROCSTATUSRESP,
serialized_options=None,
),
])
_sym_db.RegisterServiceDescriptor(_EXPOSURESRV)
DESCRIPTOR.services_by_name['ExposureSrv'] = _EXPOSURESRV
# @@protoc_insertion_point(module_scope)
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from . import exposure_pb2 as facility_dot_exposure__pb2
class ExposureSrvStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.Find = channel.unary_unary(
'/facility.ExposureSrv/Find',
request_serializer=facility_dot_exposure__pb2.FindExposureReq.SerializeToString,
response_deserializer=facility_dot_exposure__pb2.FindExposureResp.FromString,
)
self.Get = channel.unary_unary(
'/facility.ExposureSrv/Get',
request_serializer=facility_dot_exposure__pb2.GetExposureReq.SerializeToString,
response_deserializer=facility_dot_exposure__pb2.GetExposureResp.FromString,
)
self.Write = channel.stream_unary(
'/facility.ExposureSrv/Write',
request_serializer=facility_dot_exposure__pb2.WriteExposureReq.SerializeToString,
response_deserializer=facility_dot_exposure__pb2.WriteExposureResp.FromString,
)
self.UpdateQc0Status = channel.unary_unary(
'/facility.ExposureSrv/UpdateQc0Status',
request_serializer=facility_dot_exposure__pb2.UpdateQc0StatusReq.SerializeToString,
response_deserializer=facility_dot_exposure__pb2.UpdateQc0StatusResp.FromString,
)
self.UpdateProcStatus = channel.unary_unary(
'/facility.ExposureSrv/UpdateProcStatus',
request_serializer=facility_dot_exposure__pb2.UpdateProcStatusReq.SerializeToString,
response_deserializer=facility_dot_exposure__pb2.UpdateProcStatusResp.FromString,
)
class ExposureSrvServicer(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_iterator, 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!')
def add_ExposureSrvServicer_to_server(servicer, server):
rpc_method_handlers = {
'Find': grpc.unary_unary_rpc_method_handler(
servicer.Find,
request_deserializer=facility_dot_exposure__pb2.FindExposureReq.FromString,
response_serializer=facility_dot_exposure__pb2.FindExposureResp.SerializeToString,
),
'Get': grpc.unary_unary_rpc_method_handler(
servicer.Get,
request_deserializer=facility_dot_exposure__pb2.GetExposureReq.FromString,
response_serializer=facility_dot_exposure__pb2.GetExposureResp.SerializeToString,
),
'Write': grpc.stream_unary_rpc_method_handler(
servicer.Write,
request_deserializer=facility_dot_exposure__pb2.WriteExposureReq.FromString,
response_serializer=facility_dot_exposure__pb2.WriteExposureResp.SerializeToString,
),
'UpdateQc0Status': grpc.unary_unary_rpc_method_handler(
servicer.UpdateQc0Status,
request_deserializer=facility_dot_exposure__pb2.UpdateQc0StatusReq.FromString,
response_serializer=facility_dot_exposure__pb2.UpdateQc0StatusResp.SerializeToString,
),
'UpdateProcStatus': grpc.unary_unary_rpc_method_handler(
servicer.UpdateProcStatus,
request_deserializer=facility_dot_exposure__pb2.UpdateProcStatusReq.FromString,
response_serializer=facility_dot_exposure__pb2.UpdateProcStatusResp.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'facility.ExposureSrv', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
......@@ -4,7 +4,6 @@ from os import walk, listdir
from setuptools import find_packages
from os.path import join
from setuptools import setup
import csst_proto
def package_files(directory):
......@@ -20,7 +19,7 @@ with open('README.md', 'r') as file:
LONG_DESCRIPTION = file.read()
setup(name='csst_dfs_proto',
version=csst_proto.__version__,
version='0.0.1',
author='CSST DFS team.',
description='CSST DFS Base Proto library.',
long_description=LONG_DESCRIPTION,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment