|
11 | 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
12 | 12 | # See the License for the specific language governing permissions and |
13 | 13 | # limitations under the License. |
| 14 | + |
14 | 15 | # -*- coding: utf-8 -*- |
15 | 16 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
16 | 17 | # source: federated.proto |
17 | | -# Protobuf Python Version: 4.25.0 |
| 18 | +# Protobuf Python Version: 4.25.1 |
18 | 19 | """Generated protocol buffer code.""" |
19 | 20 | from google.protobuf import descriptor as _descriptor |
20 | 21 | from google.protobuf import descriptor_pool as _descriptor_pool |
|
27 | 28 |
|
28 | 29 |
|
29 | 30 |
|
30 | | -DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x66\x65\x64\x65rated.proto\x12\x11xgboost.federated\"N\n\x10\x41llgatherRequest\x12\x17\n\x0fsequence_number\x18\x01 \x01(\x04\x12\x0c\n\x04rank\x18\x02 \x01(\x05\x12\x13\n\x0bsend_buffer\x18\x03 \x01(\x0c\"(\n\x0e\x41llgatherReply\x12\x16\n\x0ereceive_buffer\x18\x01 \x01(\x0c\"\xbc\x01\n\x10\x41llreduceRequest\x12\x17\n\x0fsequence_number\x18\x01 \x01(\x04\x12\x0c\n\x04rank\x18\x02 \x01(\x05\x12\x13\n\x0bsend_buffer\x18\x03 \x01(\x0c\x12.\n\tdata_type\x18\x04 \x01(\x0e\x32\x1b.xgboost.federated.DataType\x12<\n\x10reduce_operation\x18\x05 \x01(\x0e\x32\".xgboost.federated.ReduceOperation\"(\n\x0e\x41llreduceReply\x12\x16\n\x0ereceive_buffer\x18\x01 \x01(\x0c\"\\\n\x10\x42roadcastRequest\x12\x17\n\x0fsequence_number\x18\x01 \x01(\x04\x12\x0c\n\x04rank\x18\x02 \x01(\x05\x12\x13\n\x0bsend_buffer\x18\x03 \x01(\x0c\x12\x0c\n\x04root\x18\x04 \x01(\x05\"(\n\x0e\x42roadcastReply\x12\x16\n\x0ereceive_buffer\x18\x01 \x01(\x0c*d\n\x08\x44\x61taType\x12\x08\n\x04INT8\x10\x00\x12\t\n\x05UINT8\x10\x01\x12\t\n\x05INT32\x10\x02\x12\n\n\x06UINT32\x10\x03\x12\t\n\x05INT64\x10\x04\x12\n\n\x06UINT64\x10\x05\x12\t\n\x05\x46LOAT\x10\x06\x12\n\n\x06\x44OUBLE\x10\x07*^\n\x0fReduceOperation\x12\x07\n\x03MAX\x10\x00\x12\x07\n\x03MIN\x10\x01\x12\x07\n\x03SUM\x10\x02\x12\x0f\n\x0b\x42ITWISE_AND\x10\x03\x12\x0e\n\nBITWISE_OR\x10\x04\x12\x0f\n\x0b\x42ITWISE_XOR\x10\x05\x32\x90\x02\n\tFederated\x12U\n\tAllgather\x12#.xgboost.federated.AllgatherRequest\x1a!.xgboost.federated.AllgatherReply\"\x00\x12U\n\tAllreduce\x12#.xgboost.federated.AllreduceRequest\x1a!.xgboost.federated.AllreduceReply\"\x00\x12U\n\tBroadcast\x12#.xgboost.federated.BroadcastRequest\x1a!.xgboost.federated.BroadcastReply\"\x00\x62\x06proto3') |
| 31 | +DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0f\x66\x65\x64\x65rated.proto\x12\x1cxgboost.collective.federated\"N\n\x10\x41llgatherRequest\x12\x17\n\x0fsequence_number\x18\x01 \x01(\x04\x12\x0c\n\x04rank\x18\x02 \x01(\x05\x12\x13\n\x0bsend_buffer\x18\x03 \x01(\x0c\"(\n\x0e\x41llgatherReply\x12\x16\n\x0ereceive_buffer\x18\x01 \x01(\x0c\"O\n\x11\x41llgatherVRequest\x12\x17\n\x0fsequence_number\x18\x01 \x01(\x04\x12\x0c\n\x04rank\x18\x02 \x01(\x05\x12\x13\n\x0bsend_buffer\x18\x03 \x01(\x0c\")\n\x0f\x41llgatherVReply\x12\x16\n\x0ereceive_buffer\x18\x01 \x01(\x0c\"\xd2\x01\n\x10\x41llreduceRequest\x12\x17\n\x0fsequence_number\x18\x01 \x01(\x04\x12\x0c\n\x04rank\x18\x02 \x01(\x05\x12\x13\n\x0bsend_buffer\x18\x03 \x01(\x0c\x12\x39\n\tdata_type\x18\x04 \x01(\x0e\x32&.xgboost.collective.federated.DataType\x12G\n\x10reduce_operation\x18\x05 \x01(\x0e\x32-.xgboost.collective.federated.ReduceOperation\"(\n\x0e\x41llreduceReply\x12\x16\n\x0ereceive_buffer\x18\x01 \x01(\x0c\"\\\n\x10\x42roadcastRequest\x12\x17\n\x0fsequence_number\x18\x01 \x01(\x04\x12\x0c\n\x04rank\x18\x02 \x01(\x05\x12\x13\n\x0bsend_buffer\x18\x03 \x01(\x0c\x12\x0c\n\x04root\x18\x04 \x01(\x05\"(\n\x0e\x42roadcastReply\x12\x16\n\x0ereceive_buffer\x18\x01 \x01(\x0c*\x96\x01\n\x08\x44\x61taType\x12\x08\n\x04HALF\x10\x00\x12\t\n\x05\x46LOAT\x10\x01\x12\n\n\x06\x44OUBLE\x10\x02\x12\x0f\n\x0bLONG_DOUBLE\x10\x03\x12\x08\n\x04INT8\x10\x04\x12\t\n\x05INT16\x10\x05\x12\t\n\x05INT32\x10\x06\x12\t\n\x05INT64\x10\x07\x12\t\n\x05UINT8\x10\x08\x12\n\n\x06UINT16\x10\t\x12\n\n\x06UINT32\x10\n\x12\n\n\x06UINT64\x10\x0b*^\n\x0fReduceOperation\x12\x07\n\x03MAX\x10\x00\x12\x07\n\x03MIN\x10\x01\x12\x07\n\x03SUM\x10\x02\x12\x0f\n\x0b\x42ITWISE_AND\x10\x03\x12\x0e\n\nBITWISE_OR\x10\x04\x12\x0f\n\x0b\x42ITWISE_XOR\x10\x05\x32\xc2\x03\n\tFederated\x12k\n\tAllgather\x12..xgboost.collective.federated.AllgatherRequest\x1a,.xgboost.collective.federated.AllgatherReply\"\x00\x12n\n\nAllgatherV\x12/.xgboost.collective.federated.AllgatherVRequest\x1a-.xgboost.collective.federated.AllgatherVReply\"\x00\x12k\n\tAllreduce\x12..xgboost.collective.federated.AllreduceRequest\x1a,.xgboost.collective.federated.AllreduceReply\"\x00\x12k\n\tBroadcast\x12..xgboost.collective.federated.BroadcastRequest\x1a,.xgboost.collective.federated.BroadcastReply\"\x00\x62\x06proto3') |
31 | 32 |
|
32 | 33 | _globals = globals() |
33 | 34 | _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals) |
34 | 35 | _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'federated_pb2', _globals) |
35 | 36 | if _descriptor._USE_C_DESCRIPTORS == False: |
36 | 37 | DESCRIPTOR._options = None |
37 | | - _globals['_DATATYPE']._serialized_start=529 |
38 | | - _globals['_DATATYPE']._serialized_end=629 |
39 | | - _globals['_REDUCEOPERATION']._serialized_start=631 |
40 | | - _globals['_REDUCEOPERATION']._serialized_end=725 |
41 | | - _globals['_ALLGATHERREQUEST']._serialized_start=38 |
42 | | - _globals['_ALLGATHERREQUEST']._serialized_end=116 |
43 | | - _globals['_ALLGATHERREPLY']._serialized_start=118 |
44 | | - _globals['_ALLGATHERREPLY']._serialized_end=158 |
45 | | - _globals['_ALLREDUCEREQUEST']._serialized_start=161 |
46 | | - _globals['_ALLREDUCEREQUEST']._serialized_end=349 |
47 | | - _globals['_ALLREDUCEREPLY']._serialized_start=351 |
48 | | - _globals['_ALLREDUCEREPLY']._serialized_end=391 |
49 | | - _globals['_BROADCASTREQUEST']._serialized_start=393 |
50 | | - _globals['_BROADCASTREQUEST']._serialized_end=485 |
51 | | - _globals['_BROADCASTREPLY']._serialized_start=487 |
52 | | - _globals['_BROADCASTREPLY']._serialized_end=527 |
53 | | - _globals['_FEDERATED']._serialized_start=728 |
54 | | - _globals['_FEDERATED']._serialized_end=1000 |
| 38 | + _globals['_DATATYPE']._serialized_start=687 |
| 39 | + _globals['_DATATYPE']._serialized_end=837 |
| 40 | + _globals['_REDUCEOPERATION']._serialized_start=839 |
| 41 | + _globals['_REDUCEOPERATION']._serialized_end=933 |
| 42 | + _globals['_ALLGATHERREQUEST']._serialized_start=49 |
| 43 | + _globals['_ALLGATHERREQUEST']._serialized_end=127 |
| 44 | + _globals['_ALLGATHERREPLY']._serialized_start=129 |
| 45 | + _globals['_ALLGATHERREPLY']._serialized_end=169 |
| 46 | + _globals['_ALLGATHERVREQUEST']._serialized_start=171 |
| 47 | + _globals['_ALLGATHERVREQUEST']._serialized_end=250 |
| 48 | + _globals['_ALLGATHERVREPLY']._serialized_start=252 |
| 49 | + _globals['_ALLGATHERVREPLY']._serialized_end=293 |
| 50 | + _globals['_ALLREDUCEREQUEST']._serialized_start=296 |
| 51 | + _globals['_ALLREDUCEREQUEST']._serialized_end=506 |
| 52 | + _globals['_ALLREDUCEREPLY']._serialized_start=508 |
| 53 | + _globals['_ALLREDUCEREPLY']._serialized_end=548 |
| 54 | + _globals['_BROADCASTREQUEST']._serialized_start=550 |
| 55 | + _globals['_BROADCASTREQUEST']._serialized_end=642 |
| 56 | + _globals['_BROADCASTREPLY']._serialized_start=644 |
| 57 | + _globals['_BROADCASTREPLY']._serialized_end=684 |
| 58 | + _globals['_FEDERATED']._serialized_start=936 |
| 59 | + _globals['_FEDERATED']._serialized_end=1386 |
55 | 60 | # @@protoc_insertion_point(module_scope) |
0 commit comments