# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: MetricsService.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import enum_type_wrapper
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 . import ErrorMessages_pb2 as ErrorMessages__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='MetricsService.proto',
  package='xgt',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x14MetricsService.proto\x12\x03xgt\x1a\x13\x45rrorMessages.proto\"\x16\n\x14MetricsStatusRequest\"Z\n\x15MetricsStatusResponse\x12\x19\n\x05\x65rror\x18\x01 \x03(\x0b\x32\n.xgt.Error\x12&\n\x06status\x18\x02 \x01(\x0e\x32\x16.xgt.MetricsStatusEnum\"\x15\n\x13\x43learMetricsRequest\"1\n\x14\x43learMetricsResponse\x12\x19\n\x05\x65rror\x18\x01 \x03(\x0b\x32\n.xgt.Error*l\n\x11MetricsStatusEnum\x12\x1a\n\x16UNKNOWN_METRICS_STATUS\x10\x00\x12\x15\n\x11METRICS_COMPLETED\x10\x01\x12\x13\n\x0fMETRICS_RUNNING\x10\x02\x12\x0f\n\x0bMETRICS_OFF\x10\x03\x32\xa4\x01\n\x0eMetricsService\x12K\n\x10GetMetricsStatus\x12\x19.xgt.MetricsStatusRequest\x1a\x1a.xgt.MetricsStatusResponse\"\x00\x12\x45\n\x0c\x43learMetrics\x12\x18.xgt.ClearMetricsRequest\x1a\x19.xgt.ClearMetricsResponse\"\x00\x62\x06proto3'
  ,
  dependencies=[ErrorMessages__pb2.DESCRIPTOR,])

_METRICSSTATUSENUM = _descriptor.EnumDescriptor(
  name='MetricsStatusEnum',
  full_name='xgt.MetricsStatusEnum',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UNKNOWN_METRICS_STATUS', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='METRICS_COMPLETED', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='METRICS_RUNNING', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='METRICS_OFF', index=3, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=240,
  serialized_end=348,
)
_sym_db.RegisterEnumDescriptor(_METRICSSTATUSENUM)

MetricsStatusEnum = enum_type_wrapper.EnumTypeWrapper(_METRICSSTATUSENUM)
UNKNOWN_METRICS_STATUS = 0
METRICS_COMPLETED = 1
METRICS_RUNNING = 2
METRICS_OFF = 3



_METRICSSTATUSREQUEST = _descriptor.Descriptor(
  name='MetricsStatusRequest',
  full_name='xgt.MetricsStatusRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=50,
  serialized_end=72,
)


_METRICSSTATUSRESPONSE = _descriptor.Descriptor(
  name='MetricsStatusResponse',
  full_name='xgt.MetricsStatusResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='error', full_name='xgt.MetricsStatusResponse.error', 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),
    _descriptor.FieldDescriptor(
      name='status', full_name='xgt.MetricsStatusResponse.status', index=1,
      number=2, type=14, cpp_type=8, 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,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=74,
  serialized_end=164,
)


_CLEARMETRICSREQUEST = _descriptor.Descriptor(
  name='ClearMetricsRequest',
  full_name='xgt.ClearMetricsRequest',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=166,
  serialized_end=187,
)


_CLEARMETRICSRESPONSE = _descriptor.Descriptor(
  name='ClearMetricsResponse',
  full_name='xgt.ClearMetricsResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='error', full_name='xgt.ClearMetricsResponse.error', 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=189,
  serialized_end=238,
)

_METRICSSTATUSRESPONSE.fields_by_name['error'].message_type = ErrorMessages__pb2._ERROR
_METRICSSTATUSRESPONSE.fields_by_name['status'].enum_type = _METRICSSTATUSENUM
_CLEARMETRICSRESPONSE.fields_by_name['error'].message_type = ErrorMessages__pb2._ERROR
DESCRIPTOR.message_types_by_name['MetricsStatusRequest'] = _METRICSSTATUSREQUEST
DESCRIPTOR.message_types_by_name['MetricsStatusResponse'] = _METRICSSTATUSRESPONSE
DESCRIPTOR.message_types_by_name['ClearMetricsRequest'] = _CLEARMETRICSREQUEST
DESCRIPTOR.message_types_by_name['ClearMetricsResponse'] = _CLEARMETRICSRESPONSE
DESCRIPTOR.enum_types_by_name['MetricsStatusEnum'] = _METRICSSTATUSENUM
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

MetricsStatusRequest = _reflection.GeneratedProtocolMessageType('MetricsStatusRequest', (_message.Message,), {
  'DESCRIPTOR' : _METRICSSTATUSREQUEST,
  '__module__' : 'MetricsService_pb2'
  # @@protoc_insertion_point(class_scope:xgt.MetricsStatusRequest)
  })
_sym_db.RegisterMessage(MetricsStatusRequest)

MetricsStatusResponse = _reflection.GeneratedProtocolMessageType('MetricsStatusResponse', (_message.Message,), {
  'DESCRIPTOR' : _METRICSSTATUSRESPONSE,
  '__module__' : 'MetricsService_pb2'
  # @@protoc_insertion_point(class_scope:xgt.MetricsStatusResponse)
  })
_sym_db.RegisterMessage(MetricsStatusResponse)

ClearMetricsRequest = _reflection.GeneratedProtocolMessageType('ClearMetricsRequest', (_message.Message,), {
  'DESCRIPTOR' : _CLEARMETRICSREQUEST,
  '__module__' : 'MetricsService_pb2'
  # @@protoc_insertion_point(class_scope:xgt.ClearMetricsRequest)
  })
_sym_db.RegisterMessage(ClearMetricsRequest)

ClearMetricsResponse = _reflection.GeneratedProtocolMessageType('ClearMetricsResponse', (_message.Message,), {
  'DESCRIPTOR' : _CLEARMETRICSRESPONSE,
  '__module__' : 'MetricsService_pb2'
  # @@protoc_insertion_point(class_scope:xgt.ClearMetricsResponse)
  })
_sym_db.RegisterMessage(ClearMetricsResponse)



_METRICSSERVICE = _descriptor.ServiceDescriptor(
  name='MetricsService',
  full_name='xgt.MetricsService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=351,
  serialized_end=515,
  methods=[
  _descriptor.MethodDescriptor(
    name='GetMetricsStatus',
    full_name='xgt.MetricsService.GetMetricsStatus',
    index=0,
    containing_service=None,
    input_type=_METRICSSTATUSREQUEST,
    output_type=_METRICSSTATUSRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
  _descriptor.MethodDescriptor(
    name='ClearMetrics',
    full_name='xgt.MetricsService.ClearMetrics',
    index=1,
    containing_service=None,
    input_type=_CLEARMETRICSREQUEST,
    output_type=_CLEARMETRICSRESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_METRICSSERVICE)

DESCRIPTOR.services_by_name['MetricsService'] = _METRICSSERVICE

# @@protoc_insertion_point(module_scope)
