<filename>inspection_sdk/api/history/get_statistics_pb2.py
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: get_statistics.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 inspection_sdk.model.inspection import host_pb2 as inspection__sdk_dot_model_dot_inspection_dot_host__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='get_statistics.proto',
  package='history',
  syntax='proto3',
  serialized_options=None,
  serialized_pb=_b('\n\x14get_statistics.proto\x12\x07history\x1a*inspection_sdk/model/inspection/host.proto\"7\n\x14GetStatisticsRequest\x12\x10\n\x08pluginId\x18\x01 \x01(\t\x12\r\n\x05jobId\x18\x02 \x01(\t\"\xe3\x01\n\x15GetStatisticsResponse\x12(\n\x04host\x18\x01 \x01(\x0b\x32\x1a.inspection.InspectionHost\x12\x0b\n\x03log\x18\x02 \x01(\t\x12\x10\n\x08totalNum\x18\x03 \x01(\x05\x12\x11\n\tnoticeNum\x18\x04 \x01(\x05\x12\x12\n\nwarningNum\x18\x05 \x01(\x05\x12\x14\n\x0c\x65mergencyNum\x18\x06 \x01(\x05\x12\x11\n\tpassedNum\x18\x07 \x01(\x05\x12\x12\n\ninstanceId\x18\x08 \x01(\t\x12\r\n\x05score\x18\t \x01(\x02\x12\x0e\n\x06status\x18\n \x01(\t\"~\n\x1cGetStatisticsResponseWrapper\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x13\n\x0b\x63odeExplain\x18\x02 \x01(\t\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12,\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\x1e.history.GetStatisticsResponseb\x06proto3')
  ,
  dependencies=[inspection__sdk_dot_model_dot_inspection_dot_host__pb2.DESCRIPTOR,])




_GETSTATISTICSREQUEST = _descriptor.Descriptor(
  name='GetStatisticsRequest',
  full_name='history.GetStatisticsRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='pluginId', full_name='history.GetStatisticsRequest.pluginId', 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='jobId', full_name='history.GetStatisticsRequest.jobId', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=77,
  serialized_end=132,
)


_GETSTATISTICSRESPONSE = _descriptor.Descriptor(
  name='GetStatisticsResponse',
  full_name='history.GetStatisticsResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='host', full_name='history.GetStatisticsResponse.host', 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),
    _descriptor.FieldDescriptor(
      name='log', full_name='history.GetStatisticsResponse.log', 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='totalNum', full_name='history.GetStatisticsResponse.totalNum', index=2,
      number=3, 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='noticeNum', full_name='history.GetStatisticsResponse.noticeNum', index=3,
      number=4, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='warningNum', full_name='history.GetStatisticsResponse.warningNum', index=4,
      number=5, 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='emergencyNum', full_name='history.GetStatisticsResponse.emergencyNum', index=5,
      number=6, 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='passedNum', full_name='history.GetStatisticsResponse.passedNum', index=6,
      number=7, 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='instanceId', full_name='history.GetStatisticsResponse.instanceId', index=7,
      number=8, 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='score', full_name='history.GetStatisticsResponse.score', index=8,
      number=9, type=2, cpp_type=6, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='status', full_name='history.GetStatisticsResponse.status', index=9,
      number=10, 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=135,
  serialized_end=362,
)


_GETSTATISTICSRESPONSEWRAPPER = _descriptor.Descriptor(
  name='GetStatisticsResponseWrapper',
  full_name='history.GetStatisticsResponseWrapper',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='code', full_name='history.GetStatisticsResponseWrapper.code', index=0,
      number=1, 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='codeExplain', full_name='history.GetStatisticsResponseWrapper.codeExplain', 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='error', full_name='history.GetStatisticsResponseWrapper.error', 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='data', full_name='history.GetStatisticsResponseWrapper.data', index=3,
      number=4, 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=364,
  serialized_end=490,
)

_GETSTATISTICSRESPONSE.fields_by_name['host'].message_type = inspection__sdk_dot_model_dot_inspection_dot_host__pb2._INSPECTIONHOST
_GETSTATISTICSRESPONSEWRAPPER.fields_by_name['data'].message_type = _GETSTATISTICSRESPONSE
DESCRIPTOR.message_types_by_name['GetStatisticsRequest'] = _GETSTATISTICSREQUEST
DESCRIPTOR.message_types_by_name['GetStatisticsResponse'] = _GETSTATISTICSRESPONSE
DESCRIPTOR.message_types_by_name['GetStatisticsResponseWrapper'] = _GETSTATISTICSRESPONSEWRAPPER
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

GetStatisticsRequest = _reflection.GeneratedProtocolMessageType('GetStatisticsRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETSTATISTICSREQUEST,
  '__module__' : 'get_statistics_pb2'
  # @@protoc_insertion_point(class_scope:history.GetStatisticsRequest)
  })
_sym_db.RegisterMessage(GetStatisticsRequest)

GetStatisticsResponse = _reflection.GeneratedProtocolMessageType('GetStatisticsResponse', (_message.Message,), {
  'DESCRIPTOR' : _GETSTATISTICSRESPONSE,
  '__module__' : 'get_statistics_pb2'
  # @@protoc_insertion_point(class_scope:history.GetStatisticsResponse)
  })
_sym_db.RegisterMessage(GetStatisticsResponse)

GetStatisticsResponseWrapper = _reflection.GeneratedProtocolMessageType('GetStatisticsResponseWrapper', (_message.Message,), {
  'DESCRIPTOR' : _GETSTATISTICSRESPONSEWRAPPER,
  '__module__' : 'get_statistics_pb2'
  # @@protoc_insertion_point(class_scope:history.GetStatisticsResponseWrapper)
  })
_sym_db.RegisterMessage(GetStatisticsResponseWrapper)


# @@protoc_insertion_point(module_scope)

<filename>inspection_sdk/api/history/get_statistics_pb2.py
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: get_statistics.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 inspection_sdk.model.inspection import host_pb2 as inspection__sdk_dot_model_dot_inspection_dot_host__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='get_statistics.proto',
  package='history',
  syntax='proto3',
  serialized_options=None,
  serialized_pb=_b('\n\x14get_statistics.proto\x12\x07history\x1a*inspection_sdk/model/inspection/host.proto\"7\n\x14GetStatisticsRequest\x12\x10\n\x08pluginId\x18\x01 \x01(\t\x12\r\n\x05jobId\x18\x02 \x01(\t\"\xe3\x01\n\x15GetStatisticsResponse\x12(\n\x04host\x18\x01 \x01(\x0b\x32\x1a.inspection.InspectionHost\x12\x0b\n\x03log\x18\x02 \x01(\t\x12\x10\n\x08totalNum\x18\x03 \x01(\x05\x12\x11\n\tnoticeNum\x18\x04 \x01(\x05\x12\x12\n\nwarningNum\x18\x05 \x01(\x05\x12\x14\n\x0c\x65mergencyNum\x18\x06 \x01(\x05\x12\x11\n\tpassedNum\x18\x07 \x01(\x05\x12\x12\n\ninstanceId\x18\x08 \x01(\t\x12\r\n\x05score\x18\t \x01(\x02\x12\x0e\n\x06status\x18\n \x01(\t\"~\n\x1cGetStatisticsResponseWrapper\x12\x0c\n\x04\x63ode\x18\x01 \x01(\x05\x12\x13\n\x0b\x63odeExplain\x18\x02 \x01(\t\x12\r\n\x05\x65rror\x18\x03 \x01(\t\x12,\n\x04\x64\x61ta\x18\x04 \x01(\x0b\x32\x1e.history.GetStatisticsResponseb\x06proto3')
  ,
  dependencies=[inspection__sdk_dot_model_dot_inspection_dot_host__pb2.DESCRIPTOR,])




_GETSTATISTICSREQUEST = _descriptor.Descriptor(
  name='GetStatisticsRequest',
  full_name='history.GetStatisticsRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='pluginId', full_name='history.GetStatisticsRequest.pluginId', 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='jobId', full_name='history.GetStatisticsRequest.jobId', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=77,
  serialized_end=132,
)


_GETSTATISTICSRESPONSE = _descriptor.Descriptor(
  name='GetStatisticsResponse',
  full_name='history.GetStatisticsResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='host', full_name='history.GetStatisticsResponse.host', 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),
    _descriptor.FieldDescriptor(
      name='log', full_name='history.GetStatisticsResponse.log', 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='totalNum', full_name='history.GetStatisticsResponse.totalNum', index=2,
      number=3, 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='noticeNum', full_name='history.GetStatisticsResponse.noticeNum', index=3,
      number=4, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='warningNum', full_name='history.GetStatisticsResponse.warningNum', index=4,
      number=5, 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='emergencyNum', full_name='history.GetStatisticsResponse.emergencyNum', index=5,
      number=6, 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='passedNum', full_name='history.GetStatisticsResponse.passedNum', index=6,
      number=7, 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='instanceId', full_name='history.GetStatisticsResponse.instanceId', index=7,
      number=8, 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='score', full_name='history.GetStatisticsResponse.score', index=8,
      number=9, type=2, cpp_type=6, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='status', full_name='history.GetStatisticsResponse.status', index=9,
      number=10, 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=135,
  serialized_end=362,
)


_GETSTATISTICSRESPONSEWRAPPER = _descriptor.Descriptor(
  name='GetStatisticsResponseWrapper',
  full_name='history.GetStatisticsResponseWrapper',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='code', full_name='history.GetStatisticsResponseWrapper.code', index=0,
      number=1, 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='codeExplain', full_name='history.GetStatisticsResponseWrapper.codeExplain', 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='error', full_name='history.GetStatisticsResponseWrapper.error', 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='data', full_name='history.GetStatisticsResponseWrapper.data', index=3,
      number=4, 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=364,
  serialized_end=490,
)

_GETSTATISTICSRESPONSE.fields_by_name['host'].message_type = inspection__sdk_dot_model_dot_inspection_dot_host__pb2._INSPECTIONHOST
_GETSTATISTICSRESPONSEWRAPPER.fields_by_name['data'].message_type = _GETSTATISTICSRESPONSE
DESCRIPTOR.message_types_by_name['GetStatisticsRequest'] = _GETSTATISTICSREQUEST
DESCRIPTOR.message_types_by_name['GetStatisticsResponse'] = _GETSTATISTICSRESPONSE
DESCRIPTOR.message_types_by_name['GetStatisticsResponseWrapper'] = _GETSTATISTICSRESPONSEWRAPPER
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

GetStatisticsRequest = _reflection.GeneratedProtocolMessageType('GetStatisticsRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETSTATISTICSREQUEST,
  '__module__' : 'get_statistics_pb2'
  # @@protoc_insertion_point(class_scope:history.GetStatisticsRequest)
  })
_sym_db.RegisterMessage(GetStatisticsRequest)

GetStatisticsResponse = _reflection.GeneratedProtocolMessageType('GetStatisticsResponse', (_message.Message,), {
  'DESCRIPTOR' : _GETSTATISTICSRESPONSE,
  '__module__' : 'get_statistics_pb2'
  # @@protoc_insertion_point(class_scope:history.GetStatisticsResponse)
  })
_sym_db.RegisterMessage(GetStatisticsResponse)

GetStatisticsResponseWrapper = _reflection.GeneratedProtocolMessageType('GetStatisticsResponseWrapper', (_message.Message,), {
  'DESCRIPTOR' : _GETSTATISTICSRESPONSEWRAPPER,
  '__module__' : 'get_statistics_pb2'
  # @@protoc_insertion_point(class_scope:history.GetStatisticsResponseWrapper)
  })
_sym_db.RegisterMessage(GetStatisticsResponseWrapper)


# @@protoc_insertion_point(module_scope)

# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler.  DO NOT EDIT! # source: get_statistics.proto # @@protoc_insertion_point(imports) # @@protoc_insertion_point(class_scope:history.GetStatisticsRequest) # @@protoc_insertion_point(class_scope:history.GetStatisticsResponse) # @@protoc_insertion_point(class_scope:history.GetStatisticsResponseWrapper) # @@protoc_insertion_point(module_scope)