Commit 80bf69db authored by Wei Shoulin's avatar Wei Shoulin
Browse files

initial commit

parents
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: ifs/reffits/reffits.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='ifs/reffits/reffits.proto',
package='ifs.reffits',
syntax='proto3',
serialized_options=_b('Z cnlab.net/csst/proto/ifs/reffits'),
serialized_pb=_b('\n\x19ifs/reffits/reffits.proto\x12\x0bifs.reffits\x1a\x12\x63ommon/error.proto\"\xa7\x01\n\x07RefFits\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tfile_name\x18\x02 \x01(\t\x12\x10\n\x08obs_time\x18\x03 \x01(\r\x12\x10\n\x08\x65xp_time\x18\x04 \x01(\x03\x12\x11\n\tfile_path\x18\x05 \x01(\t\x12\x0f\n\x07\x63\x63\x64_num\x18\x06 \x01(\r\x12\x10\n\x08ref_type\x18\x07 \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x08 \x01(\x03\x12\x0e\n\x06status\x18\t \x01(\r\"\x9a\x02\n\x0e\x46indRefFitsReq\x12\x10\n\x08obs_time\x18\x01 \x01(\r\x12\x11\n\tfile_name\x18\x02 \x01(\t\x12\x16\n\x0e\x65xp_time_start\x18\x03 \x01(\t\x12\x14\n\x0c\x65xp_time_end\x18\x04 \x01(\t\x12\x0f\n\x07\x63\x63\x64_num\x18\x05 \x01(\r\x12\x0e\n\x06status\x18\x06 \x01(\r\x12\x10\n\x08ref_type\x18\x07 \x01(\t\x12J\n\x10other_conditions\x18\x08 \x03(\x0b\x32\x30.ifs.reffits.FindRefFitsReq.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\x0f\x46indRefFitsResp\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\x07refFits\x18\x04 \x03(\x0b\x32\x14.ifs.reffits.RefFits\" \n\rGetRefFitsReq\x12\x0f\n\x07\x66its_id\x18\x01 \x01(\x03\"7\n\x0eGetRefFitsResp\x12%\n\x07refFits\x18\x01 \x01(\x0b\x32\x14.ifs.reffits.RefFits\"H\n\x0eReadRefFitsReq\x12\x0f\n\x07\x66its_id\x18\x01 \x01(\x03\x12\x11\n\tfile_path\x18\x02 \x01(\t\x12\x12\n\nchunk_size\x18\x03 \x01(\r\"\x1f\n\x0fReadRefFitsResp\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"6\n\x0fWriteRefFitsReq\x12\x11\n\tfile_name\x18\x01 \x01(\t\x12\x10\n\x08\x66itsData\x18\x02 \x01(\x0c\"h\n\x10WriteRefFitsResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12%\n\x07refFits\x18\x03 \x01(\x0b\x32\x14.ifs.reffits.RefFits\"2\n\x0fUpdateStatusReq\x12\x0f\n\x07\x66its_id\x18\x01 \x01(\x03\x12\x0e\n\x06status\x18\x02 \x01(\r\"A\n\x10UpdateStatusResp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error2\xf4\x02\n\nRefFitsSrv\x12\x43\n\x04\x66ind\x12\x1b.ifs.reffits.FindRefFitsReq\x1a\x1c.ifs.reffits.FindRefFitsResp\"\x00\x12@\n\x03get\x12\x1a.ifs.reffits.GetRefFitsReq\x1a\x1b.ifs.reffits.GetRefFitsResp\"\x00\x12\x45\n\x04read\x12\x1b.ifs.reffits.ReadRefFitsReq\x1a\x1c.ifs.reffits.ReadRefFitsResp\"\x00\x30\x01\x12H\n\x05write\x12\x1c.ifs.reffits.WriteRefFitsReq\x1a\x1d.ifs.reffits.WriteRefFitsResp\"\x00(\x01\x12N\n\rupdate_status\x12\x1c.ifs.reffits.UpdateStatusReq\x1a\x1d.ifs.reffits.UpdateStatusResp\"\x00\x42\"Z cnlab.net/csst/proto/ifs/reffitsb\x06proto3')
,
dependencies=[common_dot_error__pb2.DESCRIPTOR,])
_REFFITS = _descriptor.Descriptor(
name='RefFits',
full_name='ifs.reffits.RefFits',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='ifs.reffits.RefFits.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='file_name', full_name='ifs.reffits.RefFits.file_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='obs_time', full_name='ifs.reffits.RefFits.obs_time', index=2,
number=3, 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='exp_time', full_name='ifs.reffits.RefFits.exp_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='file_path', full_name='ifs.reffits.RefFits.file_path', index=4,
number=5, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='ccd_num', full_name='ifs.reffits.RefFits.ccd_num', 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='ref_type', full_name='ifs.reffits.RefFits.ref_type', index=6,
number=7, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='create_time', full_name='ifs.reffits.RefFits.create_time', index=7,
number=8, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='status', full_name='ifs.reffits.RefFits.status', index=8,
number=9, 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=63,
serialized_end=230,
)
_FINDREFFITSREQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
name='OtherConditionsEntry',
full_name='ifs.reffits.FindRefFitsReq.OtherConditionsEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='ifs.reffits.FindRefFitsReq.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='ifs.reffits.FindRefFitsReq.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=461,
serialized_end=515,
)
_FINDREFFITSREQ = _descriptor.Descriptor(
name='FindRefFitsReq',
full_name='ifs.reffits.FindRefFitsReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='obs_time', full_name='ifs.reffits.FindRefFitsReq.obs_time', index=0,
number=1, 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='file_name', full_name='ifs.reffits.FindRefFitsReq.file_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='exp_time_start', full_name='ifs.reffits.FindRefFitsReq.exp_time_start', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='exp_time_end', full_name='ifs.reffits.FindRefFitsReq.exp_time_end', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='ccd_num', full_name='ifs.reffits.FindRefFitsReq.ccd_num', index=4,
number=5, 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='status', full_name='ifs.reffits.FindRefFitsReq.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='ref_type', full_name='ifs.reffits.FindRefFitsReq.ref_type', index=6,
number=7, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='other_conditions', full_name='ifs.reffits.FindRefFitsReq.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=[_FINDREFFITSREQ_OTHERCONDITIONSENTRY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=233,
serialized_end=515,
)
_FINDREFFITSRESP = _descriptor.Descriptor(
name='FindRefFitsResp',
full_name='ifs.reffits.FindRefFitsResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='ifs.reffits.FindRefFitsResp.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='ifs.reffits.FindRefFitsResp.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='ifs.reffits.FindRefFitsResp.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='refFits', full_name='ifs.reffits.FindRefFitsResp.refFits', index=3,
number=4, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=517,
serialized_end=640,
)
_GETREFFITSREQ = _descriptor.Descriptor(
name='GetRefFitsReq',
full_name='ifs.reffits.GetRefFitsReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fits_id', full_name='ifs.reffits.GetRefFitsReq.fits_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=642,
serialized_end=674,
)
_GETREFFITSRESP = _descriptor.Descriptor(
name='GetRefFitsResp',
full_name='ifs.reffits.GetRefFitsResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='refFits', full_name='ifs.reffits.GetRefFitsResp.refFits', 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=676,
serialized_end=731,
)
_READREFFITSREQ = _descriptor.Descriptor(
name='ReadRefFitsReq',
full_name='ifs.reffits.ReadRefFitsReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fits_id', full_name='ifs.reffits.ReadRefFitsReq.fits_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='file_path', full_name='ifs.reffits.ReadRefFitsReq.file_path', 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='chunk_size', full_name='ifs.reffits.ReadRefFitsReq.chunk_size', index=2,
number=3, 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=733,
serialized_end=805,
)
_READREFFITSRESP = _descriptor.Descriptor(
name='ReadRefFitsResp',
full_name='ifs.reffits.ReadRefFitsResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='data', full_name='ifs.reffits.ReadRefFitsResp.data', index=0,
number=1, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=807,
serialized_end=838,
)
_WRITEREFFITSREQ = _descriptor.Descriptor(
name='WriteRefFitsReq',
full_name='ifs.reffits.WriteRefFitsReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='file_name', full_name='ifs.reffits.WriteRefFitsReq.file_name', 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='fitsData', full_name='ifs.reffits.WriteRefFitsReq.fitsData', index=1,
number=2, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=840,
serialized_end=894,
)
_WRITEREFFITSRESP = _descriptor.Descriptor(
name='WriteRefFitsResp',
full_name='ifs.reffits.WriteRefFitsResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='ifs.reffits.WriteRefFitsResp.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='ifs.reffits.WriteRefFitsResp.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='refFits', full_name='ifs.reffits.WriteRefFitsResp.refFits', 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=896,
serialized_end=1000,
)
_UPDATESTATUSREQ = _descriptor.Descriptor(
name='UpdateStatusReq',
full_name='ifs.reffits.UpdateStatusReq',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fits_id', full_name='ifs.reffits.UpdateStatusReq.fits_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='ifs.reffits.UpdateStatusReq.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=1002,
serialized_end=1052,
)
_UPDATESTATUSRESP = _descriptor.Descriptor(
name='UpdateStatusResp',
full_name='ifs.reffits.UpdateStatusResp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='ifs.reffits.UpdateStatusResp.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='ifs.reffits.UpdateStatusResp.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=1054,
serialized_end=1119,
)
_FINDREFFITSREQ_OTHERCONDITIONSENTRY.containing_type = _FINDREFFITSREQ
_FINDREFFITSREQ.fields_by_name['other_conditions'].message_type = _FINDREFFITSREQ_OTHERCONDITIONSENTRY
_FINDREFFITSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_FINDREFFITSRESP.fields_by_name['refFits'].message_type = _REFFITS
_GETREFFITSRESP.fields_by_name['refFits'].message_type = _REFFITS
_WRITEREFFITSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_WRITEREFFITSRESP.fields_by_name['refFits'].message_type = _REFFITS
_UPDATESTATUSRESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
DESCRIPTOR.message_types_by_name['RefFits'] = _REFFITS
DESCRIPTOR.message_types_by_name['FindRefFitsReq'] = _FINDREFFITSREQ
DESCRIPTOR.message_types_by_name['FindRefFitsResp'] = _FINDREFFITSRESP
DESCRIPTOR.message_types_by_name['GetRefFitsReq'] = _GETREFFITSREQ
DESCRIPTOR.message_types_by_name['GetRefFitsResp'] = _GETREFFITSRESP
DESCRIPTOR.message_types_by_name['ReadRefFitsReq'] = _READREFFITSREQ
DESCRIPTOR.message_types_by_name['ReadRefFitsResp'] = _READREFFITSRESP
DESCRIPTOR.message_types_by_name['WriteRefFitsReq'] = _WRITEREFFITSREQ
DESCRIPTOR.message_types_by_name['WriteRefFitsResp'] = _WRITEREFFITSRESP
DESCRIPTOR.message_types_by_name['UpdateStatusReq'] = _UPDATESTATUSREQ
DESCRIPTOR.message_types_by_name['UpdateStatusResp'] = _UPDATESTATUSRESP
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
RefFits = _reflection.GeneratedProtocolMessageType('RefFits', (_message.Message,), {
'DESCRIPTOR' : _REFFITS,
'__module__' : 'ifs.reffits.reffits_pb2'
# @@protoc_insertion_point(class_scope:ifs.reffits.RefFits)
})
_sym_db.RegisterMessage(RefFits)
FindRefFitsReq = _reflection.GeneratedProtocolMessageType('FindRefFitsReq', (_message.Message,), {
'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), {
'DESCRIPTOR' : _FINDREFFITSREQ_OTHERCONDITIONSENTRY,
'__module__' : 'ifs.reffits.reffits_pb2'
# @@protoc_insertion_point(class_scope:ifs.reffits.FindRefFitsReq.OtherConditionsEntry)
})
,
'DESCRIPTOR' : _FINDREFFITSREQ,
'__module__' : 'ifs.reffits.reffits_pb2'
# @@protoc_insertion_point(class_scope:ifs.reffits.FindRefFitsReq)
})
_sym_db.RegisterMessage(FindRefFitsReq)
_sym_db.RegisterMessage(FindRefFitsReq.OtherConditionsEntry)
FindRefFitsResp = _reflection.GeneratedProtocolMessageType('FindRefFitsResp', (_message.Message,), {
'DESCRIPTOR' : _FINDREFFITSRESP,
'__module__' : 'ifs.reffits.reffits_pb2'
# @@protoc_insertion_point(class_scope:ifs.reffits.FindRefFitsResp)
})
_sym_db.RegisterMessage(FindRefFitsResp)
GetRefFitsReq = _reflection.GeneratedProtocolMessageType('GetRefFitsReq', (_message.Message,), {
'DESCRIPTOR' : _GETREFFITSREQ,
'__module__' : 'ifs.reffits.reffits_pb2'
# @@protoc_insertion_point(class_scope:ifs.reffits.GetRefFitsReq)
})
_sym_db.RegisterMessage(GetRefFitsReq)
GetRefFitsResp = _reflection.GeneratedProtocolMessageType('GetRefFitsResp', (_message.Message,), {
'DESCRIPTOR' : _GETREFFITSRESP,
'__module__' : 'ifs.reffits.reffits_pb2'
# @@protoc_insertion_point(class_scope:ifs.reffits.GetRefFitsResp)
})
_sym_db.RegisterMessage(GetRefFitsResp)
ReadRefFitsReq = _reflection.GeneratedProtocolMessageType('ReadRefFitsReq', (_message.Message,), {
'DESCRIPTOR' : _READREFFITSREQ,
'__module__' : 'ifs.reffits.reffits_pb2'
# @@protoc_insertion_point(class_scope:ifs.reffits.ReadRefFitsReq)
})
_sym_db.RegisterMessage(ReadRefFitsReq)
ReadRefFitsResp = _reflection.GeneratedProtocolMessageType('ReadRefFitsResp', (_message.Message,), {
'DESCRIPTOR' : _READREFFITSRESP,
'__module__' : 'ifs.reffits.reffits_pb2'
# @@protoc_insertion_point(class_scope:ifs.reffits.ReadRefFitsResp)
})
_sym_db.RegisterMessage(ReadRefFitsResp)
WriteRefFitsReq = _reflection.GeneratedProtocolMessageType('WriteRefFitsReq', (_message.Message,), {
'DESCRIPTOR' : _WRITEREFFITSREQ,
'__module__' : 'ifs.reffits.reffits_pb2'
# @@protoc_insertion_point(class_scope:ifs.reffits.WriteRefFitsReq)
})
_sym_db.RegisterMessage(WriteRefFitsReq)
WriteRefFitsResp = _reflection.GeneratedProtocolMessageType('WriteRefFitsResp', (_message.Message,), {
'DESCRIPTOR' : _WRITEREFFITSRESP,
'__module__' : 'ifs.reffits.reffits_pb2'
# @@protoc_insertion_point(class_scope:ifs.reffits.WriteRefFitsResp)
})
_sym_db.RegisterMessage(WriteRefFitsResp)
UpdateStatusReq = _reflection.GeneratedProtocolMessageType('UpdateStatusReq', (_message.Message,), {
'DESCRIPTOR' : _UPDATESTATUSREQ,
'__module__' : 'ifs.reffits.reffits_pb2'
# @@protoc_insertion_point(class_scope:ifs.reffits.UpdateStatusReq)
})
_sym_db.RegisterMessage(UpdateStatusReq)
UpdateStatusResp = _reflection.GeneratedProtocolMessageType('UpdateStatusResp', (_message.Message,), {
'DESCRIPTOR' : _UPDATESTATUSRESP,
'__module__' : 'ifs.reffits.reffits_pb2'
# @@protoc_insertion_point(class_scope:ifs.reffits.UpdateStatusResp)
})
_sym_db.RegisterMessage(UpdateStatusResp)
DESCRIPTOR._options = None
_FINDREFFITSREQ_OTHERCONDITIONSENTRY._options = None
_REFFITSSRV = _descriptor.ServiceDescriptor(
name='RefFitsSrv',
full_name='ifs.reffits.RefFitsSrv',
file=DESCRIPTOR,
index=0,
serialized_options=None,
serialized_start=1122,
serialized_end=1494,
methods=[
_descriptor.MethodDescriptor(
name='find',
full_name='ifs.reffits.RefFitsSrv.find',
index=0,
containing_service=None,
input_type=_FINDREFFITSREQ,
output_type=_FINDREFFITSRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='get',
full_name='ifs.reffits.RefFitsSrv.get',
index=1,
containing_service=None,
input_type=_GETREFFITSREQ,
output_type=_GETREFFITSRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='read',
full_name='ifs.reffits.RefFitsSrv.read',
index=2,
containing_service=None,
input_type=_READREFFITSREQ,
output_type=_READREFFITSRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='write',
full_name='ifs.reffits.RefFitsSrv.write',
index=3,
containing_service=None,
input_type=_WRITEREFFITSREQ,
output_type=_WRITEREFFITSRESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='update_status',
full_name='ifs.reffits.RefFitsSrv.update_status',
index=4,
containing_service=None,
input_type=_UPDATESTATUSREQ,
output_type=_UPDATESTATUSRESP,
serialized_options=None,
),
])
_sym_db.RegisterServiceDescriptor(_REFFITSSRV)
DESCRIPTOR.services_by_name['RefFitsSrv'] = _REFFITSSRV
# @@protoc_insertion_point(module_scope)
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from ifs.reffits import reffits_pb2 as ifs_dot_reffits_dot_reffits__pb2
class RefFitsSrvStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.find = channel.unary_unary(
'/ifs.reffits.RefFitsSrv/find',
request_serializer=ifs_dot_reffits_dot_reffits__pb2.FindRefFitsReq.SerializeToString,
response_deserializer=ifs_dot_reffits_dot_reffits__pb2.FindRefFitsResp.FromString,
)
self.get = channel.unary_unary(
'/ifs.reffits.RefFitsSrv/get',
request_serializer=ifs_dot_reffits_dot_reffits__pb2.GetRefFitsReq.SerializeToString,
response_deserializer=ifs_dot_reffits_dot_reffits__pb2.GetRefFitsResp.FromString,
)
self.read = channel.unary_stream(
'/ifs.reffits.RefFitsSrv/read',
request_serializer=ifs_dot_reffits_dot_reffits__pb2.ReadRefFitsReq.SerializeToString,
response_deserializer=ifs_dot_reffits_dot_reffits__pb2.ReadRefFitsResp.FromString,
)
self.write = channel.stream_unary(
'/ifs.reffits.RefFitsSrv/write',
request_serializer=ifs_dot_reffits_dot_reffits__pb2.WriteRefFitsReq.SerializeToString,
response_deserializer=ifs_dot_reffits_dot_reffits__pb2.WriteRefFitsResp.FromString,
)
self.update_status = channel.unary_unary(
'/ifs.reffits.RefFitsSrv/update_status',
request_serializer=ifs_dot_reffits_dot_reffits__pb2.UpdateStatusReq.SerializeToString,
response_deserializer=ifs_dot_reffits_dot_reffits__pb2.UpdateStatusResp.FromString,
)
class RefFitsSrvServicer(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 read(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 update_status(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_RefFitsSrvServicer_to_server(servicer, server):
rpc_method_handlers = {
'find': grpc.unary_unary_rpc_method_handler(
servicer.find,
request_deserializer=ifs_dot_reffits_dot_reffits__pb2.FindRefFitsReq.FromString,
response_serializer=ifs_dot_reffits_dot_reffits__pb2.FindRefFitsResp.SerializeToString,
),
'get': grpc.unary_unary_rpc_method_handler(
servicer.get,
request_deserializer=ifs_dot_reffits_dot_reffits__pb2.GetRefFitsReq.FromString,
response_serializer=ifs_dot_reffits_dot_reffits__pb2.GetRefFitsResp.SerializeToString,
),
'read': grpc.unary_stream_rpc_method_handler(
servicer.read,
request_deserializer=ifs_dot_reffits_dot_reffits__pb2.ReadRefFitsReq.FromString,
response_serializer=ifs_dot_reffits_dot_reffits__pb2.ReadRefFitsResp.SerializeToString,
),
'write': grpc.stream_unary_rpc_method_handler(
servicer.write,
request_deserializer=ifs_dot_reffits_dot_reffits__pb2.WriteRefFitsReq.FromString,
response_serializer=ifs_dot_reffits_dot_reffits__pb2.WriteRefFitsResp.SerializeToString,
),
'update_status': grpc.unary_unary_rpc_method_handler(
servicer.update_status,
request_deserializer=ifs_dot_reffits_dot_reffits__pb2.UpdateStatusReq.FromString,
response_serializer=ifs_dot_reffits_dot_reffits__pb2.UpdateStatusResp.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'ifs.reffits.RefFitsSrv', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: ifs/result0/result0.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='ifs/result0/result0.proto',
package='ifs.result0',
syntax='proto3',
serialized_options=_b('Z cnlab.net/csst/proto/ifs/result0'),
serialized_pb=_b('\n\x19ifs/result0/result0.proto\x12\x0bifs.result0\x1a\x12\x63ommon/error.proto\"s\n\x07Result0\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tfile_name\x18\x02 \x01(\t\x12\x0e\n\x06raw_id\x18\x03 \x01(\x03\x12\x11\n\tfile_path\x18\x04 \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x05 \x01(\x03\x12\x11\n\tproc_type\x18\x06 \x01(\t\"\xca\x01\n\x0e\x46indResult0Req\x12\x0e\n\x06raw_id\x18\x01 \x01(\x03\x12\x11\n\tfile_name\x18\x02 \x01(\t\x12\x11\n\tproc_type\x18\x03 \x01(\t\x12J\n\x10other_conditions\x18\x04 \x03(\x0b\x32\x30.ifs.result0.FindResult0Req.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\x0f\x46indResult0Resp\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\x07result0\x18\x04 \x03(\x0b\x32\x14.ifs.result0.Result0\" \n\rGetResult0Req\x12\x0f\n\x07\x66its_id\x18\x01 \x01(\x03\"7\n\x0eGetResult0Resp\x12%\n\x07result0\x18\x01 \x01(\x0b\x32\x14.ifs.result0.Result0\"H\n\x0eReadResult0Req\x12\x0f\n\x07\x66its_id\x18\x01 \x01(\x03\x12\x11\n\tfile_path\x18\x02 \x01(\t\x12\x12\n\nchunk_size\x18\x03 \x01(\r\"\x1f\n\x0fReadResult0Resp\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"Y\n\x0fWriteResult0Req\x12\x0e\n\x06raw_id\x18\x01 \x01(\x03\x12\x11\n\tproc_type\x18\x02 \x01(\t\x12\x11\n\tfile_name\x18\x03 \x01(\t\x12\x10\n\x08\x66itsData\x18\x04 \x01(\x0c\"h\n\x10WriteResult0Resp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12%\n\x07result0\x18\x03 \x01(\x0b\x32\x14.ifs.result0.Result02\xa4\x02\n\nResult0Srv\x12\x43\n\x04\x66ind\x12\x1b.ifs.result0.FindResult0Req\x1a\x1c.ifs.result0.FindResult0Resp\"\x00\x12@\n\x03get\x12\x1a.ifs.result0.GetResult0Req\x1a\x1b.ifs.result0.GetResult0Resp\"\x00\x12\x45\n\x04read\x12\x1b.ifs.result0.ReadResult0Req\x1a\x1c.ifs.result0.ReadResult0Resp\"\x00\x30\x01\x12H\n\x05write\x12\x1c.ifs.result0.WriteResult0Req\x1a\x1d.ifs.result0.WriteResult0Resp\"\x00(\x01\x42\"Z cnlab.net/csst/proto/ifs/result0b\x06proto3')
,
dependencies=[common_dot_error__pb2.DESCRIPTOR,])
_RESULT0 = _descriptor.Descriptor(
name='Result0',
full_name='ifs.result0.Result0',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='ifs.result0.Result0.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='file_name', full_name='ifs.result0.Result0.file_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='raw_id', full_name='ifs.result0.Result0.raw_id', index=2,
number=3, type=3, cpp_type=2, label=1,
has_default_value=False, default_value=0,
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='file_path', full_name='ifs.result0.Result0.file_path', index=3,
number=4, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='create_time', full_name='ifs.result0.Result0.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='proc_type', full_name='ifs.result0.Result0.proc_type', index=5,
number=6, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=62,
serialized_end=177,
)
_FINDRESULT0REQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
name='OtherConditionsEntry',
full_name='ifs.result0.FindResult0Req.OtherConditionsEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='ifs.result0.FindResult0Req.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='ifs.result0.FindResult0Req.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=328,
serialized_end=382,
)
_FINDRESULT0REQ = _descriptor.Descriptor(
name='FindResult0Req',
full_name='ifs.result0.FindResult0Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='raw_id', full_name='ifs.result0.FindResult0Req.raw_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='file_name', full_name='ifs.result0.FindResult0Req.file_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='proc_type', full_name='ifs.result0.FindResult0Req.proc_type', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='other_conditions', full_name='ifs.result0.FindResult0Req.other_conditions', index=3,
number=4, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[_FINDRESULT0REQ_OTHERCONDITIONSENTRY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=180,
serialized_end=382,
)
_FINDRESULT0RESP = _descriptor.Descriptor(
name='FindResult0Resp',
full_name='ifs.result0.FindResult0Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='ifs.result0.FindResult0Resp.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='ifs.result0.FindResult0Resp.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='ifs.result0.FindResult0Resp.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='result0', full_name='ifs.result0.FindResult0Resp.result0', 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=384,
serialized_end=507,
)
_GETRESULT0REQ = _descriptor.Descriptor(
name='GetResult0Req',
full_name='ifs.result0.GetResult0Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fits_id', full_name='ifs.result0.GetResult0Req.fits_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=509,
serialized_end=541,
)
_GETRESULT0RESP = _descriptor.Descriptor(
name='GetResult0Resp',
full_name='ifs.result0.GetResult0Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='result0', full_name='ifs.result0.GetResult0Resp.result0', 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=543,
serialized_end=598,
)
_READRESULT0REQ = _descriptor.Descriptor(
name='ReadResult0Req',
full_name='ifs.result0.ReadResult0Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fits_id', full_name='ifs.result0.ReadResult0Req.fits_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='file_path', full_name='ifs.result0.ReadResult0Req.file_path', 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='chunk_size', full_name='ifs.result0.ReadResult0Req.chunk_size', index=2,
number=3, 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=600,
serialized_end=672,
)
_READRESULT0RESP = _descriptor.Descriptor(
name='ReadResult0Resp',
full_name='ifs.result0.ReadResult0Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='data', full_name='ifs.result0.ReadResult0Resp.data', index=0,
number=1, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=674,
serialized_end=705,
)
_WRITERESULT0REQ = _descriptor.Descriptor(
name='WriteResult0Req',
full_name='ifs.result0.WriteResult0Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='raw_id', full_name='ifs.result0.WriteResult0Req.raw_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='proc_type', full_name='ifs.result0.WriteResult0Req.proc_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='ifs.result0.WriteResult0Req.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='fitsData', full_name='ifs.result0.WriteResult0Req.fitsData', index=3,
number=4, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=707,
serialized_end=796,
)
_WRITERESULT0RESP = _descriptor.Descriptor(
name='WriteResult0Resp',
full_name='ifs.result0.WriteResult0Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='ifs.result0.WriteResult0Resp.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='ifs.result0.WriteResult0Resp.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='result0', full_name='ifs.result0.WriteResult0Resp.result0', 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=798,
serialized_end=902,
)
_FINDRESULT0REQ_OTHERCONDITIONSENTRY.containing_type = _FINDRESULT0REQ
_FINDRESULT0REQ.fields_by_name['other_conditions'].message_type = _FINDRESULT0REQ_OTHERCONDITIONSENTRY
_FINDRESULT0RESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_FINDRESULT0RESP.fields_by_name['result0'].message_type = _RESULT0
_GETRESULT0RESP.fields_by_name['result0'].message_type = _RESULT0
_WRITERESULT0RESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_WRITERESULT0RESP.fields_by_name['result0'].message_type = _RESULT0
DESCRIPTOR.message_types_by_name['Result0'] = _RESULT0
DESCRIPTOR.message_types_by_name['FindResult0Req'] = _FINDRESULT0REQ
DESCRIPTOR.message_types_by_name['FindResult0Resp'] = _FINDRESULT0RESP
DESCRIPTOR.message_types_by_name['GetResult0Req'] = _GETRESULT0REQ
DESCRIPTOR.message_types_by_name['GetResult0Resp'] = _GETRESULT0RESP
DESCRIPTOR.message_types_by_name['ReadResult0Req'] = _READRESULT0REQ
DESCRIPTOR.message_types_by_name['ReadResult0Resp'] = _READRESULT0RESP
DESCRIPTOR.message_types_by_name['WriteResult0Req'] = _WRITERESULT0REQ
DESCRIPTOR.message_types_by_name['WriteResult0Resp'] = _WRITERESULT0RESP
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Result0 = _reflection.GeneratedProtocolMessageType('Result0', (_message.Message,), {
'DESCRIPTOR' : _RESULT0,
'__module__' : 'ifs.result0.result0_pb2'
# @@protoc_insertion_point(class_scope:ifs.result0.Result0)
})
_sym_db.RegisterMessage(Result0)
FindResult0Req = _reflection.GeneratedProtocolMessageType('FindResult0Req', (_message.Message,), {
'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), {
'DESCRIPTOR' : _FINDRESULT0REQ_OTHERCONDITIONSENTRY,
'__module__' : 'ifs.result0.result0_pb2'
# @@protoc_insertion_point(class_scope:ifs.result0.FindResult0Req.OtherConditionsEntry)
})
,
'DESCRIPTOR' : _FINDRESULT0REQ,
'__module__' : 'ifs.result0.result0_pb2'
# @@protoc_insertion_point(class_scope:ifs.result0.FindResult0Req)
})
_sym_db.RegisterMessage(FindResult0Req)
_sym_db.RegisterMessage(FindResult0Req.OtherConditionsEntry)
FindResult0Resp = _reflection.GeneratedProtocolMessageType('FindResult0Resp', (_message.Message,), {
'DESCRIPTOR' : _FINDRESULT0RESP,
'__module__' : 'ifs.result0.result0_pb2'
# @@protoc_insertion_point(class_scope:ifs.result0.FindResult0Resp)
})
_sym_db.RegisterMessage(FindResult0Resp)
GetResult0Req = _reflection.GeneratedProtocolMessageType('GetResult0Req', (_message.Message,), {
'DESCRIPTOR' : _GETRESULT0REQ,
'__module__' : 'ifs.result0.result0_pb2'
# @@protoc_insertion_point(class_scope:ifs.result0.GetResult0Req)
})
_sym_db.RegisterMessage(GetResult0Req)
GetResult0Resp = _reflection.GeneratedProtocolMessageType('GetResult0Resp', (_message.Message,), {
'DESCRIPTOR' : _GETRESULT0RESP,
'__module__' : 'ifs.result0.result0_pb2'
# @@protoc_insertion_point(class_scope:ifs.result0.GetResult0Resp)
})
_sym_db.RegisterMessage(GetResult0Resp)
ReadResult0Req = _reflection.GeneratedProtocolMessageType('ReadResult0Req', (_message.Message,), {
'DESCRIPTOR' : _READRESULT0REQ,
'__module__' : 'ifs.result0.result0_pb2'
# @@protoc_insertion_point(class_scope:ifs.result0.ReadResult0Req)
})
_sym_db.RegisterMessage(ReadResult0Req)
ReadResult0Resp = _reflection.GeneratedProtocolMessageType('ReadResult0Resp', (_message.Message,), {
'DESCRIPTOR' : _READRESULT0RESP,
'__module__' : 'ifs.result0.result0_pb2'
# @@protoc_insertion_point(class_scope:ifs.result0.ReadResult0Resp)
})
_sym_db.RegisterMessage(ReadResult0Resp)
WriteResult0Req = _reflection.GeneratedProtocolMessageType('WriteResult0Req', (_message.Message,), {
'DESCRIPTOR' : _WRITERESULT0REQ,
'__module__' : 'ifs.result0.result0_pb2'
# @@protoc_insertion_point(class_scope:ifs.result0.WriteResult0Req)
})
_sym_db.RegisterMessage(WriteResult0Req)
WriteResult0Resp = _reflection.GeneratedProtocolMessageType('WriteResult0Resp', (_message.Message,), {
'DESCRIPTOR' : _WRITERESULT0RESP,
'__module__' : 'ifs.result0.result0_pb2'
# @@protoc_insertion_point(class_scope:ifs.result0.WriteResult0Resp)
})
_sym_db.RegisterMessage(WriteResult0Resp)
DESCRIPTOR._options = None
_FINDRESULT0REQ_OTHERCONDITIONSENTRY._options = None
_RESULT0SRV = _descriptor.ServiceDescriptor(
name='Result0Srv',
full_name='ifs.result0.Result0Srv',
file=DESCRIPTOR,
index=0,
serialized_options=None,
serialized_start=905,
serialized_end=1197,
methods=[
_descriptor.MethodDescriptor(
name='find',
full_name='ifs.result0.Result0Srv.find',
index=0,
containing_service=None,
input_type=_FINDRESULT0REQ,
output_type=_FINDRESULT0RESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='get',
full_name='ifs.result0.Result0Srv.get',
index=1,
containing_service=None,
input_type=_GETRESULT0REQ,
output_type=_GETRESULT0RESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='read',
full_name='ifs.result0.Result0Srv.read',
index=2,
containing_service=None,
input_type=_READRESULT0REQ,
output_type=_READRESULT0RESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='write',
full_name='ifs.result0.Result0Srv.write',
index=3,
containing_service=None,
input_type=_WRITERESULT0REQ,
output_type=_WRITERESULT0RESP,
serialized_options=None,
),
])
_sym_db.RegisterServiceDescriptor(_RESULT0SRV)
DESCRIPTOR.services_by_name['Result0Srv'] = _RESULT0SRV
# @@protoc_insertion_point(module_scope)
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from ifs.result0 import result0_pb2 as ifs_dot_result0_dot_result0__pb2
class Result0SrvStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.find = channel.unary_unary(
'/ifs.result0.Result0Srv/find',
request_serializer=ifs_dot_result0_dot_result0__pb2.FindResult0Req.SerializeToString,
response_deserializer=ifs_dot_result0_dot_result0__pb2.FindResult0Resp.FromString,
)
self.get = channel.unary_unary(
'/ifs.result0.Result0Srv/get',
request_serializer=ifs_dot_result0_dot_result0__pb2.GetResult0Req.SerializeToString,
response_deserializer=ifs_dot_result0_dot_result0__pb2.GetResult0Resp.FromString,
)
self.read = channel.unary_stream(
'/ifs.result0.Result0Srv/read',
request_serializer=ifs_dot_result0_dot_result0__pb2.ReadResult0Req.SerializeToString,
response_deserializer=ifs_dot_result0_dot_result0__pb2.ReadResult0Resp.FromString,
)
self.write = channel.stream_unary(
'/ifs.result0.Result0Srv/write',
request_serializer=ifs_dot_result0_dot_result0__pb2.WriteResult0Req.SerializeToString,
response_deserializer=ifs_dot_result0_dot_result0__pb2.WriteResult0Resp.FromString,
)
class Result0SrvServicer(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 read(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 add_Result0SrvServicer_to_server(servicer, server):
rpc_method_handlers = {
'find': grpc.unary_unary_rpc_method_handler(
servicer.find,
request_deserializer=ifs_dot_result0_dot_result0__pb2.FindResult0Req.FromString,
response_serializer=ifs_dot_result0_dot_result0__pb2.FindResult0Resp.SerializeToString,
),
'get': grpc.unary_unary_rpc_method_handler(
servicer.get,
request_deserializer=ifs_dot_result0_dot_result0__pb2.GetResult0Req.FromString,
response_serializer=ifs_dot_result0_dot_result0__pb2.GetResult0Resp.SerializeToString,
),
'read': grpc.unary_stream_rpc_method_handler(
servicer.read,
request_deserializer=ifs_dot_result0_dot_result0__pb2.ReadResult0Req.FromString,
response_serializer=ifs_dot_result0_dot_result0__pb2.ReadResult0Resp.SerializeToString,
),
'write': grpc.stream_unary_rpc_method_handler(
servicer.write,
request_deserializer=ifs_dot_result0_dot_result0__pb2.WriteResult0Req.FromString,
response_serializer=ifs_dot_result0_dot_result0__pb2.WriteResult0Resp.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'ifs.result0.Result0Srv', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: ifs/result1/result1.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='ifs/result1/result1.proto',
package='ifs.result1',
syntax='proto3',
serialized_options=_b('Z cnlab.net/csst/proto/ifs/result1'),
serialized_pb=_b('\n\x19ifs/result1/result1.proto\x12\x0bifs.result1\x1a\x12\x63ommon/error.proto\"c\n\x07Result1\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tfile_name\x18\x02 \x01(\t\x12\x11\n\tfile_path\x18\x03 \x01(\t\x12\x13\n\x0b\x63reate_time\x18\x04 \x01(\x03\x12\x11\n\tproc_type\x18\x05 \x01(\t\"\xba\x01\n\x0e\x46indResult1Req\x12\x11\n\tfile_name\x18\x01 \x01(\t\x12\x11\n\tproc_type\x18\x02 \x01(\t\x12J\n\x10other_conditions\x18\x03 \x03(\x0b\x32\x30.ifs.result1.FindResult1Req.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\x0f\x46indResult1Resp\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\x07result1\x18\x04 \x03(\x0b\x32\x14.ifs.result1.Result1\" \n\rGetResult1Req\x12\x0f\n\x07\x66its_id\x18\x01 \x01(\x03\"7\n\x0eGetResult1Resp\x12%\n\x07result1\x18\x01 \x01(\x0b\x32\x14.ifs.result1.Result1\"H\n\x0eReadResult1Req\x12\x0f\n\x07\x66its_id\x18\x01 \x01(\x03\x12\x11\n\tfile_path\x18\x02 \x01(\t\x12\x12\n\nchunk_size\x18\x03 \x01(\r\"\x1f\n\x0fReadResult1Resp\x12\x0c\n\x04\x64\x61ta\x18\x01 \x01(\x0c\"^\n\x0fWriteResult1Req\x12\x11\n\tproc_type\x18\x01 \x01(\t\x12\x11\n\tfile_name\x18\x02 \x01(\t\x12\x10\n\x08\x66itsData\x18\x03 \x01(\x0c\x12\x13\n\x0bresult0_ids\x18\x04 \x03(\x03\"h\n\x10WriteResult1Resp\x12\x0f\n\x07success\x18\x01 \x01(\x08\x12\x1c\n\x05\x65rror\x18\x02 \x01(\x0b\x32\r.common.Error\x12%\n\x07result1\x18\x03 \x01(\x0b\x32\x14.ifs.result1.Result12\xa4\x02\n\nResult1Srv\x12\x43\n\x04\x66ind\x12\x1b.ifs.result1.FindResult1Req\x1a\x1c.ifs.result1.FindResult1Resp\"\x00\x12@\n\x03get\x12\x1a.ifs.result1.GetResult1Req\x1a\x1b.ifs.result1.GetResult1Resp\"\x00\x12\x45\n\x04read\x12\x1b.ifs.result1.ReadResult1Req\x1a\x1c.ifs.result1.ReadResult1Resp\"\x00\x30\x01\x12H\n\x05write\x12\x1c.ifs.result1.WriteResult1Req\x1a\x1d.ifs.result1.WriteResult1Resp\"\x00(\x01\x42\"Z cnlab.net/csst/proto/ifs/result1b\x06proto3')
,
dependencies=[common_dot_error__pb2.DESCRIPTOR,])
_RESULT1 = _descriptor.Descriptor(
name='Result1',
full_name='ifs.result1.Result1',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='id', full_name='ifs.result1.Result1.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='file_name', full_name='ifs.result1.Result1.file_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='file_path', full_name='ifs.result1.Result1.file_path', index=2,
number=3, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='create_time', full_name='ifs.result1.Result1.create_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='proc_type', full_name='ifs.result1.Result1.proc_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),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=62,
serialized_end=161,
)
_FINDRESULT1REQ_OTHERCONDITIONSENTRY = _descriptor.Descriptor(
name='OtherConditionsEntry',
full_name='ifs.result1.FindResult1Req.OtherConditionsEntry',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='key', full_name='ifs.result1.FindResult1Req.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='ifs.result1.FindResult1Req.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=296,
serialized_end=350,
)
_FINDRESULT1REQ = _descriptor.Descriptor(
name='FindResult1Req',
full_name='ifs.result1.FindResult1Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='file_name', full_name='ifs.result1.FindResult1Req.file_name', 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='proc_type', full_name='ifs.result1.FindResult1Req.proc_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='other_conditions', full_name='ifs.result1.FindResult1Req.other_conditions', index=2,
number=3, type=11, cpp_type=10, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[_FINDRESULT1REQ_OTHERCONDITIONSENTRY, ],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=164,
serialized_end=350,
)
_FINDRESULT1RESP = _descriptor.Descriptor(
name='FindResult1Resp',
full_name='ifs.result1.FindResult1Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='ifs.result1.FindResult1Resp.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='ifs.result1.FindResult1Resp.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='ifs.result1.FindResult1Resp.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='result1', full_name='ifs.result1.FindResult1Resp.result1', 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=352,
serialized_end=475,
)
_GETRESULT1REQ = _descriptor.Descriptor(
name='GetResult1Req',
full_name='ifs.result1.GetResult1Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fits_id', full_name='ifs.result1.GetResult1Req.fits_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=477,
serialized_end=509,
)
_GETRESULT1RESP = _descriptor.Descriptor(
name='GetResult1Resp',
full_name='ifs.result1.GetResult1Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='result1', full_name='ifs.result1.GetResult1Resp.result1', 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=511,
serialized_end=566,
)
_READRESULT1REQ = _descriptor.Descriptor(
name='ReadResult1Req',
full_name='ifs.result1.ReadResult1Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='fits_id', full_name='ifs.result1.ReadResult1Req.fits_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='file_path', full_name='ifs.result1.ReadResult1Req.file_path', 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='chunk_size', full_name='ifs.result1.ReadResult1Req.chunk_size', index=2,
number=3, 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=568,
serialized_end=640,
)
_READRESULT1RESP = _descriptor.Descriptor(
name='ReadResult1Resp',
full_name='ifs.result1.ReadResult1Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='data', full_name='ifs.result1.ReadResult1Resp.data', index=0,
number=1, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=642,
serialized_end=673,
)
_WRITERESULT1REQ = _descriptor.Descriptor(
name='WriteResult1Req',
full_name='ifs.result1.WriteResult1Req',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='proc_type', full_name='ifs.result1.WriteResult1Req.proc_type', index=0,
number=1, type=9, cpp_type=9, label=1,
has_default_value=False, default_value=_b("").decode('utf-8'),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='file_name', full_name='ifs.result1.WriteResult1Req.file_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='fitsData', full_name='ifs.result1.WriteResult1Req.fitsData', index=2,
number=3, type=12, cpp_type=9, label=1,
has_default_value=False, default_value=_b(""),
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
_descriptor.FieldDescriptor(
name='result0_ids', full_name='ifs.result1.WriteResult1Req.result0_ids', index=3,
number=4, type=3, cpp_type=2, label=3,
has_default_value=False, default_value=[],
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
serialized_options=None, file=DESCRIPTOR),
],
extensions=[
],
nested_types=[],
enum_types=[
],
serialized_options=None,
is_extendable=False,
syntax='proto3',
extension_ranges=[],
oneofs=[
],
serialized_start=675,
serialized_end=769,
)
_WRITERESULT1RESP = _descriptor.Descriptor(
name='WriteResult1Resp',
full_name='ifs.result1.WriteResult1Resp',
filename=None,
file=DESCRIPTOR,
containing_type=None,
fields=[
_descriptor.FieldDescriptor(
name='success', full_name='ifs.result1.WriteResult1Resp.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='ifs.result1.WriteResult1Resp.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='result1', full_name='ifs.result1.WriteResult1Resp.result1', 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=771,
serialized_end=875,
)
_FINDRESULT1REQ_OTHERCONDITIONSENTRY.containing_type = _FINDRESULT1REQ
_FINDRESULT1REQ.fields_by_name['other_conditions'].message_type = _FINDRESULT1REQ_OTHERCONDITIONSENTRY
_FINDRESULT1RESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_FINDRESULT1RESP.fields_by_name['result1'].message_type = _RESULT1
_GETRESULT1RESP.fields_by_name['result1'].message_type = _RESULT1
_WRITERESULT1RESP.fields_by_name['error'].message_type = common_dot_error__pb2._ERROR
_WRITERESULT1RESP.fields_by_name['result1'].message_type = _RESULT1
DESCRIPTOR.message_types_by_name['Result1'] = _RESULT1
DESCRIPTOR.message_types_by_name['FindResult1Req'] = _FINDRESULT1REQ
DESCRIPTOR.message_types_by_name['FindResult1Resp'] = _FINDRESULT1RESP
DESCRIPTOR.message_types_by_name['GetResult1Req'] = _GETRESULT1REQ
DESCRIPTOR.message_types_by_name['GetResult1Resp'] = _GETRESULT1RESP
DESCRIPTOR.message_types_by_name['ReadResult1Req'] = _READRESULT1REQ
DESCRIPTOR.message_types_by_name['ReadResult1Resp'] = _READRESULT1RESP
DESCRIPTOR.message_types_by_name['WriteResult1Req'] = _WRITERESULT1REQ
DESCRIPTOR.message_types_by_name['WriteResult1Resp'] = _WRITERESULT1RESP
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
Result1 = _reflection.GeneratedProtocolMessageType('Result1', (_message.Message,), {
'DESCRIPTOR' : _RESULT1,
'__module__' : 'ifs.result1.result1_pb2'
# @@protoc_insertion_point(class_scope:ifs.result1.Result1)
})
_sym_db.RegisterMessage(Result1)
FindResult1Req = _reflection.GeneratedProtocolMessageType('FindResult1Req', (_message.Message,), {
'OtherConditionsEntry' : _reflection.GeneratedProtocolMessageType('OtherConditionsEntry', (_message.Message,), {
'DESCRIPTOR' : _FINDRESULT1REQ_OTHERCONDITIONSENTRY,
'__module__' : 'ifs.result1.result1_pb2'
# @@protoc_insertion_point(class_scope:ifs.result1.FindResult1Req.OtherConditionsEntry)
})
,
'DESCRIPTOR' : _FINDRESULT1REQ,
'__module__' : 'ifs.result1.result1_pb2'
# @@protoc_insertion_point(class_scope:ifs.result1.FindResult1Req)
})
_sym_db.RegisterMessage(FindResult1Req)
_sym_db.RegisterMessage(FindResult1Req.OtherConditionsEntry)
FindResult1Resp = _reflection.GeneratedProtocolMessageType('FindResult1Resp', (_message.Message,), {
'DESCRIPTOR' : _FINDRESULT1RESP,
'__module__' : 'ifs.result1.result1_pb2'
# @@protoc_insertion_point(class_scope:ifs.result1.FindResult1Resp)
})
_sym_db.RegisterMessage(FindResult1Resp)
GetResult1Req = _reflection.GeneratedProtocolMessageType('GetResult1Req', (_message.Message,), {
'DESCRIPTOR' : _GETRESULT1REQ,
'__module__' : 'ifs.result1.result1_pb2'
# @@protoc_insertion_point(class_scope:ifs.result1.GetResult1Req)
})
_sym_db.RegisterMessage(GetResult1Req)
GetResult1Resp = _reflection.GeneratedProtocolMessageType('GetResult1Resp', (_message.Message,), {
'DESCRIPTOR' : _GETRESULT1RESP,
'__module__' : 'ifs.result1.result1_pb2'
# @@protoc_insertion_point(class_scope:ifs.result1.GetResult1Resp)
})
_sym_db.RegisterMessage(GetResult1Resp)
ReadResult1Req = _reflection.GeneratedProtocolMessageType('ReadResult1Req', (_message.Message,), {
'DESCRIPTOR' : _READRESULT1REQ,
'__module__' : 'ifs.result1.result1_pb2'
# @@protoc_insertion_point(class_scope:ifs.result1.ReadResult1Req)
})
_sym_db.RegisterMessage(ReadResult1Req)
ReadResult1Resp = _reflection.GeneratedProtocolMessageType('ReadResult1Resp', (_message.Message,), {
'DESCRIPTOR' : _READRESULT1RESP,
'__module__' : 'ifs.result1.result1_pb2'
# @@protoc_insertion_point(class_scope:ifs.result1.ReadResult1Resp)
})
_sym_db.RegisterMessage(ReadResult1Resp)
WriteResult1Req = _reflection.GeneratedProtocolMessageType('WriteResult1Req', (_message.Message,), {
'DESCRIPTOR' : _WRITERESULT1REQ,
'__module__' : 'ifs.result1.result1_pb2'
# @@protoc_insertion_point(class_scope:ifs.result1.WriteResult1Req)
})
_sym_db.RegisterMessage(WriteResult1Req)
WriteResult1Resp = _reflection.GeneratedProtocolMessageType('WriteResult1Resp', (_message.Message,), {
'DESCRIPTOR' : _WRITERESULT1RESP,
'__module__' : 'ifs.result1.result1_pb2'
# @@protoc_insertion_point(class_scope:ifs.result1.WriteResult1Resp)
})
_sym_db.RegisterMessage(WriteResult1Resp)
DESCRIPTOR._options = None
_FINDRESULT1REQ_OTHERCONDITIONSENTRY._options = None
_RESULT1SRV = _descriptor.ServiceDescriptor(
name='Result1Srv',
full_name='ifs.result1.Result1Srv',
file=DESCRIPTOR,
index=0,
serialized_options=None,
serialized_start=878,
serialized_end=1170,
methods=[
_descriptor.MethodDescriptor(
name='find',
full_name='ifs.result1.Result1Srv.find',
index=0,
containing_service=None,
input_type=_FINDRESULT1REQ,
output_type=_FINDRESULT1RESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='get',
full_name='ifs.result1.Result1Srv.get',
index=1,
containing_service=None,
input_type=_GETRESULT1REQ,
output_type=_GETRESULT1RESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='read',
full_name='ifs.result1.Result1Srv.read',
index=2,
containing_service=None,
input_type=_READRESULT1REQ,
output_type=_READRESULT1RESP,
serialized_options=None,
),
_descriptor.MethodDescriptor(
name='write',
full_name='ifs.result1.Result1Srv.write',
index=3,
containing_service=None,
input_type=_WRITERESULT1REQ,
output_type=_WRITERESULT1RESP,
serialized_options=None,
),
])
_sym_db.RegisterServiceDescriptor(_RESULT1SRV)
DESCRIPTOR.services_by_name['Result1Srv'] = _RESULT1SRV
# @@protoc_insertion_point(module_scope)
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
from ifs.result1 import result1_pb2 as ifs_dot_result1_dot_result1__pb2
class Result1SrvStub(object):
# missing associated documentation comment in .proto file
pass
def __init__(self, channel):
"""Constructor.
Args:
channel: A grpc.Channel.
"""
self.find = channel.unary_unary(
'/ifs.result1.Result1Srv/find',
request_serializer=ifs_dot_result1_dot_result1__pb2.FindResult1Req.SerializeToString,
response_deserializer=ifs_dot_result1_dot_result1__pb2.FindResult1Resp.FromString,
)
self.get = channel.unary_unary(
'/ifs.result1.Result1Srv/get',
request_serializer=ifs_dot_result1_dot_result1__pb2.GetResult1Req.SerializeToString,
response_deserializer=ifs_dot_result1_dot_result1__pb2.GetResult1Resp.FromString,
)
self.read = channel.unary_stream(
'/ifs.result1.Result1Srv/read',
request_serializer=ifs_dot_result1_dot_result1__pb2.ReadResult1Req.SerializeToString,
response_deserializer=ifs_dot_result1_dot_result1__pb2.ReadResult1Resp.FromString,
)
self.write = channel.stream_unary(
'/ifs.result1.Result1Srv/write',
request_serializer=ifs_dot_result1_dot_result1__pb2.WriteResult1Req.SerializeToString,
response_deserializer=ifs_dot_result1_dot_result1__pb2.WriteResult1Resp.FromString,
)
class Result1SrvServicer(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 read(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 add_Result1SrvServicer_to_server(servicer, server):
rpc_method_handlers = {
'find': grpc.unary_unary_rpc_method_handler(
servicer.find,
request_deserializer=ifs_dot_result1_dot_result1__pb2.FindResult1Req.FromString,
response_serializer=ifs_dot_result1_dot_result1__pb2.FindResult1Resp.SerializeToString,
),
'get': grpc.unary_unary_rpc_method_handler(
servicer.get,
request_deserializer=ifs_dot_result1_dot_result1__pb2.GetResult1Req.FromString,
response_serializer=ifs_dot_result1_dot_result1__pb2.GetResult1Resp.SerializeToString,
),
'read': grpc.unary_stream_rpc_method_handler(
servicer.read,
request_deserializer=ifs_dot_result1_dot_result1__pb2.ReadResult1Req.FromString,
response_serializer=ifs_dot_result1_dot_result1__pb2.ReadResult1Resp.SerializeToString,
),
'write': grpc.stream_unary_rpc_method_handler(
servicer.write,
request_deserializer=ifs_dot_result1_dot_result1__pb2.WriteResult1Req.FromString,
response_serializer=ifs_dot_result1_dot_result1__pb2.WriteResult1Resp.SerializeToString,
),
}
generic_handler = grpc.method_handlers_generic_handler(
'ifs.result1.Result1Srv', rpc_method_handlers)
server.add_generic_rpc_handlers((generic_handler,))
"""Runs protoc with the gRPC plugin to generate messages and gRPC stubs."""
from grpc_tools import protoc
protoc.main((
'',
'-I./',
'--python_out=.',
'--grpc_python_out=.',
'./fits.proto',
))
# coding: utf-8
"""Setup config file to package the configuration database."""
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):
"""Get list of data files to add to the package."""
paths = []
for (path, _, file_names) in walk(directory):
for filename in file_names:
paths.append(join('..', path, filename))
return paths
with open('README.md', 'r') as file:
LONG_DESCRIPTION = file.read()
setup(name='csst_dfs_proto',
version=csst_proto.__version__,
author='CSST DFS team.',
description='CSST DFS Base Proto library.',
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
url='',
packages=find_packages(exclude=('test', 'test.*', 'fabfile')),
install_requires=[
'grpcio==1.28.1'
],
zip_safe=False,
classifiers=[
"Programming Language :: Python :: 3 :: Only",
"Development Status :: 1 - Planning",
"License :: OSI Approved :: BSD License"
]
)
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