|
- # -*- coding: utf-8 -*-
- # Generated by the protocol buffer compiler. DO NOT EDIT!
- # source: inference.proto
- """Generated protocol buffer code."""
- from google.protobuf import descriptor as _descriptor
- from google.protobuf import message as _message
- from google.protobuf import reflection as _reflection
- from google.protobuf import symbol_database as _symbol_database
- # @@protoc_insertion_point(imports)
-
- _sym_db = _symbol_database.Default()
-
-
-
-
- DESCRIPTOR = _descriptor.FileDescriptor(
- name='inference.proto',
- package='',
- syntax='proto3',
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- serialized_pb=b'\n\x0finference.proto\"\'\n\x0b\x44\x61taRequest\x12\x18\n\tdata_list\x18\x01 \x03(\x0b\x32\x05.Data\",\n\x04\x44\x61ta\x12\x11\n\tdata_file\x18\x01 \x01(\t\x12\x11\n\tdata_name\x18\x02 \x01(\t\"#\n\x0c\x44\x61taResponse\x12\x13\n\x0bjson_result\x18\x01 \x01(\t2>\n\x10InferenceService\x12*\n\tinference\x12\x0c.DataRequest\x1a\r.DataResponse\"\x00\x62\x06proto3'
- )
-
-
-
-
- _DATAREQUEST = _descriptor.Descriptor(
- name='DataRequest',
- full_name='DataRequest',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name='data_list', full_name='DataRequest.data_list', index=0,
- number=1, type=11, cpp_type=10, label=3,
- has_default_value=False, default_value=[],
- message_type=None, enum_type=None, containing_type=None,
- is_extension=False, extension_scope=None,
- serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=19,
- serialized_end=58,
- )
-
-
- _DATA = _descriptor.Descriptor(
- name='Data',
- full_name='Data',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name='data_file', full_name='Data.data_file', 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, create_key=_descriptor._internal_create_key),
- _descriptor.FieldDescriptor(
- name='data_name', full_name='Data.data_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, create_key=_descriptor._internal_create_key),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=60,
- serialized_end=104,
- )
-
-
- _DATARESPONSE = _descriptor.Descriptor(
- name='DataResponse',
- full_name='DataResponse',
- filename=None,
- file=DESCRIPTOR,
- containing_type=None,
- create_key=_descriptor._internal_create_key,
- fields=[
- _descriptor.FieldDescriptor(
- name='json_result', full_name='DataResponse.json_result', 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, create_key=_descriptor._internal_create_key),
- ],
- extensions=[
- ],
- nested_types=[],
- enum_types=[
- ],
- serialized_options=None,
- is_extendable=False,
- syntax='proto3',
- extension_ranges=[],
- oneofs=[
- ],
- serialized_start=106,
- serialized_end=141,
- )
-
- _DATAREQUEST.fields_by_name['data_list'].message_type = _DATA
- DESCRIPTOR.message_types_by_name['DataRequest'] = _DATAREQUEST
- DESCRIPTOR.message_types_by_name['Data'] = _DATA
- DESCRIPTOR.message_types_by_name['DataResponse'] = _DATARESPONSE
- _sym_db.RegisterFileDescriptor(DESCRIPTOR)
-
- DataRequest = _reflection.GeneratedProtocolMessageType('DataRequest', (_message.Message,), {
- 'DESCRIPTOR' : _DATAREQUEST,
- '__module__' : 'inference_pb2'
- # @@protoc_insertion_point(class_scope:DataRequest)
- })
- _sym_db.RegisterMessage(DataRequest)
-
- Data = _reflection.GeneratedProtocolMessageType('Data', (_message.Message,), {
- 'DESCRIPTOR' : _DATA,
- '__module__' : 'inference_pb2'
- # @@protoc_insertion_point(class_scope:Data)
- })
- _sym_db.RegisterMessage(Data)
-
- DataResponse = _reflection.GeneratedProtocolMessageType('DataResponse', (_message.Message,), {
- 'DESCRIPTOR' : _DATARESPONSE,
- '__module__' : 'inference_pb2'
- # @@protoc_insertion_point(class_scope:DataResponse)
- })
- _sym_db.RegisterMessage(DataResponse)
-
-
-
- _INFERENCESERVICE = _descriptor.ServiceDescriptor(
- name='InferenceService',
- full_name='InferenceService',
- file=DESCRIPTOR,
- index=0,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- serialized_start=143,
- serialized_end=205,
- methods=[
- _descriptor.MethodDescriptor(
- name='inference',
- full_name='InferenceService.inference',
- index=0,
- containing_service=None,
- input_type=_DATAREQUEST,
- output_type=_DATARESPONSE,
- serialized_options=None,
- create_key=_descriptor._internal_create_key,
- ),
- ])
- _sym_db.RegisterServiceDescriptor(_INFERENCESERVICE)
-
- DESCRIPTOR.services_by_name['InferenceService'] = _INFERENCESERVICE
-
- # @@protoc_insertion_point(module_scope)
|