# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: strmprivacy/api/metrics/v1/metrics.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 google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='strmprivacy/api/metrics/v1/metrics.proto',
  package='strmprivacy.api.metrics.v1',
  syntax='proto3',
  serialized_options=b'\n\035io.strmprivacy.api.metrics.v1P\001ZCgithub.com/strmprivacy/api-definitions-go/v2/api/metrics/v1;metrics',
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n(strmprivacy/api/metrics/v1/metrics.proto\x12\x1astrmprivacy.api.metrics.v1\x1a\x1fgoogle/api/field_behavior.proto\"\x17\n\x15GetSystemStateRequest\"]\n\x16GetSystemStateResponse\x12\x43\n\roverall_state\x18\x01 \x01(\x0e\x32\'.strmprivacy.api.metrics.v1.SystemStateB\x03\xe0\x41\x03*S\n\x0bSystemState\x12\x1c\n\x18SYSTEM_STATE_UNSPECIFIED\x10\x00\x12\x06\n\x02UP\x10\x01\x12\x0e\n\nMAJOR_DOWN\x10\x02\x12\x0e\n\nMINOR_DOWN\x10\x03\x32\x89\x01\n\x0eMetricsService\x12w\n\x0eGetSystemState\x12\x31.strmprivacy.api.metrics.v1.GetSystemStateRequest\x1a\x32.strmprivacy.api.metrics.v1.GetSystemStateResponseBf\n\x1dio.strmprivacy.api.metrics.v1P\x01ZCgithub.com/strmprivacy/api-definitions-go/v2/api/metrics/v1;metricsb\x06proto3'
  ,
  dependencies=[google_dot_api_dot_field__behavior__pb2.DESCRIPTOR,])

_SYSTEMSTATE = _descriptor.EnumDescriptor(
  name='SystemState',
  full_name='strmprivacy.api.metrics.v1.SystemState',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='SYSTEM_STATE_UNSPECIFIED', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='UP', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='MAJOR_DOWN', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='MINOR_DOWN', index=3, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=225,
  serialized_end=308,
)
_sym_db.RegisterEnumDescriptor(_SYSTEMSTATE)

SystemState = enum_type_wrapper.EnumTypeWrapper(_SYSTEMSTATE)
SYSTEM_STATE_UNSPECIFIED = 0
UP = 1
MAJOR_DOWN = 2
MINOR_DOWN = 3



_GETSYSTEMSTATEREQUEST = _descriptor.Descriptor(
  name='GetSystemStateRequest',
  full_name='strmprivacy.api.metrics.v1.GetSystemStateRequest',
  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=105,
  serialized_end=128,
)


_GETSYSTEMSTATERESPONSE = _descriptor.Descriptor(
  name='GetSystemStateResponse',
  full_name='strmprivacy.api.metrics.v1.GetSystemStateResponse',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='overall_state', full_name='strmprivacy.api.metrics.v1.GetSystemStateResponse.overall_state', index=0,
      number=1, 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=b'\340A\003', 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=130,
  serialized_end=223,
)

_GETSYSTEMSTATERESPONSE.fields_by_name['overall_state'].enum_type = _SYSTEMSTATE
DESCRIPTOR.message_types_by_name['GetSystemStateRequest'] = _GETSYSTEMSTATEREQUEST
DESCRIPTOR.message_types_by_name['GetSystemStateResponse'] = _GETSYSTEMSTATERESPONSE
DESCRIPTOR.enum_types_by_name['SystemState'] = _SYSTEMSTATE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

GetSystemStateRequest = _reflection.GeneratedProtocolMessageType('GetSystemStateRequest', (_message.Message,), {
  'DESCRIPTOR' : _GETSYSTEMSTATEREQUEST,
  '__module__' : 'strmprivacy.api.metrics.v1.metrics_pb2'
  # @@protoc_insertion_point(class_scope:strmprivacy.api.metrics.v1.GetSystemStateRequest)
  })
_sym_db.RegisterMessage(GetSystemStateRequest)

GetSystemStateResponse = _reflection.GeneratedProtocolMessageType('GetSystemStateResponse', (_message.Message,), {
  'DESCRIPTOR' : _GETSYSTEMSTATERESPONSE,
  '__module__' : 'strmprivacy.api.metrics.v1.metrics_pb2'
  # @@protoc_insertion_point(class_scope:strmprivacy.api.metrics.v1.GetSystemStateResponse)
  })
_sym_db.RegisterMessage(GetSystemStateResponse)


DESCRIPTOR._options = None
_GETSYSTEMSTATERESPONSE.fields_by_name['overall_state']._options = None

_METRICSSERVICE = _descriptor.ServiceDescriptor(
  name='MetricsService',
  full_name='strmprivacy.api.metrics.v1.MetricsService',
  file=DESCRIPTOR,
  index=0,
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_start=311,
  serialized_end=448,
  methods=[
  _descriptor.MethodDescriptor(
    name='GetSystemState',
    full_name='strmprivacy.api.metrics.v1.MetricsService.GetSystemState',
    index=0,
    containing_service=None,
    input_type=_GETSYSTEMSTATEREQUEST,
    output_type=_GETSYSTEMSTATERESPONSE,
    serialized_options=None,
    create_key=_descriptor._internal_create_key,
  ),
])
_sym_db.RegisterServiceDescriptor(_METRICSSERVICE)

DESCRIPTOR.services_by_name['MetricsService'] = _METRICSSERVICE

# @@protoc_insertion_point(module_scope)
