fitsProcess_pb2.py 6.48 KB
Newer Older
Wei Shoulin's avatar
Wei Shoulin committed
1
2
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
Wei Shoulin's avatar
Wei Shoulin committed
3
# source: common/fits_process/fitsProcess.proto
Wei Shoulin's avatar
Wei Shoulin committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor.FileDescriptor(
Wei Shoulin's avatar
Wei Shoulin committed
19
20
  name='common/fits_process/fitsProcess.proto',
  package='dfs.common.fitsProcess',
Wei Shoulin's avatar
Wei Shoulin committed
21
  syntax='proto3',
Wei Shoulin's avatar
Wei Shoulin committed
22
23
  serialized_options=_b('Z\'cnlab.net/csst/proto/common/fitsProcess'),
  serialized_pb=_b('\n%common/fits_process/fitsProcess.proto\x12\x16\x64\x66s.common.fitsProcess\"0\n\rGetHeadersReq\x12\x11\n\tfile_path\x18\x01 \x01(\t\x12\x0c\n\x04type\x18\x02 \x01(\r\"\x83\x01\n\x0eGetHeadersResp\x12\x42\n\x06values\x18\x01 \x03(\x0b\x32\x32.dfs.common.fitsProcess.GetHeadersResp.ValuesEntry\x1a-\n\x0bValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x32o\n\x0e\x46itsProcessSrv\x12]\n\nGetHeaders\x12%.dfs.common.fitsProcess.GetHeadersReq\x1a&.dfs.common.fitsProcess.GetHeadersResp\"\x00\x42)Z\'cnlab.net/csst/proto/common/fitsProcessb\x06proto3')
Wei Shoulin's avatar
Wei Shoulin committed
24
25
26
27
28
29
30
)




_GETHEADERSREQ = _descriptor.Descriptor(
  name='GetHeadersReq',
Wei Shoulin's avatar
Wei Shoulin committed
31
  full_name='dfs.common.fitsProcess.GetHeadersReq',
Wei Shoulin's avatar
Wei Shoulin committed
32
33
34
35
36
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
Wei Shoulin's avatar
Wei Shoulin committed
37
      name='file_path', full_name='dfs.common.fitsProcess.GetHeadersReq.file_path', index=0,
Wei Shoulin's avatar
Wei Shoulin committed
38
39
40
41
42
43
      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(
Wei Shoulin's avatar
Wei Shoulin committed
44
      name='type', full_name='dfs.common.fitsProcess.GetHeadersReq.type', index=1,
Wei Shoulin's avatar
Wei Shoulin committed
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
      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=[
  ],
Wei Shoulin's avatar
Wei Shoulin committed
62
63
  serialized_start=65,
  serialized_end=113,
Wei Shoulin's avatar
Wei Shoulin committed
64
65
66
67
68
)


_GETHEADERSRESP_VALUESENTRY = _descriptor.Descriptor(
  name='ValuesEntry',
Wei Shoulin's avatar
Wei Shoulin committed
69
  full_name='dfs.common.fitsProcess.GetHeadersResp.ValuesEntry',
Wei Shoulin's avatar
Wei Shoulin committed
70
71
72
73
74
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
Wei Shoulin's avatar
Wei Shoulin committed
75
      name='key', full_name='dfs.common.fitsProcess.GetHeadersResp.ValuesEntry.key', index=0,
Wei Shoulin's avatar
Wei Shoulin committed
76
77
78
79
80
81
      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(
Wei Shoulin's avatar
Wei Shoulin committed
82
      name='value', full_name='dfs.common.fitsProcess.GetHeadersResp.ValuesEntry.value', index=1,
Wei Shoulin's avatar
Wei Shoulin committed
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
      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=[
  ],
Wei Shoulin's avatar
Wei Shoulin committed
100
101
  serialized_start=202,
  serialized_end=247,
Wei Shoulin's avatar
Wei Shoulin committed
102
103
104
105
)

_GETHEADERSRESP = _descriptor.Descriptor(
  name='GetHeadersResp',
Wei Shoulin's avatar
Wei Shoulin committed
106
  full_name='dfs.common.fitsProcess.GetHeadersResp',
Wei Shoulin's avatar
Wei Shoulin committed
107
108
109
110
111
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
Wei Shoulin's avatar
Wei Shoulin committed
112
      name='values', full_name='dfs.common.fitsProcess.GetHeadersResp.values', index=0,
Wei Shoulin's avatar
Wei Shoulin committed
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
      number=1, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[_GETHEADERSRESP_VALUESENTRY, ],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
Wei Shoulin's avatar
Wei Shoulin committed
130
131
  serialized_start=116,
  serialized_end=247,
Wei Shoulin's avatar
Wei Shoulin committed
132
133
134
135
136
137
138
139
140
141
)

_GETHEADERSRESP_VALUESENTRY.containing_type = _GETHEADERSRESP
_GETHEADERSRESP.fields_by_name['values'].message_type = _GETHEADERSRESP_VALUESENTRY
DESCRIPTOR.message_types_by_name['GetHeadersReq'] = _GETHEADERSREQ
DESCRIPTOR.message_types_by_name['GetHeadersResp'] = _GETHEADERSRESP
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

GetHeadersReq = _reflection.GeneratedProtocolMessageType('GetHeadersReq', (_message.Message,), {
  'DESCRIPTOR' : _GETHEADERSREQ,
Wei Shoulin's avatar
Wei Shoulin committed
142
143
  '__module__' : 'common.fits_process.fitsProcess_pb2'
  # @@protoc_insertion_point(class_scope:dfs.common.fitsProcess.GetHeadersReq)
Wei Shoulin's avatar
Wei Shoulin committed
144
145
146
147
148
149
150
  })
_sym_db.RegisterMessage(GetHeadersReq)

GetHeadersResp = _reflection.GeneratedProtocolMessageType('GetHeadersResp', (_message.Message,), {

  'ValuesEntry' : _reflection.GeneratedProtocolMessageType('ValuesEntry', (_message.Message,), {
    'DESCRIPTOR' : _GETHEADERSRESP_VALUESENTRY,
Wei Shoulin's avatar
Wei Shoulin committed
151
152
    '__module__' : 'common.fits_process.fitsProcess_pb2'
    # @@protoc_insertion_point(class_scope:dfs.common.fitsProcess.GetHeadersResp.ValuesEntry)
Wei Shoulin's avatar
Wei Shoulin committed
153
154
155
    })
  ,
  'DESCRIPTOR' : _GETHEADERSRESP,
Wei Shoulin's avatar
Wei Shoulin committed
156
157
  '__module__' : 'common.fits_process.fitsProcess_pb2'
  # @@protoc_insertion_point(class_scope:dfs.common.fitsProcess.GetHeadersResp)
Wei Shoulin's avatar
Wei Shoulin committed
158
159
160
161
162
163
164
165
166
167
  })
_sym_db.RegisterMessage(GetHeadersResp)
_sym_db.RegisterMessage(GetHeadersResp.ValuesEntry)


DESCRIPTOR._options = None
_GETHEADERSRESP_VALUESENTRY._options = None

_FITSPROCESSSRV = _descriptor.ServiceDescriptor(
  name='FitsProcessSrv',
Wei Shoulin's avatar
Wei Shoulin committed
168
  full_name='dfs.common.fitsProcess.FitsProcessSrv',
Wei Shoulin's avatar
Wei Shoulin committed
169
170
171
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
Wei Shoulin's avatar
Wei Shoulin committed
172
173
  serialized_start=249,
  serialized_end=360,
Wei Shoulin's avatar
Wei Shoulin committed
174
175
176
  methods=[
  _descriptor.MethodDescriptor(
    name='GetHeaders',
Wei Shoulin's avatar
Wei Shoulin committed
177
    full_name='dfs.common.fitsProcess.FitsProcessSrv.GetHeaders',
Wei Shoulin's avatar
Wei Shoulin committed
178
179
180
181
182
183
184
185
186
187
188
189
    index=0,
    containing_service=None,
    input_type=_GETHEADERSREQ,
    output_type=_GETHEADERSRESP,
    serialized_options=None,
  ),
])
_sym_db.RegisterServiceDescriptor(_FITSPROCESSSRV)

DESCRIPTOR.services_by_name['FitsProcessSrv'] = _FITSPROCESSSRV

# @@protoc_insertion_point(module_scope)